LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Distributed computing

Lee,

 

OK.  So it takes the instrument about 0.4 seconds to send 10000 bytes.   Since the data sets are about 50000 bytes, the total time to transmit one data set should be around 2 seconds.  No matter what you do to the program you cannot get to less than that because the instrument is the constraining factor.  If the instrument requires time between scans, that time would need to be added.

 

One thing you can do is to move to a Producer/Consumer architecture.  The Producer is a loop which simply reads the data from the instrument and puts it into a queue.  The Consumer is a parallel loop which removes the data from the queue and does the conversion from string to numeric, displays data, saves it to files, and anything else you might need to do with it. This can be done on a single computer and likely will be able to keep up with the data.  There are examples of this Design Pattern which come with LV.

 

Lynn 

0 Kudos
Message 21 of 24
(1,137 Views)

Lynn ,

can you tell me a bit more about  roducer/Consumer architecture? i can't find these functions anywhere in the labview search.

Lee

0 Kudos
Message 22 of 24
(1,125 Views)

lee40002 wrote:

Lynn ,

can you tell me a bit more about  roducer/Consumer architecture? i can't find these functions anywhere in the labview search.

Lee


http://zone.ni.com/devzone/cda/tut/p/id/3023

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 23 of 24
(1,122 Views)

Lee,

 

In LabVIEW  File >> New...   >> VI >> From Template >> Frameworks >> Design Patterns >> Producer/Consumer ....

 

Lynn 

0 Kudos
Message 24 of 24
(1,111 Views)