09-14-2009 06:17 PM
Hello everyone,
I'm getting a Daq-mx error when I try to run my RT executable on my PXI system. I was previously getting error -50352 when running the executable, and a suggested fix was to upgrade to the latest DAQ-mx drivers (9.0). Did this, and updated my RT target to have the same driver version. Now am getting this message when using the "run as startup" option to deploy my rt executable.
"NI-DAQmx could not deploy the item to the target because a connection could not be made. Deployment can fail due to network failure, NI-DAQmx not being installed on the target, or different versions of NI-DAQmx being installed on the host and target."
This is my current system configuration:
LV8.5
DAQ-mx 9.0.0 (installed on host and pxi)
Controller PXI-8106
PXI-6154
PXI-6624
PXI-6229
NI-MAX 4.6.1f0
Any suggestions would be appreciated.
Thanks!
09-15-2009 11:36 AM - edited 09-15-2009 11:38 AM
09-15-2009 05:44 PM
Hi Will,
Yes, I do recieve the same error when running the VI from the project. The daqmx tasks run from max (as well as the test panels). I have also created a RT new project using the NI project wizard and have been able to deploy succesfully (i didnt create any tasks for this project, just did some basic analog input).
Seems to be something specific to my project and the tasks it calls.
09-16-2009 01:00 PM
09-16-2009 07:45 PM
09-17-2009 01:54 PM
11-10-2009 08:50 PM
Hi there,
sorry for posting into this thread a bit late, but I have exactly the same problems as the original poster. If I generate a RT project with the project wizard and do not modify anything, I can deploy to my RT target without problem. As soon as I add a virtual channel to the project (doesn't seem to matter if input or output channel), the deployment fails with the error described by the OP. I can also work around this by exporting the channel and importing it into MAX.
My software configuration:
LV 8.6 on WinXP SP3
LV RT 8.6 on a desktop target
DAQmx 9.02
MAX 4.6.1f0
If I just use the DAQmx VIs from the functions palette, I can deploy the project without problems.
Regards
Stefan
11-11-2009 03:55 PM
Hi Stefan,
Do you have a simple project that reproduces this? Also, are you adding the virtual channel to the Host (My Computer) or the RT target? What is your RT target?
11-11-2009 04:58 PM
Hi Will,
as an example I used the project wizard to create a new Real-Time project with continuous communication architecture, one loop on the target, and a host user interface VI. Deployment of this on my standard desktop target with LabVIEW RT 8.6 works fine. As soon as I add a virtual channel the deployment fails. I have reinstalled the RT target system from scratch, but that did not help. I don't know how to send the project files to you, so I include two screenshots instead.
Let me know if you need anything else to get an idea of what is going on.
Regards
Stefan
11-12-2009 06:08 PM
Hi Stefan,
Do you have the same version of drivers installed on your host and real-time controller?