08-03-2010 10:58 AM
Hello, I built an RS232 serial cable using three wires interface of serial port (Rx, TX, GND). And I connected it between my computer and the cRIO. I would like to ask is it possible to use HyperTerminal to send characters to the cRIO? What vi. do I need to do so?
And is my cable interface correct? Do I need to connect other pins besides Rx, TX and GND?
Thank you very much for helping.
08-03-2010 11:05 AM
Sure you can use hyperterminal, but only if you want to do type in stuff by hand to send characters. It has nothing to do with a .vi.
If you want to use LabVIEW to send characters from your PC's serial port, then look at the examples in the example finder when you search for "serial".
You shouldn't need anything besides the TX, RX, and Gnd wires.
08-04-2010 02:51 AM
Thank you so much. I tried to use hyperterminal to send characters. I typed in some words by hand. But how can i now if the words has been send to my cRIO? I also tried to use the Basic Serial Write and Read vi. in the example of labview, but when I click run, there is nothing shown in the read window and the program stoped itself some time later. Dose this mean my connection failed?
Thank you very much again!!
08-04-2010 08:40 AM
So did it or did it not work when you typed words in by hand in hyperterminal? I'm not clear on this from your response.
What kind of things are you trying to send? What code do you have on your SBRIO to handle the other end of the communication.
It could mean your connection failed. It could mean you have the wrong cable between the two (null modem vs. straight through), it could mean you aren't sending the data in the same way the code on the RIO is expecting. Look at such things like any termination characters you send at the end of the message.
It's kind of hard to help without know more details of what you are trying to do and whether it is working for you in Hyperterminal or not.
08-04-2010 09:38 AM
Thank you very much for replying me. What I am trying to do now is to send some character from PC to cRIO-9025. What i have already got is that I use the crossover RS232 cable to connect my computer and cRIO. When I run Baisc Serial Write and Read vi. in Labview example on my cRIO, and then typed 'Hello' in hyperterminal. 'Hello' can be shown in the read box in the vi. And also, when I typed in some words in the write box in the vi, the exact same words can be shown in the window of hyperterminal. I guess this means that i have already connected my cRIO with computer correctly and they can already talk to each other. Is this seems right??
Thank you!