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

Trouble communicating with a GPIB instrument using VISA functions

$
0
0

Hi all,

 

I am trying to create subvi's that will allow communication between a computer and a MS260i spectrometer. This is an old spectrometer, and can only be interfaced via GPIB or RS232. I have chosen to use a GPIB-USB-HS adapter to connect it to the computer. The following settings in NI-MAX allow me to easily send commands to the spectrometer when using the NI-488.2 communicator. I have also attached an image of a successful wavelength query.

 

NIMAX _settings.JPG

NI_comm_success.JPG

However, I am unable to make a subVI with the same settings. For instance, the following VI

block_diag.JPG

returns the following error

error_gpibtestvi.JPG

 

Is there something I am forgetting? I also noticed that even though I saved the GPIB interface properties, these do not come up by default when using the NI-488.2 Communicator. Indeed, I have to manually configure the EOS settings each time I reopen the tool.

Any help would be greatly appreciated.

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



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