12-11-2014 12:23 PM
Hi,
I am doing a project using arduino board, i connected an xbee module to the board and db 9 cable from board to PC(windows). i am getting sensor values on hyperterminal of PC. Is there any way by which i can read the values from hyper terminal and do mouse operations.
Eg: Suppose i receive letter L on hyperterminal i have to move cursor left
R- right
U-Up
D-down
C-click operation
Thanks
12-11-2014 12:28 PM
I wouldn't try to do anything with Hyperterminal which has become outdated and unsupported.
I would use the VISA functions already in LabVIEW to read and write to the serial port directly. Search LabVIEW examples to find example programs for communicating with the serial port.
12-11-2014 12:36 PM
12-11-2014 12:36 PM
12-11-2014 01:25 PM
12-11-2014 05:59 PM
12-11-2014 08:31 PM
When you talked about a cursor and hyperterminal, I thought you were talking about the cursor you'd have within a hyperterminal window, or like you'd have in Word or Notepad. Now that you are talking about the mouse pointer, it is a little clearer.
If you can detect the mouse position, you could adjust the coordinates accordingly and some action happens, then set a new mouse position. Right now I can't find a means to determine or set the mouse position within a LabVIEW panel. Of course if you want it to work even outside of LabVIEW, I doubt you'll be able to do it with a LabVIEW property or method.
Though I bet there is a means through a call to a Windows .dll such as User32 that could do that. But, I've never tried to do it myself to be sure.
12-11-2014 08:33 PM
12-11-2014 08:39 PM