Hi,
There are a few setup issues in the POU.
The first is that the POU inputs and outputs weren't actually being used, so they have to be connected up.
The second issue is that the GUIDE graphical code can't interface to a Double type, so that has to be converted before it is handed over to GUIDE.
---POU code start
double radians_lat;
Bytes_to_Radians(byte_array, &radians_lat);
*radians = (int32_t)radians_lat;
---POU code end
Return value of ~3.034 or just 3 when I run it in the debugger.
This should at least let you continue then with the rest of the conversions
The debugger can be pretty handy for c code, I often set the True constant next to the POU as a break point, and then just step through the code. This will also let you see some of the local variables in your c code to find any issues. (When stepping through the C file, the Local Variables are in the main GUIDE window in the bottom dock)
-Matt_Eng