LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read MAX configuration file programatically in LabVIEW?

I searched this forum, but not able to get the desired result. Smiley Sad

 

Is there any VI available to do this straight?

 

I could find only MAX Copy Configuration.vi in the Measurement & Automation Explorer palette.

- Partha ( CLD until Oct 2027 🙂 )
Message 1 of 15
(6,536 Views)

Hey,

 

You find two VIs under the Measurement I/O > MAX Configuration Palette, but it's only to copy a configuration or to generate an report.

 

 

Christian

Message Edited by Christian_M on 08-26-2008 04:12 AM
Message 2 of 15
(6,528 Views)

What is the exact purpose of your reply?

 

I ve already mentioned that, "I could find only MAX Copy Configuration.vi in the Measurement & Automation Explorer palette", meaning that I dont "see" any other Vi related to the reading of the MAX Configuration File.

 

I think you ve misunderstood my words a bit by taking the word "only" as, I could "see" only one VI in my MAX palette.

- Partha ( CLD until Oct 2027 🙂 )
Message 3 of 15
(6,518 Views)

Oooops, I think I'm reading to fast.

 

However, there is a way using acitveX to call the Configuration Import Wizard programmatically. The attached zip file contains the MAX_ActiveX.vi which shows how to use it.

 

Explanation from the one who devoloped it: 

 The ActiveX method accepts a user defined path and file name but the user must press "enter" three times to complete the process. To make this program truly hands free, the attached VI has a sequence structure which accesses system32.dll to simulate three "enter" keystrokes. Based on the system you must adjust the delay between the keystrokes. The ActiveX class MXCTRLLib.ImxConfiguration can be found under the type library National Instruments MaxCtrl 1.1 Version 1.1.

 

Christian

 

Message 4 of 15
(6,499 Views)

Hi Christian,

 

Thanks for your VIs. But what I want to do exactly is read the Devices listed out in MAX programatically from LabVIEW.

I dont understand how your ActiveX code works/will work in my case actually.

 

Moreover, are there 2 types of MAX configuration files, viz, .nce & .iak files? Please clarify me reg this also...

- Partha ( CLD until Oct 2027 🙂 )
Message 5 of 15
(6,467 Views)

Hey,

 

You can get Information about the installed or simulated devices with the System and Device Property Nodes. You find them under DAQmx>Advanced>System Setup

 

Christian

Message 6 of 15
(6,461 Views)
Will it give only the list of DAQmx devices or also others like PXI, PXIe ?
- Partha ( CLD until Oct 2027 🙂 )
Message 7 of 15
(6,456 Views)

hI PARTHA,

                   Can you tell us what devices do you actually want to detect and list?

0 Kudos
Message 8 of 15
(6,441 Views)

Hi Muks,

 

I need to query for all the available devices programatically thro' LabVIEW.

 

I may not be knowing the actual available devices, because they will be installed only in the customer's place & we dont have the privelege of having them at our development location.

 

There may be DAQmx, PXI & PXIe devices in the chassis.

- Partha ( CLD until Oct 2027 🙂 )
Message 9 of 15
(6,435 Views)

There may be DAQmx, PXI & PXIe devices in the chassis.

So you want a virtual device manager to be simulated. I havent tried it.Let me dig a little and get back

0 Kudos
Message 10 of 15
(6,431 Views)