|Add custom UI to access Serial Port [message #768501]
||Tue, 20 December 2011 09:09
| Jayakumar Bellie
Registered: December 2011
I have a device connected to system through serial port.
I have a requirement to add a custom UI to the Terminal, which will upload some data to the device, to which the device will responds success/failure.
I have created the UI (TerminalUploadDlg) under "org.eclipse.tm.internal.terminal.view"
I have added a function onTerminalUpload in TerminalView
On Button click on the UI (TerminalUploadDlg), onTerminalUpload is called and I format the data and use ITerminalViewControl.pasteString to send the data to the device.
I want to capture the data received from the device.
As the serialEvent is registered all the data from the port is displayed on the terminal window. But only if I capture those data I can proceed.
Can anyone help me out with this.
Powered by FUDForum
. Page generated in 0.16482 seconds