LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement and Automation Explorer question

In previous versions of Nidaq I used to save sets of channels settings in
*.daq files and load each set as required (the PC had multiple uses with
different sensors connected).
Now with version 6.5 we have this explorer type interface but I don't see a
way of saving different set-ups. Am I missing something obvious or was it
assumed that this multi set-up functionality wasn't required anymore?
0 Kudos
Message 1 of 5
(2,950 Views)
Actually, you can do a Save As and save it under a different filename.
LabVIEW, however, only looks at the file called c:\winnt\niconfig.daq
(or c:\windows\niconfig.daq for win95) for daq configurations.
Therefore, you can save different names for different setups, and just
copy them over this file for LabVIEW to use them.

Mark

In article <8m8rvk$m0d$1@andromeda.camcon.co.uk>,
"Richard Jones" wrote:
> In previous versions of Nidaq I used to save sets of channels settings
in
> *.daq files and load each set as required (the PC had multiple uses
with
> different sensors connected).
> Now with version 6.5 we have this explorer type interface but I don't
see a
> way of saving different set-ups. Am I missing something obvious or was
it
> assum
ed that this multi set-up functionality wasn't required anymore?
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 2 of 5
(2,950 Views)
I had exactly the same question, but one thing still remains unsolved to me.
Does this mean that you always manually have to open a different configuration file if you change from one setup to the other one. Is their really no way to program labview to open the right M&A configuration file?
0 Kudos
Message 3 of 5
(2,949 Views)
If I'm understanding your question correctly there is a way. There is a LabVIEW function called "initilize controller" (it's with all the other motion functions, and there's one for FlexMotion and one for ValueMotion). You can pass that function the setting name that you gave your configuration in Measurement and Automation Explorer.
0 Kudos
Message 4 of 5
(2,949 Views)
Hi Richard

Some older National Instruments Data Acquisition (DAQ) hardware requires an older version of the NI-DAQ driver. The older NI-DAQ drivers use the "NI-DAQ Configuration Utility" to configure the hardware, while newer versions use the "Measurement and Automation Explorer" (MAX). So, if you have no old boards, install the newest NI-DAQ (version 6.9.3). In MAX you can save and set different daq files under "Tools>NI-DAQ Configuration".
You can load the daq file with LV too. If you go to your LabVIEW directory there is a subdirectory from there LabVIEW\vi.lib\daq\dqchnutl.llb\set default DAQ configuration file.vi. Make sure to use this VI before you call any other DAQ VIs (even before any configuration).This VI will make the specified file path or the file pr
ompted for as the default configuration file that LabVIEW would use in that session. You can change the default configuration file back by making another call to this VI.

Luca P.
Application Engineer
National Instruments
Regards,
Luca
0 Kudos
Message 5 of 5
(2,949 Views)