05-16-2010 10:02 PM
I need to interface the MKS PR4000 (two chanels for pressure transducer) with labview 8.6. Do I need to install the particular drivers? Where can I find it?
Thanks
05-16-2010 10:38 PM
05-17-2010 03:43 AM
Dear MYLONG,
In my lab. we have this instrument (MKS PR4000) for readout of two capacitance manometer gauges (0.05 mbar and 1 mbar full range). Our PR4000 has serial output (RS232).
I wrote a small program in LabView for pressure logging long time ago. If your PR4000 also comes with serial output than I can send it to you.
Let me know.
best regards,
Bojan
05-17-2010 08:57 AM
Dear Bojan,
If you can send me, I pretty appreciate it. My email: fan_long2002@yahoo.com.cn
Thank you so much!
Regards,
Yanfang
05-17-2010 09:01 AM
That version is for labview 6.02. My labview is 8.6.
Is it ok?
Thanks
05-17-2010 09:25 AM
07-29-2010 04:32 AM
Hello BZajec,
I read your email regarding the PR4000.
I am trying to communicate with A PR4000 (single channel) device via RS232.
You mentioned in your email that you had written a program for this. If you still have it available could you please send me it and I will re-develop for the single channel PR4000. I am very confused with the command syntax used as described in the PR4000 manual.
Thanks,
Nevica
07-29-2010 04:32 AM
Hello BZajec,
I read your email regarding the PR4000.
I am trying to communicate with A PR4000 (single channel) device via RS232.
You mentioned in your email that you had written a program for this. If you still have it available could you please send me it and I will re-develop for the single channel PR4000. I am very confused with the command syntax used as described in the PR4000 manual.
Thanks,
Nevica
07-29-2010 05:05 AM
Hello Nevica,
before sending you the program you must establish a communication between your computer and PR4000. I assume you have not succeeded in this.
Try this below, before I send you the program. If it works, then let me know and I will send you the program.
First you need to setup the pr4000 (by pressing keys) communication. I have done this long time ago, but as far as I remember it should be pretty simple. I hope you have a manual for pr4000, otherwise you can get a somewhat older version e.g. here:
http://www.lesker.com/NewWeb/Process_Instruments/pdf/PR4000F_EN_0500A1.pdf
Setup the communication (RS232 interface) to 9600 baud, Parity: NONE
I also hope you have a proper cable to connect the pr4000 and your computer.
I attached a simple program that you can use to verify the communication of pr4000 - the program is in labview.
In the "port number" enter 0 for com1, 1 for com2 port etc.
In the "String write " field write a command, e.g. "ID" (without quotation marks and do not press enter at the end)
the run the program. If everything works fine, you should get a string starting with PR and several numbers. ID command asks for identification.
Then try AV1 and you should get the value of channel1. See the manual for other commands.
I hope this will work.
Once you have this working, let me know and I will send you the program. I am asking you to do this test first, because my program is very simple and will not work in case the communication is not established.
regards,
Bojan
07-29-2010 05:23 AM
Hello BZajec,
Thanks for your reply.
I have set up the instrument via null modem (crossed) RS232 cable and have communicated with the instrument via hyperterminal in Microsoft XP. The only command to which I have had a response is 'v' which has returned 'PR41413602' and what is I think the instrument ID.
I have tried sending the command 'AV1' but I get no response.
I am very unclear from the PR4000 manual as to what the command syntax is.
Also I have tried running one of the PR4000 Labview Vi's. I am having a VISA problem which I don't know how to solve. Are you able to help me with this. (Please see attachment for screenshot of the problem.)
Also I have the latest vesion of Labview (9) and I cannot run your vi because it is an earlier version. Could you please tell me which version you are running?
Thanks for you help,
Nevica