Nan - voltage

More
6 years 1 month ago #183245 by Tesremos
Replied by Tesremos on topic Nan - voltage
latest .comp nan on the second open, with lowpass at 25


attached are the two printouts

Please Log in to join the conversation.

More
6 years 1 month ago #183246 by phillc54
Replied by phillc54 on topic Nan - voltage
Is that on a VM or bare metal?

If baremetal is that with the plasma machine powered on?

Please Log in to join the conversation.

More
6 years 1 month ago #183247 by Tesremos
Replied by Tesremos on topic Nan - voltage
thats on the actually plasma machine yes.
no simulations here :)

Please Log in to join the conversation.

More
6 years 1 month ago #183254 by phillc54
Replied by phillc54 on topic Nan - voltage
Can you confirm that a lowpass of 0 seems to cause no error

Have you tried a different value for lowpass, say 50

So as soon as LinuxCNC starts the nan appears. Are these numbers roughly what you see on startup:
Warning: Spoiler!

If you want halshow to autostart, save the attached file in the config directory and add this the to ini file:
Code:
[APPLICATIONS] DELAY = 3 APP = halshow my.halshow.txt

Please Log in to join the conversation.

More
6 years 1 month ago #183257 by Tesremos
Replied by Tesremos on topic Nan - voltage
lowpass = 0 results in 0 instances of nan 20/20 tests
lowpass = 25 results in nan 11/20 tests
lowpass = 50 results in lowpass 13/20 tests


edit :
Warning: Spoiler! [ Click to hide ]

You do not have permissions to access this page.

Please Log in to join the conversation.

More
6 years 1 month ago #183258 by phillc54
Replied by phillc54 on topic Nan - voltage
This one should give an error message with some values when it first sees a nan, hopefully it will point us in the right direction.


Edit: Oops, I missed a variable. I replaced the file...

Please Log in to join the conversation.

More
6 years 1 month ago #183266 by Tesremos
Replied by Tesremos on topic Nan - voltage
no worries, il give it a go as soon as i get to the shop tommorrow :)
thank you phill.

Please Log in to join the conversation.

More
6 years 1 month ago #183267 by phillc54
Replied by phillc54 on topic Nan - voltage
I'm sure we'll get there eventually.
I made a Stretch VM today to match your machine and built master branch to the same commit version you have and still can't get a single nan so it's all guesswork on my part.

Please Log in to join the conversation.

More
6 years 1 month ago #183391 by Tesremos
Replied by Tesremos on topic Nan - voltage
here is your generated error :)


edit: and now i know how to screenshot!!! winning

Please Log in to join the conversation.

More
6 years 1 month ago #183392 by rodw
Replied by rodw on topic Nan - voltage

Tesremos wrote: here is your generated error :)


edit: and now i know how to screenshot!!! winning


So clearly as I suspected, and mentioned before, the calibration values in the GUI are not making it to plasmac.comp.

The simplest workaround is to configure Plasmac in hal. Try something like this in your postgui.hal file
Code:
unlinkp plasmac.arc-voltage-offset unlinkp plasmac.arc-voltage-scale setp plasmac.arc-voltage-offset <your_offset_value> setp plasmac.arc-voltage-scale <your_scale_value>

EDIT: There is no need at all to have these values in the GUI as once set up, they never need changing. I suggest taking those values out and using some INI file settings to populate them (or a setp in my connections)

Please Log in to join the conversation.

Time to create page: 0.180 seconds
Powered by Kunena Forum