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

Controlling Custom Instrument over Ethernet

$
0
0

I'm trying to setup the communication for a custom made instrument programmed in LabVIEW.  I would like my instrument to communcate with a PC over VISA like I do with my typical COTS equipment.  

 

Does anyone know a good standard way I can set this up?  The way agilent or a real company does?

I tried using VISA VIs in the instruments code, but I could never get a command from the instrument to the PC.  Not sure if that's even possible since the PC isn't set up as a resource in MAX.  I just used the know IP address and port and hoped it would work.  

I also tried using the TCP VIs which did work, but the commands send between the instrument and PC have a lot of time between them.  I didn't know if leaving a TCP connection open would work.  Seemed like it would just timeout after x amount of time (1min?).


Viewing all articles
Browse latest Browse all 5665

Trending Articles



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