06-05-2007 02:14 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,
06-18-2007 08:25 AM
Hello win2k,
Maybe you should read out more than one sample, because when you have a high samplerate and you only read out one sample, you don't get all data. For the time-base it is not so good to use the elapsed time Express VI, this VI has a big overhead and is not good for the performance. I changed your VI so, that you read out many samples at one time and insert the timebase to it. I hope that this is the solution you excpected.
agraf