Acquiring Spectral Waveform and Image on a Raspberry PI (Problem with Vision Module)

asked 2017-10-07 09:20:28 -0500

Hello, first let me tell you about the equipments I'm using:: Computer: -Desktop PC with Windows 7 64-bit - Labview 2015 (32-bit) with Vision Acquisition - Labview 2014 (32-bit) with Vision Acquisition - LabVIEW 2014 Real Time Module - LINX 3.0 - Webcam Logitech C270 - Spectrometer Ocean Optics USB2000+

Raspberry: -Pi 3 Model B - OS: 2017-04-10-raspbian-jessie

For the last year I have been developing a VI that acquires two Images from 2 separate WebCams and a Spectrogram from the Ocean Optics Spectrometer every 5 minutes. Recently what I've been trying to do is deploy this VI on a Raspberry Pi 3 as a Stand-Alone application, but I've encountered a problem regarding the Vision Acquisition Modules I use in it and that have no compatibility with the Raspberry Pi. This means I have a problem with the Image Acquisition but not so much with the Spectral Data Acquisition.

In another topic somebody explained to me that in order to acquire images on Raspberry using Labview I would have to create myself a shared library between OpenCV and Labview and then call these functions on my VI, which seemed a bit hard for me. (1) Do you know where I could learn more about that? Or where could I search for a similar code that fulfills my needs? (2) Do you think it could be a simpler choice to abandon Labview altogether for this Raspberry Application and doing it all on Python Code? (3) Is there a way I can run the VI for Spectral Data Acquisition and the Python Code for Image Acquisition simutaneously and kind of sincronized? (not much precision needed) (4) Do you have any other suggestion on how to approach this situation?

I do not have much experience with Python coding, but am eager to learn. I just want to find a way of succeeding after all the hard work I might have to do..

Thanks in advance, I'm desperate for help ! Oscar

edit retag flag offensive close merge delete

Comments

you probably have to explain, what a VI is ;)

berak gravatar imageberak ( 2017-10-07 09:57:22 -0500 )edit
1

A Virtual Instrument (VI) is like a code in graphic language (G). It uses dataflow to sequence the functions execution.

oscarfahl gravatar imageoscarfahl ( 2017-10-08 08:05:29 -0500 )edit

k,k. ;)

what if you just take a look a the python tutorials , maybe you like, what you see.

berak gravatar imageberak ( 2017-10-08 08:26:58 -0500 )edit