06-02-2008 04:30 PM
06-04-2008 05:13 AM
Hi,
I checked the attached code and I have few recommendations. If I got your application right, you really don't need that event driven/trigger use. Since you are supplying the voltage to the accelerometer, you can set a daqmx output task, and then set an input task that starts after that to start acquiring the data.
The USB 6212 has an absolute accuracy of 2.69 microVolts at the 10 V range. The 6212 can also provide different voltage range measurments. For more information on that check page 4 of the specifications manual.
As far as creating different file names for different acquisitions. I think the best way to do that is to create a control for the file path. Then create a local variable for that control. After each acquisition, you can set a new name for that control. For more info on local variables check the help file.
Faris A