LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Half duplex RS232-C communication with RS-232 library

Hi,
 
I am trying to read continously values out of a Sony LY51 display with a LZ51-C RS232-C unit.
 
I am using the RS-232 library of CVI in order to access the unit.
It's just sending a command and recieving it's result.
 
Sporadically the Sony display gets a "receiving error" and blocks communication for about 2 seconds.
The manual of the sony says that the RS232-C is asynchronus and half duplex (it is not allowed to  and I am wondering if this could be the reason for the problems.
This is what the manual says:
...
RS232-C output: Asynchronous, start-stop, half-duplex
....
...be sure to wait for transmission to finish bevore receiving and wait for reception to finish before transmitting... communicationm must follow half-duplex format...
..
 
I have already tried to use the SetCTSMode() function in order to activate hardware handshake but it didn't work out either.
 
Is it possible to make half-duplex communication with RS232 library?
How has it to be done?
 
Thanks
 
 
 
 
 
0 Kudos
Message 1 of 2
(3,163 Views)

Here is a document that describes how to set the serial transceiver wire modes. Please make sure that your serial port supports the wire mode that you are looking for.

Jochen Klier
National Instruments Germany

 
0 Kudos
Message 2 of 2
(3,130 Views)