LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read continuously from rs232?

Solved!
Go to solution

The first is a string constant. This represents the string you get from the VISA Read. Yes, you then have a string to byte array. The next is an Index Array function followed by Number to Boolean Array. The last is the Boolean Array.

 

Before you do much more, you should take the LabVIEW basic tutorials.

Message 11 of 14
(2,966 Views)

I want to thank you guys: smercurio_fc, Matthew Kelton, Ravens Fan and Dennis Knutson because you are so helpful!

 

Now, the reception part is working well thanks to your advice.

 

For this moment, I am struggling for the trasmission part. I will post back if I really can't solve it myself.

 

Thanks.

0 Kudos
Message 12 of 14
(2,936 Views)

Hey guys...

 

I went through this thread and found u people so helpful. Actually me too as a student is working on a project where i want to wirelessly move my starter 2.0 NI kit using zigbee..My idea is that on transmitter side i have my laptop with one xbee module attached, through which i vl send my commands to other xbee acting as a receiver which is connected with serial port(on board on kit, pin no.12) via RS232 .

 

 

I have connected the starter kit with my pc using LAN cable and able to detect it properly. I am running the following attached vi. IntiallyI tried that When I write on "string to write" box, I am able to read that string back in " read string" box..This means That It is able to read from serial port properly. but now what i want to do is to wirelessly transfer data. i.e Instead of writing my string in "string to write" box, if I pass any string/data from my xbee(trasmitter) which is connected with my lappy to receiver xbee, the receiver xbee as is connected with serial port will have that string so I should receive that string back in my "read string" box. I have kept my string in \codes display format only.

 

I tried doing this also. I passed a character say 'I' from my xbee via X-CTU terminal so that it gets received by receiver xbee and it displays this in read box. but i got no output.

I am very new to LABVIEW and dont know how to proceed.

 

Please help me to start..

 

please..

0 Kudos
Message 13 of 14
(2,370 Views)

Hi Sharry,

 

This thread is 3 years old, please create a new one for your problem.

I'm sure that you'll get more help by creating your own thread Smiley Wink

 

Best regards,

Message 14 of 14
(2,352 Views)