LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you add a task for disconnected hardware?

I'm have a Labview 2009 project that contains an existing data acquisition task that includes several analog inputs from a cDAQ1 device.  I'm working on the Labview software, but don't currently have the hardware available.   I need to add an addition channel to this task, but without having the physical hardware connected. 

 

When I attempt to do this in Labview 2009, using DAQ Assistant, the analog channel that I want to add is not displayed as an option to select.  The missing hardware shows (cDAQ1), up in the existing task, and is listed in MAX with a red x next to it because its not connected.    I have a separate task that used simulated channels, so I'm not asking about simulated hardware.

 

I attempted to export the projects DAQ configuration file, edit it, then import it back into the project, but I get an error dialog box when I attempt to do this, Error -201064 occurred at _DAQmxImportConfig.vi", Configuration file is missing the required header fields".    I didn't remove any header fields, but I've had problems with DAQ Import before because of the different file formats for exported files, (see forums under Error -201064).  Unfortunately, the Labview Projects differ from MAX in that it only provides a "text, .txt" export format and that's a problem for importing.

 

 

******************

Nevermind.  I figure out if I manually select the ".ini" file time under Export, (.txt is the default), THEN Export will write to a different format and as long as I edit it correctly, I can then import it back into the project.

 

 

 

 

 

 

 

Message Edited by PointOnePa on 04-25-2010 04:45 PM
Message 1 of 1
(2,534 Views)