04-01-2008 03:07 PM - edited 04-01-2008 03:09 PM
04-02-2008 10:14 PM
Hi d1sturban
Thank you for using our discussion forums.
It is difficult to tell why you are getting this error without knowing some additional information. What DAQ device are you using? Ensure that this particular property is supported by this card. This information can be found in the DAQmx help file.
In the screen shot you posted it is not possible to tell if you have started the task. The error tells us that this property can only be read while the task is running. On the same not from you description, do you get this error on the first call to this property node or do you get is on the second call. You can check this using the highlight execute or breakpoints.
Let me know how these steps turn out and if you are still seeing this error I can continue to troubleshoot the issue.
Chris_K
04-03-2008 01:14 PM - edited 04-03-2008 01:20 PM
04-04-2008 03:28 PM
Hi d1sturban
You are correct, the 4462 does support this feature, and as you mentioned the error tells us that the task is stopped when you are trying to read this property.
It sounds like there is quite a bit going on in your application so it might be difficult to determine exactly how to get away from this error. I am going to suggest trying a simple analog input example, no sample clocks or triggers, and place this property node in the example and see if you can read it. Then start building more complexity into the example. For instance start with a continuous acquisition, then change it to a finite acquisition such as you already have. Then start adding other aspects such as your triggers. This will allow you to find exactly what part of your program is causing this to happen.
Another approach to this would be to simplify your existing however this may be more difficult.
Chris_K