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.
GPS error in flowcode
Moderator: Benj
- Steve
- Matrix Staff
- Posts: 3421
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: GPS error in flowcode
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.