LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending AT command from xbee pro to read the data from device

I am new to serial communications using Labview. 

I am having trouble with starting up the project, where I have to design the software that involves XBee pro module.

I need to send the READ command to read the data from a device. Then the software should go to the AT command mode (we enter the AT command mode by entering +++)

Then I need to read the energy level of the device by entering the command: ATED. The software should continuously read the energy level every 30 seconds, which will be displayed on the front panel. 

I am not sure where to start the software from. i.e. how to enter the Read command and then the AT command. 

I am hoping someone can suggest how to start this.


Thanks  in advance. 

0 Kudos
Message 1 of 3
(2,904 Views)

I have not used xbee's but I found this example on how to use the AT commands with the xbee pro. It should give you a starting point. You will probably have to mass compile the library for your version of LabVIEW if it is newer the LabVIEW 8. 

 

Hope this helps

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 2 of 3
(2,894 Views)

Hello Manny,

 

You could also review the discussion from the link below which may also guide you in a good direction with your project. 

 

"Need example vi using AT commands for dialing the modem at the remote end"
http://forums.ni.com/t5/LabVIEW/Need-example-vi-using-AT-commands-for-dialing-the-modem-at-the/td-p/...

 

 

Best regards,

 

Daniel Cabezas

Applications Engineering

National Instruments

www.ni.com/support 

0 Kudos
Message 3 of 3
(2,859 Views)