LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copying .vis with DAQmx tasks to a new PC

I have to copy .vis to new machines on a regular basis.  When I copy .vis that have DAQmx tasks, the tasks do not copy over.  (i.e. The label is there, but there is no such task on the new machine).  Is there a way to incorporate the task information IN THE .VI such that copying the .vi to a new PC does not require digging through the code to find all the DAQmx tasks to manually recreate them?
 
Thanks,
Sean
 
0 Kudos
Message 1 of 2
(2,592 Views)

Sean,

You have a couple of options.  You can export your DAQmx settings from MAX and import them on the new machine.  This will transfer tasks created in MAX to another machine.

You can also create tasks programatically in your vi.  Most of the DAQmx examples that ship with NI use this method.  The 'create virtual channel.vi' creates a task by default.  There is also an entire subpalette devoted to Task Config/Ctrl the DAQmx palette. 

0 Kudos
Message 2 of 2
(2,588 Views)