LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Example code to read pressure continuousy from an ER3000

Solved!
Go to solution

I am working on a program to control an ER3000 and am tring to use a waveform chart to track the pressure. Also I want to be able to use the current pressure to calculate the rate of change to a new pressure setting because the vessels we are charging can't take quick pressure changes. Does anyone have example code specificly for reading the pressure on tescoms ER3000. 

0 Kudos
Message 1 of 4
(3,161 Views)

Hi grimm,

 

some years ago someone else also asked for communication to ER3000 devices...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,159 Views)

Thanks for the reply. I have seen this code and I have a program that will read and write to the ER3000. I am relatively new to labview and I am having trouble executing the program once it is written to the ER3000 and I am also having problems reading the pressure continuously from the ER3000. Any thoughts?

 

Regards,

Tim Grimm

 

 

0 Kudos
Message 3 of 4
(3,142 Views)
Solution
Accepted by topic author grimm1099

Tim,

 

By taking a brief look at the llb that was linked above it looks as if the "Tescom ER Command.vi is what you want. This vi is a read/write vi. But it only executes once. So there's no surprise that you have a program that will read and write to the ER3000. For "reading the pressure continuously" you will want to make your own vi that has the "read" portion of the "Tescom ER Command.vi in a while loop. If you look up examples in labview for VISA it should get you started.

 

Keep in mind that if you want to continuously read that the VISA Session will be "locked". Which means you cannot write while it is conducting a continuous read of the VISA session. You can either programmatically account for this or (if RS232) you can setup a sniffer which can continuously poll a different COM port while NOT interfering with your active VISA session to the device.

 

Hope this at least gets you started in the right direction.

 

Best Regards,

-chazzzmd

Message 4 of 4
(3,127 Views)