03-13-2007 07:18 AM
03-13-2007 07:37 AM
03-13-2007 09:14 AM
Here is the source distribution for the project. I have been running it with a simulated device (inc. in MAX config file). The same problem occurs with simulated and real device.
Craig
03-13-2007 10:25 AM
03-13-2007 11:07 AM
03-13-2007 03:06 PM
Look at the error wire coming out of the DAQmx read VI and you will see that you are getting an error. Therefore you are not getting any data and the chart gets really funky. I am not a DAQ guru but here is what you have configured.
The task is set to sample at 1k with 100 points. Then in the loop you read 1 point every second. So you don't come even close to getting the data out fast enough. I would suggest looking at some of the single point examples and see how they configured the tasks etc. You can also use the DAQ assistant to show you how.