08-17-2012 07:00 AM
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.
Solved! Go to Solution.
08-17-2012 07:47 AM
08-21-2012 06:46 AM
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
08-21-2012 08:28 AM
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