03-31-2009 10:39 PM
03-31-2009 10:54 PM
Definitely keep it at slave address 1.
Try using their software. If you find that works. Try a program such as portmon to see what data is being passed back and forth with their software and compare it to the data that is being sent by the Modbus VI's.
04-02-2009 01:51 PM
Thank you so much Ravens Fan! I've solved the problem. I just needed to turn off the error-detecting option in the device. You're the BEST!
Devin
04-02-2009 02:09 PM
11-26-2010 06:54 AM
Dear All
looking for Help
I have programmable power supply Chroma Model 62012P-40-120. I write RS232 communication based on the protocol from the manufacturer to set volatge ,current to the supply and measure the volatge and current output from the power supply. I have no problem with the communication . i can set the volatge and the current to the power supply and i can remotelly control (ON/OFF) the DC ouput of the supply. But when i try request volatge and current output of the power supply and connect them in series i can read the measure output either the volatge or the current but not both.
if the measure volatge request is 1st i can read it but no the current request and vise versa. But i can see the volatge and current ouput in the screen of the Power supply. Here i have attached the screent shoots of my labview programs. The status message is OK in both cases.
11-26-2010 07:36 AM
bstar,
You have hijacked 3 threads with a similar question. Please start your own thread by doing a search and if you do not find what you wish to accomplish (and there are thousands of posts on serial port), then you can post your own question.
The other threads are:
http://forums.ni.com/t5/LabVIEW/remote-controlling-a-DC-power-supply/m-p/1322753#M540603
I did a search on Chroma and there are many threads that discuss serial communication to it.
see :
http://forums.ni.com/t5/forums/searchpage/tab/message?q=Chroma#message-list
http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Chroma-load-6330x/m-p/1022047
Have a look at this thread which seems to discuss it in details:
Here's something you may also want to read:
http://forums.ni.com/t5/LabVIEW/serial-for-labview/m-p/574719#M269506
Now before automating everything using LabVIEW, you should really debug your setup by using a terminal emulator. You should know which commands to send to it and know what data to read back based on the command sent. Otherwiose, you are adding yet another unkown into the soup..
And as I suggested, do start your own thread.
R
11-26-2010 08:15 AM
Ok R.
sorry !