LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire data from USB-8452

I recently purchased a NI USB-8452 in the hope of streaming data from MEMS sensors (such as Accel 3 click or  STM - STEVAL-MKI153V1) but am quite lost and looking for help.
Maybe I even bought the wrong NI hardware for this application?
I cannot find any examples where USB-8452 is used to stream / acquire data
Any assistance / guidance in terms of hardware recommendations, schematics and VI examples would be greatly appreciated. Thanks - John

0 Kudos
Message 1 of 5
(1,620 Views)

The 8452 doesn't "acquire data" -- it allows LabVIEW to communicate with chips and systems that use the SPI or I²C protocol (and might "acquire data" as part of their function).  If you understand these protocols, and understand how your specific DAQ device (or chip) responds to these protocols, you can use the 8452 to send appropriate commands to your devices so that they organize their data and send it back to you (in SPI terms, you MOSI to them, and they MISO back to you).

 

Bob Schor

0 Kudos
Message 2 of 5
(1,560 Views)

Bob, thank you for your guidance. I was beginning to suspect that I was going down a rabbit hole trying to acquire data with an I2C/SPI interface. Going back to my trusty USB-6343 in the hopes of acquiring data from the sensors using DIO. Thanks again. Best regards, John

0 Kudos
Message 3 of 5
(1,550 Views)

DrJohn,

     Glad to be of service.

DrBob

0 Kudos
Message 4 of 5
(1,540 Views)

But the Accel 3 click is actually meant for I2C or SPI.  Depending on the rate you want, I would probably go with the SPI, though I have more experience with I2C.  It would just be a matter of figuring out the message format.  The rest is fairly simple if you follow the provided examples.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(1,524 Views)