01-15-2008 08:10 AM
syanitaa wrote:
hello...i'm final year student in one of the university in Malaysia. In my final project, im doing the RS232 Interface Wireless Receiver. In this project,i have been having the some difficulties, i dunno how to received the data continuously. which means, Example: If i send word "HELLO", i will also received "HELLO". But the problem is..i want the HELLO word is received continuously.Send: HELLOReceived: HELLOHELLOHELLOHELLO.....many times....So, can sumbody help me...i really need ur help regarding on this..thanx...
01-15-2008 08:13 AM
syanitaa wrote:
hello...i'm final year student in one of the university in Malaysia. In my final project, im doing the RS232 Interface Wireless Receiver. In this project,i have been having the some difficulties, i dunno how to received the data continuously. which means, Example: If i send word "HELLO", i will also received "HELLO". But the problem is..i want the HELLO word is received continuously.Send: HELLOReceived: HELLOHELLOHELLOHELLO.....many times....So, can sumbody help me...i really need ur help regarding on this..thanx...
01-15-2008 08:19 AM
01-15-2008 08:19 AM
01-15-2008 08:21 AM
Well, you don't seem to have much problem continuously posting.
In order to write and read continuously, you are going to need a while loop. What you've posted is nothing more than a shipping example. What exactly are you going to do? Is one pc going to do nothing but send and another pc just do a read? If that's the case, then you are going to have to separate the write and read into separate VIs. In the read VI, you should use the VISA Bytes at Serial Port and do the VISA Read only when data is available.
01-15-2008 09:13 AM
Well, you don't seem to have much problem continuously posting.
In order to write and read continuously, you are going to need a while loop. What you've posted is nothing more than a shipping example. What exactly are you going to do? Is one pc going to do nothing but send and another pc just do a read? If that's the case, then you are going to have to separate the write and read into separate VIs. In the read VI, you should use the VISA Bytes at Serial Port and do the VISA Read only when data is available.
sorry, internet is down..sory for the late..
Actually, my project is wireless RS232 receiver. my part is only the receiver part. U are right, that one pc is doing nothing and juz read. and the other pc is to sending msg or data to the receiver. You are correct, because i should have the separated read and write. Im using the maxstream as the hardware. the hardware i have been ordered. Before waiting the hardware arrived, i have doing the serial loop back to test my program. i also need the transmiiter part in order to test the receiver can received or not. My friend is doing the transmitter part
01-15-2008 09:13 AM
Well, you don't seem to have much problem continuously posting.
In order to write and read continuously, you are going to need a while loop. What you've posted is nothing more than a shipping example. What exactly are you going to do? Is one pc going to do nothing but send and another pc just do a read? If that's the case, then you are going to have to separate the write and read into separate VIs. In the read VI, you should use the VISA Bytes at Serial Port and do the VISA Read only when data is available.
sorry, internet is down..sory for the late..
Actually, my project is wireless RS232 receiver. my part is only the receiver part. U are right, that one pc is doing nothing and juz read. and the other pc is to sending msg or data to the receiver. You are correct, because i should have the separated read and write. Im using the maxstream as the hardware. the hardware i have been ordered. Before waiting the hardware arrived, i have doing the serial loop back to test my program. i also need the transmiiter part in order to test the receiver can received or not. My friend is doing the transmitter part
01-15-2008 09:25 AM
i am using the LV8.0. Actually like chatting.. My pc(receiver) is only received message or data from the other pc(transmitter). when the pc(transmitter) send word " HYE"...the receiver pc will receiver "HYE"
then, the transmitter pc is send "HOW ARE YOU". the receiver pc will received "HOW ARE YOU", however the word 'HYE" is not delete..
it still have the work "HYE"
transmitter PC receiver PC
"HYE" "HYE"
"HOW ARE YOU" "HYE"
"HOW ARE YOU"
01-15-2008 09:32 AM
01-15-2008 10:14 AM