LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I change computer and the daqmx channel doesn't work

Hi all
 
I'm acquaring with a daqmx channel,
 I created the channel and this one seems work well but, when I try to use the program using an other computer the channel doesn't works. Could you help me? 
How can I do to make a daqmx channel that can work with all computers? 
 
When I will resolve this problem I'd like to compile the program to be able to use the program also with computers that don't have labview installed, do you have any suggestions?
 
Cesco
0 Kudos
Message 1 of 4
(2,411 Views)

How did you 'create the channel'? Do you mean you created a task in MAX? If you did, you can go into MAX and export it and then import it on a different computer. When you build an application, an option when you create an installer is to include the MAX configuration. I personally think it's much simpler to just do everything in LabVIEW. Look at how the shipping examples do it.

You need the professional version of LabVIEW or buy the app builder separately in order to create an exe.

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

Hello

thanks for your answer.

I created a DAQmx channel just in labview (I use this procedure to create the channel: block diagram, all functions, NI measurements, DAQmx, chan, then right click, new channel (daq assistant)).

I'm aquiring from an NI USB 6009   

when I change computer I need to right click again on the chan icone and create a new channel again or click on the arrow of the icon and select another channel. Do you have some suggestions to avoid this and use the same program with different computers?  

Thank you

 

cesco

0 Kudos
Message 3 of 4
(2,378 Views)
What you are doing is creating a global channel and these are stored in MAX. As I said, you can export everything in MAX. when I said do everything in LabVIEW, I should have been clearer. Use a physical channel control/constant in your code and define the channel there. For example, Dev1/ai0.
0 Kudos
Message 4 of 4
(2,374 Views)