07-17-2008 07:25 AM
07-18-2008 02:14 PM
VPB,
It does not seem like this is the case, but are you making multiple records? Also, did you mean that you are taking 2 samples per channel at 60Hz sampling rate? Could you also attach a screenshot of your code or the file that holds the data values.
07-21-2008 06:53 AM
07-22-2008 10:20 AM
VPB,
I would try changing your analog input sample mode to Continuous instead of Finite. I was not able to reproduce the behavior yet but this should make a difference if you would like to sample continuously.(i.e. no resetting) Also, which version of Signal Express do you have?
07-23-2008 12:46 PM
07-24-2008 10:27 PM
VPB,
Was the error code 200016? If so, this implies that you have a buffer underflow error (i.e. samples no longer available) This issue is usually caused by to slow of a sampling rate and this may be alleviated by making the rate faster. Let me know if this is a wrong interpretation of the error.
07-25-2008 06:57 AM
07-28-2008 01:31 PM
Hi VPB,
The sampling rate represents how often the anlaog to digital conversion takes place per second, and the samples to read represents the number of samples the DAQmx Read VI retrieves each time from the PC buffer. It seems that your sampling rate is not fast enough to keep up with samples being pulled off the buffer. Each channel should have 2 samples available every 33ms (i.e. 2 / 60Hz) after the sampling has begun. This time needs to be decreased to try to alleviate the issue. I would suggest increasing your sampling rate but make sure not to make it that high or you may end up with a buffer overflow instead of an underflow. Try increasing this rate and see what the results are.