Online Talk to our
support team or
sales department.
May 24th, 2022, 7:46pm
Welcome, Guest. Please Login or Register.
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print
   Author  Topic: Problem with splitter and CTS  (Read 1555 times)
pfmachado
FabulaTech Forum Newbie
*



View Profile         
Posts: 2
Problem with splitter and CTS
« on: Aug 5th, 2014, 6:15pm »
Quote Quote  Modify Modify

Hi.
We are currently evaluating your product for installing in a customer.
However he have a problem with the splitter that does not happen if we connect directly: The CTS flag is read differently if we use the spliiter.
 
Here follows a java code snippet to illustrate the problem:
 
<BEGIN CODE>
 
import jssc.SerialPort;
 
public class Test {
 
 
public static void main(String[] args) throws Exception {
 
 
 
SerialPort port = new SerialPort("COM1");
 
 
port.openPort();
 
 
port.setParams(SerialPort.BAUDRATE_9600, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
 
 
 
System.out.println("CTS: " + port.isCTS());
 
 
 
port.closePort();
 
}
}
 
<END CODE>
 
Without the splitter running, this bit of code always prints "CTS: true" if a printer we have connected to COM1 is on.
 
However, with the splitter runing, the code always prints "CTS: false" regardless of printer being on or off.
 
Can you help us?
IP Logged
Sergey_Jarovski
FabulaTech Forum Moderator
FabulaTech Forum God
*****



View Profile   WWW         
Gender: male Posts: 549
Re: Problem with splitter and CTS
« Reply #1 on: Aug 6th, 2014, 5:24am »
Quote Quote  Modify Modify

Please provide me with the following information:
- version of the Serial Port Splitter;
- OSs on both sides (version and bitrate).
IP Logged

Sergey Jarovski

FabulaTech
===================
http://www.fabulatech.com
pfmachado
FabulaTech Forum Newbie
*



View Profile         
Posts: 2
Re: Problem with splitter and CTS
« Reply #2 on: Aug 6th, 2014, 6:11am »
Quote Quote  Modify Modify

Hello Sergei,
 
We are using version 4.3.6.
 
We are testing in:
 
Windows XP Professional
Version 2002
Service Pack 2
 
We are communicating via serial port with a printer using the following configuration:
 
BAUD_RATE: 9600
DATA_BITS: 8
STOP_BITS: 1
PARITY: NONE
 
Do you need any further information?
IP Logged
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print

« Previous topic | Next topic »