LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hyper terminal in Labview

Hi All,
  I'm currently using window hyper terminal to cummunicate with our boards, but wanted to use labView for Automation. I'm using three wire interface of the serial port (Rx, TX and GND). I was able to use the example on LV serial write and read but no luck. Any help would be appreciated.
 
thanks,
 
0 Kudos
Message 1 of 18
(6,885 Views)
What do you mean that you were "able to use the example" but "no luck"?  What exactly has been happening when you've been trying to use that example?

Are you sure all the settings (parity, stop bits, etc) are set correctly?  And are you using Hyperterminal with exactly the same hardware as you are with LabVIEW?
0 Kudos
Message 2 of 18
(6,876 Views)
You may need to add \r\n as carraiage return and newline termination characters to the strings you send. Hyperterminal does something akin to this automatically.
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 18
(6,871 Views)

Hi Kehander,

thanks for your reply, I am using same hardware, but I disconnect the hyper terminal when I use LabView. the setting are i think set correctly. What I did to troubleshot the LabView is connect it to another computer and use hyper terminal to communicate. Is it possible to use labView on one computer and hyper terminal on another and have both talk to each other? If this would work then i could use the labView to talk to our boards. I'm using the function command to try to read our boards.

0 Kudos
Message 4 of 18
(6,855 Views)
thanks for the info, I have set this in the write window, how can i use the function command or I need the ASCII character equivalent of the function command?
 
thanks,
0 Kudos
Message 5 of 18
(6,853 Views)
"Function command"?  I don't understand what you mean by that.

It would indeed be possible to communicate between LabVIEW on one computer and Hyperterminal on another computer, but of course any such connection must be done using a serial "null-modem" cable, which interchanges pins 2 and 3 (I think).

Last time I tried doing this, I also had a lot of trouble because I was using a USB-to-serial adapter; it is my understanding that such adapters tend to have poor flow control.  Still, if it works with Hyperterminal, it should work with LabVIEW.
0 Kudos
Message 6 of 18
(6,846 Views)
The function key that I used on hyper terminal are F2, F3 and F4, when i type this on the LabView it does not recognize it or it does not show anything on the write screen. I'm trying to send you a bmp file attache to this e-mail but i can cut and paste. i was going to show the setting I'm using in hyper terminal. i will try to attach a null modem and will try the labView with hyper terminal. thanks
0 Kudos
Message 7 of 18
(6,840 Views)
The function keys are shortcut keys in your program (standard Windows Hyperterminal doesn't appear to have these).  You will need to determine what the keys are actually doing and replicate that in LabVIEW.
0 Kudos
Message 8 of 18
(6,832 Views)
You need to save your screen capture to a file (preferable PNG or JPG) and attach it to your message.
0 Kudos
Message 9 of 18
(6,832 Views)

Do not try to attach a bmp file. The forum will not allow it. Create a png file or jpg.

I'm confused about these function keys. Are you possibly using a special terminal emulation such as VT100? The function keys aren't mapped to anything unless you are doing something like this or your device is doing something special to interpret these. If you want to do a special terminal emulation such as VT100, then you are going to have some major work. If all you need is to send something when a function key is pressed, you are going to have to write your LabVIEW code to capture these key presses and send the correct information.

0 Kudos
Message 10 of 18
(6,841 Views)