Nan - voltage
No, inf * 0 = nanSo infinity * 0 = 0 so how can it report a nan?
The first screen dumps were not at the time of startup, they were after the error had been established.When you go back to the First post and look at the screen dumps arc-voltage-in has a valid value but arc-voltage-out has a nan.
Exactly, it gives time for the encoder to pass a valid float.Maybe the one second delay simply allows the system to sort itself out. eg for the system to load.
Please Log in or Create an account to join the conversation.
It seems to me thats what should happen, but that did not seem to be the case.
Please Log in or Create an account to join the conversation.
I don't actually know what happened afterwards, all I knew about was the wrong display value. Maybe Tesremos will fill us in.So does receiving a number as a nan break things forever? Shouldn't it sort out the output when a valid number is received from the encoder?
It seems to me thats what should happen, but that did not seem to be the case.
Please Log in or Create an account to join the conversation.
I don't actually know what happened afterwards, all I knew about was the wrong display value. Maybe Tesremos will fill us in.So does receiving a number as a nan break things forever? Shouldn't it sort out the output when a valid number is received from the encoder?
It seems to me thats what should happen, but that did not seem to be the case.
So was it just the display value or was the arc voltage used by plasmac wrong too? You would not have thought you'd start cutting 1 second after turning the machine on.
Please Log in or Create an account to join the conversation.
Both the display and all the plasmac comp calculations.rodw wrote:
So was it just the display value or was the arc voltage used by plasmac wrong too? You would not have thought you'd start cutting 1 second after turning the machine on.
I just tried on a sim and everything seems to come back to normal afterwards. It gave this vague error dialog:
Attachments:
Please Log in or Create an account to join the conversation.
"halshow.tcl support display of nan"
github.com/LinuxCNC/linuxcnc/commit/accd...c21d2d3b5d208b0c1438
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Now that is a good reason to fix it.it crashes into stuff.
Please Log in or Create an account to join the conversation.
Now I know where that message came from.Sorry, just to be clear, WatchLoop in in that file.
Please Log in or Create an account to join the conversation.