LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid DAQmx task in PXI startup executable

I'm using a PXI-8196 with an M Series Card (PXI-6251). When I run my VI in the development environment (but on the RT target) everything works fine. When I define it as startup executable and reboot the target, the DAQmx tasks are not valid any more. I read out the error with a shared variable so I have it on the host. I get the following error:

Error -200428, Value passed to the Task/Channels In control is invalid. The value must refer to a valid task or valid virtual channels.

The DAQmx versions on the RT target and the host are the same, the drivers for the card are installed. The tasks were debloyed to the target before.
Has somebody an idea what this could be about? Thanks, Dave
0 Kudos
Message 1 of 4
(3,044 Views)
Hi Dave,

There is a known problem with LabVIEW RT 8.0 and DAQmx 8.0.

Do you have this version? if yes you can download the NI-DAQmx 8.2 on the NI web page and try to solve your problem with this version.

http://digital.ni.com/softlib.nsf/websearch/7FEAEE6A4B4AA836862571C00064E6CA?OpenDocument

I hope that can help you.

Have a great day.

Matthieu
0 Kudos
Message 2 of 4
(3,028 Views)
Hi Dave,

The last version is the DAQmx 8.3 (distort key).
Sorry :-))

Matthieu
0 Kudos
Message 3 of 4
(3,027 Views)

Thanks for the tip. Since I created my tasks programmatically (and not with the task wizard) everything works fine.

Dave

0 Kudos
Message 4 of 4
(2,961 Views)