Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How is 488.2 Controller info stored in Win2k Registry

I want to have my application change the System Controller bit, in the Control Panle Applet, for the GPIB controller in my system, on a Windows 2000 machine.
However, I cannot find where this info is stored in the registry, on Win2k.
On Windows 98, it's quite easy to find, with a registry search in Regedit.

However, on Windows 2000 (and I assume XP too), the registry is a real mess.

Does anyone know how AND WHERE the NI Measurement and Automation Explorer stores any of the changes the user makes, for the GPIB card Properties, (ie, Primary address, Secondary Address, System Controller, etc..) ?
0 Kudos
Message 1 of 3
(2,984 Views)
If you want your GPIB card to not be system controller, you can use the NI-488 function ibrsc(ud,0). If you want the board to be the system controller, use ibrsc(ud,1). Otherwise, I would not depend on changing the registry as this value may need to be changed in multiple places aside from the registry. This also may change from release to release.

Craig A.
National Instruments Engineer
0 Kudos
Message 2 of 3
(2,984 Views)
Actually, I've finally found out that on Windows 2000 this info is not in the registry, it's in the GPIB.INI file in C:\WINNT\SYSTEM32

It's much quicker to re-write this flag in the INI file, than to go through the GPIB Explorer.
0 Kudos
Message 3 of 3
(2,984 Views)