LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[q]Check lists of RS-232

Dear all,

I want to do some labview work using RS-232 communication of a commercial instrument.
The RS-232 cable was made by myself for a reason (50pin).
But my normal skill of RS-232 is not applied the instrument.

1. How to check the RS-232 cable?
The homemade cable (50->9 connection) couldn't test in other instruments.
For example, Could you tell me some error results in Labview?
(Always, the error_out code is 0 irregardless of my intentional error conditions(com_port/bad commander).
Some written commander('RE') to set the remote operation was re-read.
In the manual, OK or NG should be read under RE commander.)

2. According to my former experience with RS-232, a final character(like \r,\n) could be a problem.
Normally, the commander is RE(I mean, ascii code) without some additional characters(like 'RE' written in my manual).
Can you comment about the type of characters which I can type in labview?

Any comments are helpful to my works and experiences.

Very thank you.

Lee
0 Kudos
Message 1 of 2
(2,406 Views)
The first thing you should do is test the communication with Hyperterminal. If you can communicate there, then you know that the cable and com settings are correct.

Once you've debugged the cable, etc., you should be able to use LabVIEW. I don't understand what you mean about not getting an error. If you're using VISA for writing (and you should be), then setting an invalid port will definitely give you an error.
0 Kudos
Message 2 of 2
(2,391 Views)