From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

configuring channel names at runtime?

Does anybody know of a way to set up channel names for a DAQ device
other than with the Measurment & Automation explorer? I was hoping to
set up the channel names with some sort of configuration file but I
don't see any way to do this. If our test programs are ported to
another PXI system do we have to re-configure all of the channel names
with Meas & Automation explorer? Ideally I would want to use a file
and have the channel names set up at run time.
Thanks for the help.
Mike
0 Kudos
Message 1 of 4
(2,546 Views)
Hi Mike,

i don't know if it is possible. The way i exchange daq settings between
different computers is to export the actual configuration from MAX into a
daqfile. This one you can copy to another computer or use it as a backup
solution. From MAX you can import this file and you will get the same
configuration settings.

greets
Henrik

"Mike" schrieb im Newsbeitrag
news:38d808da.0201151310.14a1028a@posting.google.com...
> Does anybody know of a way to set up channel names for a DAQ device
> other than with the Measurment & Automation explorer? I was hoping to
> set up the channel names with some sort of configuration file but I
> don't see any way to do this. If our test programs are ported to
> another PXI system do we have to r
e-configure all of the channel names
> with Meas & Automation explorer? Ideally I would want to use a file
> and have the channel names set up at run time.
> Thanks for the help.
> Mike
0 Kudos
Message 2 of 4
(2,545 Views)
Mashman,

You could save your MAX configuration for the Daq Boards and also for the virtual channels in a .daq file and then distribute that file to the other computers.

The way to do this would be:

1. Configure Devices, Virtual Channels, etc.
2. Go to Tools>>NI-DAQ Configuration>>Save Configuration As...
3. Copy that file to the other computers (NOTE: All the computers need to have the same version of NI-DAQ)
4. Go to MAX>>Tools>>NI-DAQ Configuration>>Set Active Configuration.

Good luck with your application!
0 Kudos
Message 3 of 4
(2,545 Views)
michael_ashman@instron.com (Mike) wrote in message news:<38d808da.0201151310.14a1028a@posting.google.com>...
> Does anybody know of a way to set up channel names for a DAQ device
> other than with the Measurment & Automation explorer? I was hoping to
> set up the channel names with some sort of configuration file but I
> don't see any way to do this. If our test programs are ported to
> another PXI system do we have to re-configure all of the channel names
> with Meas & Automation explorer? Ideally I would want to use a file
> and have the channel names set up at run time.
> Thanks for the help.
> Mike

Thanks for the advice. I found a VI on the NI website called Change
NI-DAQ config file which I can use to change the config file at
runtime so I will not be able to c
onfig the channels at runtime but at
least I can change config files.
0 Kudos
Message 4 of 4
(2,545 Views)