ZED-F9P I2C interface with LabVIEW

Hi

I need to read the GPS coordinates of the ZED-F9P in LabVIEW.

Currently I’m reading from slave address 42 in hexidecimal. I’ve found this address in the Arduino libary and nowhere else. I want to read UBX-NAV-PVT (0x01 0x07). I’m still just using high level VIs. See attached picture. I’m writing to 0x01 (Class) and 0x07 (ID) in an array in that order, and reading 92 bytes which is the length.

I’m reading a lot of numbers, but none are stable, and seem to be random, ie. they seem to be the same if I try to read UBX-NAV-STATUS (0x01 0x03).

VI.png

Hi Niclas,

I am afraid this is not something SparkFun Technical Support can assist you with. If you are having issues using the ZED-F9P with either U-center or the SparkFun u-blox Arduino library, we would be happy to help. The source files for the [SparkFun Ublox Arduino library might give you some guidance with your LabVIEW code.

Other users on this forum who are more familiar with LabVIEW may be able to provide some help here. Otherwise, you may want to try searching or posting on the [LabVIEW MakerHub Forums for help with your code.](Hobbyist Toolkit - NI Community)](GitHub - sparkfun/SparkFun_Ublox_Arduino_Library: Library to control UBX binary protocol and NMEA over I2C on Ublox GPS modules)