cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Bronkhorst EL-FLOW prestige with Labview

Solved!
Go to solution
Highlighted

Bronkhorst EL-FLOW prestige with Labview

Hello everyone!

 

I am trying to start up a MFC from Bronkhorst with Labview. I have download the Drivers from the Company and I have tried to run one of the examples there. When I run this code I get the following error:

 

Error -1073807339 occurred at VISA Read in Bronkhorst FLOW-BUS.lvlib:FLOW-BUS RW.vi->Bronkhorst FLOW-BUS.lvlib:Read Setpoint (Percentage).vi->Bronkhorst FLOW-BUS Instrument Control Application.vi

Possible reason(s):

VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.

 

Anyone knows how to fix this issue or where to start checking? I appreciate any help. If anyone Needs more Information, please let me know.

 

Some useful Information:

- The MFC is using a RS232 conection and a USB to Serial converter.

- I have checked that I'm calling the right Instrument in VISA.

- Controller Manual: https://www.bronkhorst.com/files/downloads/manuals_english/917084--manual_el-flow_prestige.pdf

- I have checked already Baudrates.

 

0 Kudos
Message 1 of 2
(44 Views)
Solution
Accepted by topic author apdelrisco
12-15-2017 12:06 PM

Re: Bronkhorst EL-FLOW prestige with Labview

Doing VISA Reads to an Instrument depends critically on understanding and following the Manufacturer's "Instrument Guide" that describes the Communication Protocol and Command Structure (I've wrestled with this problem with a number of different instruments).

 

What has always worked well for me is to start by not using LabVIEW, but by using MAX (the Measurement and Automation Explorer).  MAX can "talk" to a VISA port, which means you can test all of the following:

  • Setting up the VISA port with Baud Rate, Parity, and other Serial parameters.
  • Set Flow Control as per Manufacturer (when in doubt, use None)
  • Set I/O Settings, especially Termination Character if Device uses it.  You'd like Send End on Writes, Enable Termination Character, use it on Reads, and make it Line Feed (but check your Manual to see what your Instrument sends).
  • Once you've "set up", go to the Input/Output section and start trying to Send/Receive Commands.  You'll see it is set up to send "*IDN?\n" (which I think is a query, Please tell me your ID, terminated by a Line Feed).  If you click "Write", this gets sent to your Instrument.  Then click Read, and see if you get anything back.  If not, you'll get a Timeout or some other such error.  Now the fun begins -- figuring out what went wrong ...

Using MAX, you can configure your VISA Port, try to "talk to" and "listen to" your device, and if there are errors or unexpected results (like you send "Hello", and it says "iasj*32:#S", i.e. gibberish"), you know something is "not quite right" (gibberish is often "Wrong Serial Parameters" -- pay attention to Baud Rate (easy to get right, just by following the manual) and Parity (this one can fool you ...).

 

Bob Schor

Message 2 of 2
(18 Views)