LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx error when deploying to RT

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! 

0 Kudos
Message 1 of 16
(4,604 Views)
Do you receive the same error when you just run the VI from your project?
Have you confirmed proper connectivity with your controller?
Can you run test panels on your DAQmx devices that are in your PXI Chassis in MAX?
Message Edited by Will S. on 09-15-2009 11:38 AM
Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 2 of 16
(4,583 Views)

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.  

0 Kudos
Message 3 of 16
(4,567 Views)
I would suggest disabling individual tasks in your project until you can identify the specific task that is causing the issue. Or is it the act of creating a task that causes the issue?
Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 4 of 16
(4,552 Views)
As a workaround, I have exported the tasks and scales from my project and imported them into NI-Max and deleted all tasks and scales from my project. Seems to work for now, just curious as to why I cant start tasks that are within my project???
0 Kudos
Message 5 of 16
(4,538 Views)
Since you can create new VIs and execute DAQmx tasks within them, it appears that something is amiss with at least one of the tasks you had in this specific VI. In order to find out why I would still suggest attempting to isolate the individual tasks until you find the one causing the error.
Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 6 of 16
(4,521 Views)

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 

 

 

0 Kudos
Message 7 of 16
(4,356 Views)

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?

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 8 of 16
(4,314 Views)

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 

 

project.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

error.png

 

0 Kudos
Message 9 of 16
(4,307 Views)

Hi Stefan,

 

Do you have the same version of drivers installed on your host and real-time controller?

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 10 of 16
(4,289 Views)