LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX: save VISA settings

Hello,

is there a way to save the VISA settings made with MAX to a file?

I use several devices connected via GPIB. I gave them names and set the parameters like GPIB address. Then I programmed my measurement system using LabView and those predefined channel names. Everything runs fine.
Now my questions are:
What happens if I have to replace the computer because of a defect?
Do I have to make all those settings again? Are they already saved in the LabView program?
What happens if I transfer the program to a computer with different VISA settings?
Where does MAX store all the settings?

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 1 of 2
(2,513 Views)
MAX saves VISA settings such as aliases and the GPIB addresses of the instruments found in a file called visaconf.ini. This can be found in \vxipnp\winnt\nivisa. It's a small file that you can easily back up and save someplace. Putting the file on a different computer will cause no problems unless that system has a different set of instruments or the same instruments have different addresses. I've seen MAX and my LabVIEW programs get pretty confused in situations like this and sometimes what you have to do is delete visaconf.ini and start over.
0 Kudos
Message 2 of 2
(2,504 Views)