LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview communicate with Arduino+XBEE

Hi everyone,
i want to send a signal from arduino to LabView via two xbee.. what is the best code for arduino and labview to have a good transmission and acquisition signal ??

0 Kudos
Message 1 of 8
(3,948 Views)

Hi Meth12,

 

Are you familiar with the LabVIEW arduino toolkit? This is a link to the web page for this toolkit.

http://sine.ni.com/nips/cds/view/p/lang/en/nid/212478

 

The following two links show how to get started with Arduino communication and a simple example:

 

http://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/LabVIEW-Interface-for-Arduino-Setup-Procedure/...

 

https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/Arduino-Example-Simple-LED/ta-p/3522414

 

I would also recomend looking at this introduction to using XBEE with LabVIEW:

https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/BEGINNER-connection-Labview-Xbee/td-p/3416872

 

It would also be helpful to know exactly what you are trying to do. What is your application and your final goal? A diagram of the system components and communication between them would be helpful. 

 

-Mitchell | NI

 

 

0 Kudos
Message 2 of 8
(3,843 Views)

Hi mfaltin,

My project is about transmission of single channel EEG based on arduino boad for ADC and xbee. I'am trying to acquire the signal comes from pin A0, transmitted by xbee and display it on labview.

Can you enlighten me Sir on how it is possible to send and display a good EEG signal?

0 Kudos
Message 3 of 8
(3,840 Views)

Hi meth12,

 

EEG's are not my area of expertise so I will not be able to help you with the technical knowledge of how to collect an EEG signal. If you want to communicate between the Arduino and LabVIEW, I recommend looking through the documentation of the LabVIEW-Arduino toolkit or trying one of the examples I provided.

 

Have you gotten an example program working?

0 Kudos
Message 4 of 8
(3,823 Views)

hi mfaltin,
sorry for the late i was so busy. yes i do have a program working... honestly, what i'am looking for is an arduino code to send and receive signal from arduino board to display it in LabVIEW.

0 Kudos
Message 5 of 8
(3,801 Views)

How do you intend to transfer the data between the Arduino and LabVIEW? 

0 Kudos
Message 6 of 8
(3,781 Views)

By usb cable .. i attached arduino to computer via usb cable .. in LabVIEW i read from the COM of arduino, set the same baude rate and run my program.

Now i want to send data via xbees modules. What is the code to transmit and receive the signal ?? 

0 Kudos
Message 7 of 8
(3,777 Views)

Hi meth12,

 

You will need to develope the code on your own. There is no standard shipping example for xbee communication. I recommend looking at the examples and tutorials I sent you and also posting your question in the LabVIEW Interface for Arduino Discussions linked below.

 

https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/ct-p/7008

0 Kudos
Message 8 of 8
(3,763 Views)