09-28-2006 04:54 AM
09-28-2006 09:02 AM
09-28-2006 09:30 AM
09-28-2006 09:35 AM
09-28-2006 09:58 AM
09-28-2006 10:21 AM
This VI is as optimized as you can make it. There is no way to speed up the Initiate Acquisition call, aside from using a faster computer. If you need faster rearm times, I recommend using a board which supports multi-record acquisitions.
The 5114 and the 5105 are the most comparable in price to the 5102. These digitizers offer higher sampling rates, and more features than the 5102.
Let me know if you have any further questions.
Regards,
Sean Close
09-28-2006 01:28 PM
09-29-2006 09:45 AM - edited 09-29-2006 09:45 AM
Hi Matthew,
One thing that might help speed up your code would be to remove the Array indexing from your while loop. With this in place, LabVIEW has to reallocate memory as the array size increases. Try disabling the indexing in your while loop (right click the data tunnel, select Disable Indexing). Does this improve the speed of the loop? If so, then we can optimize your code by initializing a large array first and filling it as you iterate through the loop. This works best with an array of binary data. Take a look at the attached code.
I hope this helps.
Regards,
Sean Close
Message Edited by Sean C. on 09-29-2006 10:01 AM
Message Edited by Sean C. on 09-29-2006 10:01 AM