06-01-2010 12:27 PM
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
06-01-2010 01:02 PM
Lynn ,
can you tell me a bit more about roducer/Consumer architecture? i can't find these functions anywhere in the labview search.
Lee
06-01-2010 01:05 PM
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
06-01-2010 01:39 PM
Lee,
In LabVIEW File >> New... >> VI >> From Template >> Frameworks >> Design Patterns >> Producer/Consumer ....
Lynn