LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting labview to xbee

Hey folks,

 

Just new to this forum so please be kind, the chances are that I will ask something blindingly stupid.

 

Basically I am trying to develop a protocol pressure sensor using The XBee starter kit. I intend to have this connected to a Labview software package that i am building from scratch. My main concern at the moment is how I will be able to connect the two so that my Labview can read the data coming in from the Xbee unit and node.

 

If anyone has any idea roughly how to do this then I would be extremely greatful. If more info is required then please do feel free to ask.

 

Thanks

 

Russell

0 Kudos
Message 1 of 13
(12,898 Views)
0 Kudos
Message 2 of 13
(12,877 Views)
0 Kudos
Message 3 of 13
(12,874 Views)
0 Kudos
Message 4 of 13
(12,874 Views)

Dear Russell

 

Please do take a look at 'muks' posts as they are useful and they should get you started.

 

I would also take a look at the following forums and look at the sample code. These should help to get you going.

 

http://forums.ni.com/ni/board/message?board.id=170&thread.id=323172

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=430380&requireLogin=False

 

Please let me know if you need further help. Many thanks.

 

 

 

Many thanks for using the NI forums and I look forward to your reply.

Kind regards

David

Applications Engineer
National Instruments UK
0 Kudos
Message 5 of 13
(12,862 Views)
I do not know if this is already mentioned. But you can not interface directly to serial port. You must use RS232 level converter like the MAX232 type chip.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 6 of 13
(12,846 Views)

Thanks folks.

 

However Im still toiling with the whole overall concept and the help given seems to apply to Labview 8.0 and Im using Labview 2009.

 

Lets say for example all I want to do at the present moment is to have a front panel that has an On/Off switch and an LED that indicates if a pump is running, so when I press the on/off button the LED comes on and a signal is then sent out to my module out in the field. This is going to require a on put of some form surely?

 

Sorry if I'm sounding thick but Im really topiling with the whole aspect of my project and this application. 

Message Edited by Jaffa_Gen_7 on 03-02-2010 08:49 AM
0 Kudos
Message 7 of 13
(12,741 Views)
Alsoeverytime I try and download the recommended VIs from "XBee 802.15.4 RF Modules and LabVIEW commands" they wont run correctly as files appear to be missing?
0 Kudos
Message 8 of 13
(12,725 Views)

Hello

 

I've been able to send and receive data through Xbee using LabView, but i'm wondering if is there a way to make a continuous Send/Receive communication, instead of the timed cycle that is usually found in the VISA examples.

 

I think about this, because when I communicate XBee with X-CTU software, the communication is always "open", even in the two directions, but in Labview i've only be able to send/receive data packages in timed cycles.

 

Appreciate your help, regards

 

Jaime

0 Kudos
Message 9 of 13
(12,173 Views)

Hello All,

 

I am currently using python to collect data from an array of xbee nodes and I want to switch over to LabVIEW.

 

I’ve started by reprogramming one of xbee nodes (plus my coordinator) to work in API mode and I’ve verified that the coordinator is receiving transmissions by using the Basic Serial Write and Read example program.

 

I understand that the received API hex string needs to be parsed in order to identify the node and then pull the “payload” bytes before being converted.

 

I have only superficial experience with LabView so I am having trouble making this programming leap.  I have not had any luck with any of the forum threads on this topic.  I looked all over the web but it seems like this is uncharted waters.

 

Can anyone help me with example code to get me up and running for one of my nodes?  It has 3 sensors and I want to display graphically and save to file.

 

Thanks in advance for your help.

0 Kudos
Message 10 of 13
(11,967 Views)