Page 1 of 1

GPS error in flowcode

Posted: Sat Jan 08, 2011 9:35 am
by JohnCrow
Hi
When I try to run a simple flowcode simulation using the GPS macro, I get the following error message
Error in <SimMacroCall2>

Im trying to read Lat/long from the gps

I realise it is not possible to actually simulate GPS in flowcode, but I would expect the simulation to give a default reading.

Also it is not possible to cancel the error, I have to close flowcode.
However the program works when loaded into a pic.

Re: GPS error in flowcode

Posted: Mon Jan 10, 2011 11:50 am
by Steve
This is a known problem with the GPS macros that return a "float" value. The best workaround I can suggest if you wish to simulate these programs is to put a breakpoint onto the float-returning macros. This way, the error messages will not appear constantly and you will get the opportunity to stop the simulation.