06-06-2017 07:54 AM
In my project using NI 9219 card having 4 universal inputs. So each channel is individually selectable for measurement type of voltage, current or resistance. Instead of dedicated type of measurement type for each channel. I want to pro-grammatically change the measurement type of any channel at run time. Say for example:
I want to use 2 channel as voltage and 2 channel as current.
Next run time, I want to use all 4 channel as voltage measurment.
Is it possible without modifying the code? by the way providing an option in front panel.
Solved! Go to Solution.
06-07-2017 12:49 AM
Hello
You can put a simple case structure in beginning of your code, to select virtual channel creation as a voltage input or current input. Every time before starting VI you can select how do you want it to behave.
Attached screenshot should be helpful for you.