LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx physical channel error message

Hi,
 
I am new to Labview but I managed to create a new analogue voltage input task in Measurement and Automation Explorer. I am using DAQmx create virtual channel VI but  I am getting an error message saying that "required input physical channel is not wired". Any idea why I am getting this error message. Also what is the difference between using DAQmx Assistant and using VI's like DAQmx create virtual channel, DAQmx timing etc.Any help is appreciated.
 
Thanks
 
Duran
0 Kudos
Message 1 of 5
(3,429 Views)
The first VI 'Create Virtual Cannel' has an input called physical channel. This needs an input. Right click on the terminal and select Create>Constant. Then you can select the channel (something like Dev1/ai0).
To your 2nd Q: The assistant is a fast way to configure your measurement. You can later also convert it to the VIs you use now. Using the VIs gives you full programmatically control of the task. (The meaningful phrases are 'configure' and 'full programmatically').

Felix
0 Kudos
Message 2 of 5
(3,420 Views)
You don't need to use the DAQmx Create Channel if you have an existing task with channels defined. You would only use this if you want to add channels to an existing task or if you wanted to not use an existing task at all and define everything in the VI. Personally, I create the task in the VI and then I don't have to worry about what is or isn't defined in MAX.
0 Kudos
Message 3 of 5
(3,420 Views)

Hi Felix

 

Thanks for your help, another question I want ask is how do you convert the assistant into VI's.

 

Regards

Duran

0 Kudos
Message 4 of 5
(3,398 Views)
Right-click on it and select Open Front Panel. On the Blockdiagram you now see all the VIs used for that Configuration.

Felix
0 Kudos
Message 5 of 5
(3,387 Views)