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

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

$
0
0

  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.

 


Viewing all articles
Browse latest Browse all 5566

Trending Articles



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