Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Silent/Unattended run of Add GPIB/ENET wizard

Hello,

 

I'm looking for a way to run the Add GPIB/ENET 100 wizard automatically.

I found the addhardware.exe opens the Wizard, but I requires clicking "Next", and I'm looking for a way to suppress this interaction.

I suppose the wizard updates some registree keys or writes to some .ini file, if so, maybe I could write a .bat file which will perform this instead.

Has anyone encountered this problem?

 

I've found a similar question here, but without a positive answer.

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Is-it-possible-to-Modify-GPIB-Interface-list-...

 

I'd appreciate any help.

Thank you,

 

Maya.

0 Kudos
Message 1 of 4
(3,300 Views)

Hi Maya,

 

The GPIB/ENET 100 wizard is meant to be an interactive feature to help install and configure the device. You may be able to just create a batch file with return characters and the appropriate wait times between screens.

Best Regards,
Swathi B
0 Kudos
Message 2 of 4
(3,269 Views)

Thank you for the reply.

 

Maya.

0 Kudos
Message 3 of 4
(3,246 Views)

Hi Maya,

 

I was also able to find out that the wizard, in fact, modifies the GPIB.ini file located in C:\Documents and Settings\All Users\Application Data\National Instruments\NI-488.2 on a Windows XP machine. You may be able to use a script to populate these values; however, do be aware that not entering appropriate values could lead to unexpected behavior.

Best Regards,
Swathi B
0 Kudos
Message 4 of 4
(3,210 Views)