LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data from Oak Sensor to Excel

Hi

 

I am new to Labview and would be happy for some assistance

I have several USB connected Toradex Oak sensors which I want to read out and pass the data either dynamically or at the end of the measurement to excel. The sensors should report every 40 ms.

Toradex has a library which works nicely

http://www.toradex.com/@api/deki/files/756/=Oak_LabVIEW_Library_v0123.zip

though it reads only one sensor at the time and I can not Figure out how to report the data into Excel.

In addition I would need up to 8 sensors connected.

 

So if you could guide med in getting the sensor data values into Excel

and eventually several sensors in parallel I would be thankful.

 

Cheers, Geab

0 Kudos
Message 1 of 2
(2,799 Views)

Hi Geab,

 

Please take a look at the examples in the Labview Example Finder(Search for "Excel") for example codes on how to export measurment data to Microsoft Excel.

You can use ActiveX calls in Labview to export the measurement data to Excel("ActiveX Event Callback for Excel.vi").

Or

For more functionality between Labview and Excel you can use our Report Generation Toolkit, where you will be able to use standard functions to export Labview table/array data to an Excel sheet.

 

From the Toradex Labview library I can see that they are calling a dll for readig the data from one channel of the USB sensor. For reading several sensors in parallel you can try to implement parallel loops in Labview. However this means you will be trying to access the same Hardware resource from multiple places in the code. Depends on the dll this might be not be possible.

 

Are there any special reasons that you are using Toradex Oak sensors? With a better understanding of your application we might be able to find a more optimized solution on the application setup.

 

Please let me know if this helps!

 

Thanks!

 

 

-----------------------------------------------------
Dennis Morini
District Sales Manager
National Instruments Denmark
http://www.ni.com/ask
0 Kudos
Message 2 of 2
(2,760 Views)