LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make program for RS-232

Solved!
Go to solution
Yes, Ive already tried changing the device's slave address to 1, and the device is being connected by null moderm and probably came with the instrument (I'll confirm with my group tmr).  thanks
0 Kudos
Message 31 of 37
(1,697 Views)

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.

0 Kudos
Message 32 of 37
(1,695 Views)

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 

0 Kudos
Message 33 of 37
(1,674 Views)
Excellent.  I'm glad to hear it works.  Good Job!
0 Kudos
Message 34 of 37
(1,671 Views)

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.

 

 

 

 

0 Kudos
Message 35 of 37
(1,256 Views)

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

http://forums.ni.com/t5/LabVIEW/Serial-communication-with-Instek-PSP-603-power-supply/m-p/1322731/hi...

 

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:

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/how-to-install-a-instrument-driver-in-labview...

 

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

 

 

Message 36 of 37
(1,251 Views)

Ok R.

sorry !

0 Kudos
Message 37 of 37
(1,244 Views)