05-09-2006 10:38 AM
then, within my VI's whenever I need to toggle a few Digital bits, I would use the Reference Indicator and just use DAQmx Write.
However, this is not working because the task returned out is always empty and get an error -200428 (Invalid task or virtual channel)
I noticed in a seperate VI that if I don't use an indicator and just wire in to the Task In directly it works. Why am I not able to store it into an indicator?
Regards,
Ashm01
05-09-2006 11:02 AM
ashm01,
In
I hope this helps.
-Lorenz
05-09-2006 11:13 AM
05-10-2006 04:21 PM
Hello Ashm01,
I am confused at how you are using an indicator to pass the task reference. Can you post an example of this? Are you using local variables? If you are, it may be possible that the local variable is being overwritten by other portion of your code referencing it.
Generally, the best way to pass information in LabVIEW is to directly wire the task reference to the input terminal.
Regards,
Laura
05-10-2006 11:05 PM