08-26-2008 03:20 AM
I searched this forum, but not able to get the desired result.
Is there any VI available to do this straight?
I could find only MAX Copy Configuration.vi in the Measurement & Automation Explorer palette.
08-26-2008 04:11 AM - edited 08-26-2008 04:12 AM
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
08-26-2008 04:24 AM
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.
08-26-2008 05:02 AM
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
08-26-2008 11:54 PM
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...
08-27-2008 01:06 AM
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
08-27-2008 01:54 AM
08-27-2008 04:01 AM
hI PARTHA,
Can you tell us what devices do you actually want to detect and list?
08-27-2008 05:14 AM
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.
08-27-2008 05:30 AM
So you want a virtual device manager to be simulated. I havent tried it.Let me dig a little and get back