LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

design pattern for my application

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

0 Kudos
Message 1 of 3
(2,208 Views)

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

Regards,
Srikrishna


0 Kudos
Message 2 of 3
(2,200 Views)

@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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,156 Views)