Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5625

GPIB Secondary Addressing

$
0
0

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?

 


Viewing all articles
Browse latest Browse all 5625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>