LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Executable digital I/O problem

I am attempting deploy an executable which uses some digital and analog I/O. My hardware is all working and my analog and temperature cards are working. I don't think I have the task created correctly to utilize the digital input card or the digital output card. 

 

In my block diagram, I used the daq assistant to run the I/O. When the hardware is connected to my PC everything works. When connected to the deployed PC the digitals do not work. Is there something else I need to do to initiate the task on the deployed pc, and is it done in NI Max or in the block diagram of the executable?

0 Kudos
Message 1 of 3
(1,182 Views)

Most likely, you problem is that your DIO card is not named that same between your two machines.  You can fix this in MAX.

 

In my opinion, a better option is to not use the DAQ Assistant and use the actual DAQmx API.  Then you can do things like read the port and/or channel name(s) from a configuration file to set up your task.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(1,173 Views)

Excellent, that was the problem. 

 

Thanks

0 Kudos
Message 3 of 3
(1,144 Views)