cancel
Showing results for 
Search instead for 
Did you mean: 

Visa Alias

Iñaki
Member

Visa Alias

Hello Board,
 
Does anyone of you know if it is possble to change programatically the VISA aliases in LV7.1?
 
Thanx
 
 
4 REPLIES 4
Robert M
Active Participant

Re: Visa Alias

Ek Balam,

Unfortunately I don't think this is possible.  Out of curiosity, why would you want to?

Thanks,
Robert Mortensen
Software Engineer
National Instruments
Highlighted
Iñaki
Member

Re: Visa Alias

I am developing my applications on my PC (LabView & TestStand), where I have changed the visa aliases manually, and I want to deploy them to several Test Stations. When running them in a test station I have to reassign the alias to a given GPIBaddress which some times changes depending on the test station.
 
What I wanted to do in my TestStand sequence Locals is to build a simple table specifying InstrumentName - GPIBAddress of the instruments so that I can create customizable Sequences for every test station (knowing the instruments and GPIB addresses) without having to go to NIMAX and change them locally, but I guess that's the only way to do it.
 
Thanks a lot for your reply.
 
Regards
Henrik_Volkers
Trusted Enthusiast

Re: Visa Alias

The alias names are stored in the visaconf.ini  (on my PC located at C:\VXIPNP\WinNT\NIvisa) just have a look inside. 

Section [ALIASES]

It should be possible to use the vis to handle ini-files for your changes. You might need a reboot.

 

I'm not shure if that is a recommended way of changing the alias, however we did that for the same propose, but the changes were done by our netinstaller without NI software running and it worked fine.  

And don't forget to correct the key: NumAliases

Message Edited by Henrik Volkers on 03-28-2006 12:57 PM

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Iñaki
Member

Re: Visa Alias

It works great. No PC reboot required, no LabView reinitialization required !!!
 
Thanx

Message Edited by Iñaki on 03-28-2006 10:09 AM