ooth Posted May 16, 2007 Report Share Posted May 16, 2007 After I upgraded to LabVIEW 8.2.1 and installed the newest MAX4.2. and NI-VISA4.1, the visaconf.ini was missing. It used to be under C:\VXIPNP\WinNT\NIvisa\ but now it's gone. Just to remind everyone what was in that file, it contained the aliases to the COM ports and other devices: [ALIASES] Alias0 = "'COM1','ASRL1::INSTR'" Alias1 = "'COM2','ASRL2::INSTR'" Alias2 = "'COM3','ASRL3::INSTR'" Alias3 = "'COM4','ASRL4::INSTR'" Alias4 = "'LPT1','ASRL10::INSTR'" NumAliases = 5 So does MAX save the aliases to a different file? I use to dynamically write to this file with LabVIEW so the user could define their own aliases. Is there still a way to create an alias without using MAX? Quote Link to comment
Jim Kring Posted May 16, 2007 Report Share Posted May 16, 2007 QUOTE(ooth @ May 15 2007, 01:43 PM) After I upgraded to LabVIEW 8.2.1 and installed the newest MAX4.2. and NI-VISA4.1, the visaconf.ini was missing. It used to be under C:\VXIPNP\WinNT\NIvisa\ but now it's gone. I upgraded to 8.2.1, recently, and my visaconf.ini is still in the same old location (C:\VXIPNP\WinNT\NIvisa\visaconf.ini). Quote Link to comment
Rolf Kalbermatter Posted May 17, 2007 Report Share Posted May 17, 2007 QUOTE(Jim Kring @ May 15 2007, 04:50 PM) I upgraded to 8.2.1, recently, and my visaconf.ini is still in the same old location (C:\VXIPNP\WinNT\NIvisa\visaconf.ini). It is but it contains almost nothing in comparison to earlier versions. This is with VISA 4.1 and MAX 4.2. Rolf Kalbermatter Quote Link to comment
ooth Posted May 17, 2007 Author Report Share Posted May 17, 2007 QUOTE(Jim Kring @ May 15 2007, 05:50 PM) I upgraded to 8.2.1, recently, and my visaconf.ini is still in the same old location (C:\VXIPNP\WinNT\NIvisa\visaconf.ini). Thanks Jim for letting me know it's still there. I did have some issues when upgrading and it could have been deleted from my computer. Quote Link to comment
TobyD Posted October 28, 2008 Report Share Posted October 28, 2008 QUOTE (ooth @ May 15 2007, 01:43 PM) Is there still a way to create an alias without using MAX? I am resurrecting this thread because I have the same question. I am currently working with LV 8.6 and VISA 4.4 and I would rather not manually configure visa aliases on each machine. Is there an ini file that stores the VISA aliases (I don't have a visaconf.ini file on my machine)? I know I can export my setting in MAX and then import them on each machine, but that is still a time consuming process. I'm also open to other suggestions if there is a better way to manage these settings. -Toby EDIT: I found http://digital.ni.com/public.nsf/allkb/F02B2BF8943A31D786257393005D16F1' target="_blank">this article on ni.com, but I'm running Vista and the application data folder no longer exists - still looking Quote Link to comment
jdunham Posted October 28, 2008 Report Share Posted October 28, 2008 QUOTE (TobyD @ Oct 27 2008, 08:44 AM) EDIT: I found http://digital.ni.com/public.nsf/allkb/F02B2BF8943A31D786257393005D16F1' target="_blank">this article on ni.com, but I'm running Vista and the application data folder no longer exists - still looking On my Vista computer, visaconf.ini is located in C:\ProgramData\National Instruments\NIvisa. I don't know the best way to replicate settings between computers, but it seems likely that your app will need elevated privilege if you want to write a program to modify the file. Quote Link to comment
TobyD Posted October 28, 2008 Report Share Posted October 28, 2008 QUOTE (jdunham @ Oct 27 2008, 10:26 AM) On my Vista computer, visaconf.ini is located in C:\ProgramData\National Instruments\NIvisa. I don't know the best way to replicate settings between computers, but it seems likely that your app will need elevated privilege if you want to write a program to modify the file. Thanks! Apparently I had "show hidden folders" turned off so visaconf.ini didn't show up in any of my searches. It's definitely a Monday. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.