PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Multiple versions of labview and teststand? and multiple NIMAX .config files

I am working on an operator interface that spans years of software versions for Labview and Teststand. Specifically I will be using code developed in Labview 7.0, 7.1, 8.0 and 8.2. , and Teststand versions 3.1 and 3.5. I will also be using different NIMAX configurations for each test. Is there any way to instruct the computer to open a vi using a specific version of labview, Teststand and a specific NIMAX configuration file? I have a feeling this operator interface is going to have to be developed using visual basic with an excel spreadsheet as the database.
0 Kudos
Message 1 of 2
(3,413 Views)

L_V_Developer, 

 

There are a couple of ways to get LabVIEW and TestStand files to open in specific versions of those programs. As for double-clicking the icon and opening in a specific version there is a KnowledgeBase article on various ways to get this sort of functionality (How Can I Double-Click VIs and Have a Specific Version of LabVIEW Open?).

 

It sounds like you want a more programmatic method of opening a file in a specific version. You may want to make use of command-line calls. For example, if you wanted to open Example.vi in LabVIEW 8.2 you could run this command (C:\> C:\Program Files\National Instruments\LabVIEW 8.2\LabVIEW.exe C:\YOUR-VI-PATH\Example.vi). This will open Example.vi with LabVIEW 8.2 assuming LabVIEW 8.2 is installed in its default path.

 

As for your MAX configuration file take a look at this KnowledgeBase (How Can I Load or Change My NI-DAQ Configuration File (*.daq) Programmatically in LabVIEW?) for steps on automating this process using LabVIEW. 

 

Regards,

 

Steven Zittrower

Applications Engineer

National Instruments

http://www.ni.com/support

Message 2 of 2
(3,395 Views)