05-19-2014 11:47 PM
Dear sir,
We are making an vision application, where up on obtaining UART commands from other sub unit we need to enter in to specific image processing functions(6 functions).
So kindly let us know which labview design pattern can we use out of Master/slave, producer/consumer(Data), producer/consumer(Events), Qued message handler, standard state machine and User interface event handler design patterns.
Thanks in advance,
With regrads,
Sri
05-19-2014 11:56 PM
Hi SriSwati,
You can use the Master Slave architecture,where your master will be getting UART commands and buffer those commands and the slave will read the buffer and do the image processing functions accordingly.
Please refer this white paper http://www.ni.com/white-paper/3022/en/
Regards,
SrikrishnaNF
05-20-2014 07:01 AM
@srikrishnaNF wrote:
Hi SriSwati,
You can use the Master Slave architecture,where your master will be getting UART commands and buffer those commands and the slave will read the buffer and do the image processing functions accordingly.
Please refer this white paper http://www.ni.com/white-paper/3022/en/
Regards,
SrikrishnaNF
Master/Slave doesn't buffer. You only get the latest command since it uses Notifiers. If you need to process all commands, then you need the Producer/Consumer, since it uses queues.