LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I simulate a backspace in hyperterminal ???

Hi,
 
            I have been performing setup of a uP board through the serial port/ hyperterminal . Most of the commands being sent to set it up are commands that are written onto the hyperterminal. However I have some instances where I have to delete some settings and then write something over it. For example, I have a setting

Run script at boot: false

           I have to delete false from the terminal, then type true and press enter when I am using the hyper terminal. I can do this in hyperterminal very easily by deleting using backspace and then typing true . I am trying to automate this.

            I can send and receive commands from the serial port. However, I don't know how to automate the backspace, and then type true instead. Typing backspace doesn't show up removed characters in the serial write/read parts.

            I used the two vi's attached.

           Is there any way I can acheive the above mentioned routine ?

Thanks for the help !!
~Sam~

Download All
0 Kudos
Message 1 of 3
(6,885 Views)

Does this offer any help?

http://digital.ni.com/public.nsf/allkb/D7EAC53664164D8E86256F23005CFF8F

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 3
(6,884 Views)
Matthew,

  Thanks ! ... I used 0x08 as the backspace character. I sent backspace as many times as the length of the word was. Even though the backspace activity wasn't reflected in the LV hyperterminal screen, the command was accepted by my uP board. 

   Developing an application similar to hyperterminal/ ucon ( http://www.microcross.com/html/micromonitor.html) can be very useful while doing embedded development and automating embedded tasks which is typically done through the hyperterminal/tftp/DHCP client/server applications.

~Sam~
0 Kudos
Message 3 of 3
(6,850 Views)