I have an automation job working with the NI myRIO in an existing control system, and I would like to attach the Vl53L0X for locating objects. On the bench, I've been able to use the VL53L0X with an Arduino library flawlessly. However, it is not clear how to get the myRIO to even talk with the sensor (I2C only).
Is there a way to convert Arduino header files to a LabView SubVI?
I'm ready to put some leg work in, I just need to know how to even start.
My current tests so far:
I've used a logic sniffer to analyze what the Arduino is sending the sensor, hoping I could dumbly mimic it on the myRIO, but could not make sense of the multiple, multiple write and reads before any data was actually sent. I believe that ST (the chip manufacturer) has purposefully obfuscated their chip for some unclear reason, forcing developers to go through their extremely limiting C API.