Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Global Channels/DAQmx

After a task and scales are created in the Measurement and Automation Explorer from a list of global channels in Measurement and Automation Explorer, is it possible to access the individual global channels in the block diagram so that different scales can be assigned to the global channels based on the requirements of the test ie there are two global channels of pressure transducers and scales for each of 8 transducers (along with other global channels). In the program, I want to select the scale for each transducer based on the transducer installed.
0 Kudos
Message 1 of 3
(2,832 Views)
In the block diagram, drop a channel property node. Wire a control or constant defining the global channel you want to modify and wire it to "ActiveChans", then add another element to that property node and select Analog Input -> Custom Scale Name. Create a constant or control and wire it to this element, and select the custom scale you want to use on the previously defined channel. This will change the custom scale only as long as this task is active. it will not save your changes to the Measurements and Automation Explorer.
0 Kudos
Message 2 of 3
(2,832 Views)
Hey Goulds,

You can also create scales in your program that you can then associate with your global channels. Use the DAQmx Create Scale VI to create the scale programmatically. Next you would use the same approach explained by Quantumbyte and wire the scale out from the DAQmx Create Scale VI into the Custom Scale Name property.

I hope this helps!

Sarah Miracle
National Instruments
0 Kudos
Message 3 of 3
(2,832 Views)