02-25-2008 07:42 AM
02-25-2008 08:10 AM
You might want to look at some of the examples in help for the task you are trying to do. Take a look at “Cont Acq&Graph Voltage - Write Data to File (TDMS).vi” and see if that (or one of its relatives) is helpful for your application. Some other thoughts:
You can get rid of the loop to create virtual channels, just pass your list of physical channels in (as they do in the referenced VI above) to create the channels.
You might want to consider laying out your application so that wiring goes from left to right, top to bottom. LabVIEW certainly does not execute anything in this order (execution order is based on data dependency) but it will be generally more readable to the community of developers you may encounter.
Remember too, even though you use the timed loop structure, the lack of deterministic control in Windows will not guarantee an iteration every ms. At best, you may get around 50ms resolution.
-cb
02-25-2008 08:18 AM
02-25-2008 10:08 AM
02-25-2008 10:16 AM
02-25-2008 10:34 AM
02-25-2008 10:41 AM
02-25-2008 12:17 PM
02-25-2008 12:47 PM
02-25-2008 02:00 PM