02-11-2021 02:42 PM
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
02-12-2021 07:07 PM
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
02-13-2021 04:11 PM
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
02-13-2021 09:57 PM
DrJohn,
Glad to be of service.
DrBob
02-15-2021 08:54 AM
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.