LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital multichannel serial data acquisation by labVIEW from arduino

hii. I m fairly new to labVIEW. I ain't using the labVIEW interface for arduino. My aim is to just acquire and process. I am trying to acquire 8 digital channels data(24 bits each channel) with a byte long start packet (0xA0) at the very beginning and a byte long end packet (0xC0) at the end of 8th channel data from a single line in serial format from arduino and to put them in 8 different graphs. can you suggest me the required Vi palletes for this. And also an example VI which is similar to my requirements. With regards. Ghalib

0 Kudos
Message 1 of 6
(5,136 Views)

Take a look at the examples for simple serial communication (via the VISA driver).

A digital signal only requires 1 bit.  Where do you get 24 bits?

Message 2 of 6
(3,645 Views)

I am using ADC s with 24 bits resolution. plz help. i know nothing.

0 Kudos
Message 3 of 6
(3,645 Views)

Who is the manufacture and what is the model number for your analog to digital converter?  Is it a delta sigma ADC?  What type of interface does it use?  How many ADCs are you using?

hrh212

0 Kudos
Message 4 of 6
(3,645 Views)

yes it is a delta sigma adc. It uses SPI interface. it is ADS1299 from texas instruments. There are 8 adc s inbuilt in the chip. It is a front end eeg acquisition chip.

0 Kudos
Message 5 of 6
(3,645 Views)

I suggest you start by by getting  the ADS 1299 to first work with Arduino.  You have a large project and you will make better progress if you break into it chunks.  No LIFA in the first chunk.  What Arduino board are you using?

A library for use with Arduino Due and a ADS 1299 is available here'

<https://github.com/adamfeuer/ADS129x-tools

The above library and Arduino Due are not compatible with LIFA.  But it is worth mentioning if you need to collect data at rates greater than 500 samples per second. 

A older version of a library for use with Arduino Uno and ADS 1299 is available here;

<https://github.com/OpenBCI/OpenBCI-V2hardware-DEPRECATED/tree/master/Arduino/Libraries/ADS1299>

LIFA has a sub VI for use with the SPI interface.  In this chunk you will need to closely examine the ADS 1299 library so you can replicate the chunk one functions using LIFA.  You can not simultaneously use the code you use in the first chunk with LIFA..  Chunk one is a learning step and prepares you for creating an LIFA VI that uses SPI.

In chunk 3 you need to convert the ADS 1299 output data into a format useable by Labview and stuff t he data into a multi dimensional array.

In Chunk 4 you need to convert the array data into cluster data and plot the data. 

The above information is for a person who is willing to spend many hours getting a ADS 1299 to work with Laview.  For the person who is more interested in doing research than developing a Labview ADS 1299 VI there is this option.

<http://openbci.myshopify.com/collections/frontpage/products/openbci-8-bit-board-kit>

hrh212

Message 6 of 6
(3,645 Views)