05-31-2007 11:16 AM
05-31-2007 01:52 PM
06-01-2007 05:18 AM
The attachments are my vi file and sampled data. 10 Hz square wave produced from a function generator is fed to analog 1, but the results seems quite strange.
Any help is greatly appreciated.
win2s
06-01-2007 08:16 AM
06-01-2007 10:56 AM
Don't use the "elapsed time" express VI for precision timings. It seems to have limited resolution (internally, it converts a timestamp to DBL).
You can use e.g. the tick count to keep track of the time. See the attached comparison. (still there will always be some subtle differences due to the software timings).
06-01-2007 12:28 PM
06-04-2007 02:39 AM
06-04-2007 08:22 AM
I play further with this vi code, and found:
The sampled data largely depend on the sample rate which is set at DAQmx Timing. In case the rate is set larger than 63kS/s, there will be no data in the text file. Smaller the rate is, the better results man could get, i.e. when I set the sample rate at 1kS/s, mostly the result seems loyal to the voltage curve generated from a function generator. Another weird thing which comes to pass is that sometimes the beginning data are compressed no matter whether rate is set small or large, but some times it dosn't happen.
My computer is quipped with usb2.0 and usb1.0/1.1, when I plug the usb6211 into the 1.0/1.1 socket, the computer can identify it, but the computer fails to identify if it is connected to 2.0 socket. In the control panel, the driver to the usb advanced hostcontroller is there. The driver for usb6211 has been surely installed for it seems to work properly with usb1.0/1.1 interface. How could I put it straight?
Any advice is greatly appreciated,
win2s