03-02-2023 08:58 AM
Hi folks,
I’m struggling with Serial communication with a RS Pro IPS603 power supply.
I have attached a snip from the manual which states that pin 4 need to be a constant +12v.
Do I just wire a 12V plug top power supply between pin 4 and 5 or is that too simplistic?
Also is the pin numbering is looking towards the port on the back of the instrument?
Any advice would be appreciated
P.S I'm using a BrainBox RS232 to USB converter if that is relervant
Solved! Go to Solution.
03-02-2023 10:00 AM
Pin 4 is the DTR (Data Transmit Ready) in a standard RS-232 connection. I think the power supply just needs that line to be set high. You can force assert that line with VISA using a VISA Property Node (Serial Settings->Modem Line Settings->Line DTR State).
03-03-2023 07:57 AM
Hi Crossrulz,
Thanks for taking the time.
I have attached a simple VI incorporating your advice.
If you could double check that it should work I would be appreciative.
Many Thanks
03-04-2023 06:35 AM - edited 03-04-2023 06:36 AM
1. The power supply uses a Carriage Return (0xD, 13) for the termination character. So set that with the VISA Configure Serial Port.
2. Because of the use of the termination character, you do not need the wait nor the Bytes At Port. Just tell the VISA Read to read more bytes than you ever expect in a message and it will stop reading when the termination character is read.
03-06-2023 05:48 AM
Hi Crossrulz,
I'm pleased to report that your solution worked out of the box, most impressive.
I can now start exploring some of the other commands.
Thank you for you time and expertise
Regards