LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Any LabWindows/CVI examples for SPI communication using DAQmx?

I have a PXIe-6363 module in a PXI running as a real time target, and I'm trying to talk to an accelerometer that communicates with SPI.  I know the 6363 isn't one of the special modules built for SPI, but my understanding is it should be capable; the issue is just the programming.  I've seen examples of this for LabVIEW using DAQmx.  Are there any examples out there for doing it in LabWindows/CVI?

 

I'm looking to save time and avoid reinventing the wheel here.  SPI is easy on an Arduino, so it should be doable in LabWindows/CVI, right?  

 

Thanks,

Matt

Message 1 of 2
(4,569 Views)

Hey Matt,

 

I was unable to find any full examples of SPI communication with DAQmx in C. My best suggestion would be to use the LabVIEW examples and implement the same series of function calls to implement the LabVIEW code in C. The DAQmx C API is good about keeping a standard with naming conventions to map with the function names in LabVIEW.

0 Kudos
Message 2 of 2
(4,484 Views)