LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Freescale ZSTAR Zigbee Wireless Demo board

Hello,
Has anyone been able to communicate with the Freescale Wireless demo board using LabView?  Have managed to create a device in MAX and can see the USB reciever but I have no idea on how to communicate with it.  Can anybody steer me in the correct direction, links, reading, VI's etc.  Any information would be greatly appeciated!  I am using the RD3152MMA7260Q wireless accerometer boards from Freescale.  I believe it is a Zigbee based wireless protocol.  This is a really cool X,Y and Z accelerometer embedded with a USB wireless link.  I am trying to get the X,Y, and Z accel data into labview and don't really know where to start.  ANY help would useful!
Cheers,
Z
0 Kudos
Message 1 of 6
(5,322 Views)
Hi Zoltan,

It looks like that device just appears in MAX as a serial device.  You can communicate with it from LabVIEW using NI-VISA VIs.  For a simple example, please look under the Help»Find Examples menu and within the example finder look at the Hardware Input and Output»Serial»Basic Serial Read and Write.vi for a good example of basic serial communication in LabVIEW.  Of course, you will need a list of the commands that your device accepts and the format of the data it sends back in order to make any use of it.  You will need to obtain this information from the device manufacturer.
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 2 of 6
(5,281 Views)
Thank You Eric_V!
I have managed to get LabVIEW talking to this device.  You are correct, it is just a regular serial device and the VISA basic Read/Write VI works very well.  Thank you for your responce!
Cheers,
Zoltan
0 Kudos
Message 3 of 6
(5,265 Views)
On Feb 21, 5:40 pm, Zoltan <x...@no.email> wrote:
> Thank You Eric_V!
> I have managed to get LabVIEW talking to this device.&nbsp; You are correct,&nbsp;it is just a regular serial device and the VISA basic Read/Write VI works very well.&nbsp; Thank you for your responce!
> Cheers,
> Zoltan

Hi, I'm also experimenting with the Zstar demobards, congrats on
getting it to work with labview 😉
Maybe this isn't the place to ask questions but I thought I could give
it a try... 🙂

Do you happen to know a way to communicate with multiple sensors ?
(i'm not sure it's even possible)
I do have 6 usb receivers (that conflict with each other...)

I just want to read out 6 signals from 6 freescale sensors (via com
ports if possible) how doesn't matter to me...

Any ideas ?

Grtz from Belgium,

Paul
0 Kudos
Message 4 of 6
(5,167 Views)
Hi,


If you are using six different devices and each of them is in a different COM port, then, just like Eric_V mentioned, you can use VISA read/write commands to talk to your sensor. The only thing you have to do is to specify a different VISA resource COM 1,2,3 etc... for each sensor.

Also, what do you mean by the six devices conflicting with each other? Can you be a little more specific?

Regards,
Eli S.
National Instruments
Applications Engineer
0 Kudos
Message 5 of 6
(5,142 Views)
Hi All,
 
I realize you already have some sensors to work with, but in the future you may want to check this out:
 
 
It's a series of instrument drivers for wireless sensors.
 
Thanks,
Charlie S.

Visit ni.com/gettingstarted for step-by-step help in setting up your system
0 Kudos
Message 6 of 6
(4,829 Views)