Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Pi-Plates DAQ boards for RPi where do I start?

Hi There,

A little over a year ago I asked if anybody has had a chance to use any of the hats made by Pi-Plates.com and Labview. It seems nobody has.

 

There are Node-Red and Python libraries for this family of devices but no LabView. The folks over at Pi-Plates aren't interested in making an LV library so I'd like to take a shot at it.

I need some help at the starting line.

The device, a Pi-Plates DACc2Plate in this case, connects through the main header and uses the SPI port. Aaaaaand that's where I am. 

What would be the next couple steps to write a basic vi to talk to it? I don't necessarily want the source, I just want some direction and basic steps. I learn better when I'm a little lost and once I have some momentum, i'll pick it up quickly. Somebody, please shoot this starting gun for me. 

 

Thanks

0 Kudos
Message 1 of 5
(177 Views)

Probably the best bet is to create a C/C++ shared library that can be called from LabVIEW code (Call Library Function Node).

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
0 Kudos
Message 2 of 5
(125 Views)

Alternatively, you can use the hobbyist toolkit to perform the SPI calls to interact with the plates but you'll be able to pull from less example code but getting started would be easier once you learn the SPI comms the plates use.

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
0 Kudos
Message 3 of 5
(123 Views)

Yes! I thought that [a C library] might be a good approach. While investigating I found a couple older/possibly abandoned C/C++ libraries on GIT. If those are valid and functional, that approach would probably be the most direct, fastest running code, right?  I do still want an understanding/experience with the SPI comms, just to have it. 

0 Kudos
Message 4 of 5
(111 Views)

What about a python library? Could I use that instead of a C library?

0 Kudos
Message 5 of 5
(57 Views)