10-20-2017 11:59 AM
hi all
I come from a c# background
is this bit of code below possbile to do in the math script module?
if so could someone get me up and running
thanks
nmea = "HDT,120,T";
for(var i = 0; i < nmea.length; i++)
{
checksum = checksum ^ nmea.charCodeAt(i);
}
checksum = checksum.toString(16);
nmea = '$' + nmea + '*' + checksum;
10-20-2017 01:04 PM
Why MathScript? It's easily down in LabVIEW (hope, google found all C++ functions correctly):
Regards, Jens
10-20-2017 01:11 PM
is there an interpretation tool out their for labview? hahaha
could you send me on that just to see whats going on
im a labview novice
thanks
10-20-2017 01:40 PM
The picture is a VI snippet. You can copy that to a block diagram.
Regards, Jens