Oct 10th , 2026, 3:29pm
Author
Topic: Problem with splitter and CTS (Read 9824 times)
pfmachado
FabulaTech Forum Newbie
Posts: 2
Problem with splitter and CTS
on: Aug 5th , 2014, 6:15pm
Quote 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
Gender: Posts: 559
Re: Problem with splitter and CTS
Reply #1 on: Aug 6th , 2014, 5:24am
Quote 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
Posts: 2
Re: Problem with splitter and CTS
Reply #2 on: Aug 6th , 2014, 6:11am
Quote 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
Accessibility preferences
Text size:
Follow OS settings
Larger
Largest
Contrast:
Follow OS settings
Normal
High contrast
Animations:
Follow OS settings
Normal
Reduced motion
Close