Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Having Trouble Writing Set Point to Alicat MFC

Solved!
Go to solution

I have already written a subVI for reading and parsing the output of a Alicat Scientific MFC (16 series), which works great, however I am having some difficulty sending a setpoint to the MFC. I have attached a test subVI that I am writing. All of the com settings are matched to the MFC as well (19200 baud, 8 data bits, no parity, 1 stop bit, no flow control). After setting the proper resource channel, I input the following into the buffer field:

 

\r\r\r\r\r\r\r32000\r

 

which I believe should send the setpoint value to the MFC, however I am seing no response. When I input the same string into the VISA test panel in MAX, it works however. Anybody have an idea on what I am doing wrong? Please also let me know if there is any additional information that I could supply that would be helpful. Thank you.

 

 

 

0 Kudos
Message 1 of 2
(3,563 Views)
Solution
Accepted by topic author Miguel_F

You are sending the characters '\' and 'r', not a carriage return.

 

Set the write buffer string control to '\' Codes Display in order to send '\' Codes correctly. It's a simple right click.

0 Kudos
Message 2 of 2
(3,562 Views)