Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Target Management » Add custom UI to access Serial Port(Custom action to access Serial Port)
Add custom UI to access Serial Port [message #768501] Tue, 20 December 2011 09:09
Jayakumar Bellie is currently offline Jayakumar Bellie
Messages: 3
Registered: December 2011
Location: Bangalore
Junior Member
Hi,
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.
Previous Topic:Explore remote functions while working on a remote project
Next Topic:Extending Shell Process
Goto Forum:
  


Current Time: Tue Sep 16 23:37:01 GMT 2014

Powered by FUDForum. Page generated in 0.09032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software