Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Basic 2015 488.2 communication with a computer configured as an instrument

  I'm new to using Visual Basic and I'm very confused about using the National Instruments NI4882 code - specifically which to use for my purpose and the proper syntax. I've found very few related examples and nothing clear to me.

 

  The configuration I'm trying to work with is a computer using two GPIB boards (USB-GPIB). GPIB0 is the controller and GPIB1 is configured as an instrument.  My interest is for GPIB0 to pass commands to GPIB1 and eventually for GPIB1 to respond with an error code.

  I've been trying to use the NationalInstruments.NI4882.GpibStatusFlags to determine that GPIB1 is being addressed to listen, but frankly I have no clue as to the proper coding.   Most of the available NI code seems to be from the controller in charge perspective.

 

  I appreciate your suggestions.

 

0 Kudos
Message 1 of 1
(1,569 Views)