Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Secondary Addressing

I have been using NI-488.2 driver with VB.net for a long time with many instruments with no issues.

 

The command to initialize a device is:

GPIBdev = New NationalInstrument.NI4882.Board(BoardID, PrimaryAddr, SecondaryAddr)

 

This command works fine when addressing devices without a secondary address and in this case the SecondaryAddr is always 0. Today I have a need to address an instrument with a secondary address and I get the following error message from the NI driver:

"Invalid argument to method"

 

If I use NI-Max and scan for instruments, this instrument is found and identified with no issues. However the command shown above always generates an error. Is this a bug in the NI-488 driver?

 

0 Kudos
Message 1 of 1
(419 Views)