06-03-2017 04:11 PM
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 ??
06-05-2017 12:40 PM
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:
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
06-05-2017 01:11 PM
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?
06-06-2017 10:36 AM
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?
06-10-2017 06:15 PM
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.
06-12-2017 12:36 PM
How do you intend to transfer the data between the Arduino and LabVIEW?
06-12-2017 01:15 PM - edited 06-12-2017 01:19 PM
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 ??
06-13-2017 11:47 AM
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