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

Communication problems with a Serial connection to a Pressure Gauge

$
0
0

Hello folks, I am trying to establish communication with a VACOM MVC-3 Vacuum gauge. The manual for the gauge can be found at: 

 

https://www.vacom.de/en/downloads/category/775-total-pressure-measurement?download=2440:mvc-3

 

I am having problems understanding how to communicate with the device. I am using the built in COMM port (Port 1) of my computer (Windows 10 Enterprise, 64 bit, version  10.0.18363 build 18363) and I have configured the device to have a baud rate of 9600 and to use RS232  as described on page 45 of the manual.

 

I am trying to communicate with the device in NI Max as I get the feeling from these pages that this is the best way to start..

 

In Visa I set the Baud rate =9600

data bits = 8

stop bit=1

parity=none

flow control= none

 

I enabled a termination character.

End mode for reads=TermChar

End mode for writes = Termchar

Termination character= carrage Return \r

 

Now I started trying to communicate with the simplest command possible , RVN<CR>. (to read the version number P 52 of the manual)  and I always get a read error Visa: Hex 0xBFFF0015 Timeout...

 

In the manual I noticed that they want you to enter the commands in ascii. Does that mean I should convert RVN<CR> to 82 86 78 0x0D or something like that?

 

Should I write the command and just read, or is there some kind of acknowledgement command that needs to be sent first. (I get vibes from this from page 49 but I am not sure) 

 

Also, since Visa is configured to use \r format as the termination character, does this pose a problem for communicating with this kind of device?

 

Thank you in advance people.

 

Happy Weekend

DrRob2020

 

 


Viewing all articles
Browse latest Browse all 5566

Trending Articles



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