LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why is the task reference id always blank?

Hello,

 

I cannot figure out why the DAQ I/O indicator called AIN task reference id out, is always blank.  After the attached bit of code, and somewhere else in my huge body of code, I call DAQmx Read.vi, and feed value of this AIN task reference id out, into it.  I actually get the data back from the board.  While I'm glad I get the data from the board, I cannot figure out why the id is blank.

 

Once, while the hardware was running continuously for weeks, analog input data stopped coming back to my software ... that's another story.  I thought if I could track the task reference id, it would be a good start.

 

Thanks ahead of time for any help.

 

Download All
0 Kudos
Message 1 of 2
(3,161 Views)

Task ID controls / indicators do not have a visual representation, largely because there's nothing for the user to sensibly edit.  You can't just type in a new ID number and have it mean anything.

 

If you want to see the number, put a PROBE on the wire going to the indicator.  You can see a number there (0 = no task).

 

Consider adding your case to this idea and voting for it.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 2
(3,017 Views)