Nan - voltage

More
22 Sep 2020 04:03 #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
Attachments:

Please Log in or Create an account to join the conversation.

More
22 Sep 2020 04:25 #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 or Create an account to join the conversation.

More
22 Sep 2020 04:48 #183247 by Tesremos
Replied by Tesremos on topic Nan - voltage
thats on the actually plasma machine yes.
no simulations here :)

Please Log in or Create an account to join the conversation.

More
22 Sep 2020 05:28 #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:
[APPLICATIONS]
DELAY = 3
APP = halshow my.halshow.txt

Please Log in or Create an account to join the conversation.

More
22 Sep 2020 05:55 - 22 Sep 2020 05:56 #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.
Last edit: 22 Sep 2020 05:56 by Tesremos.
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

More
22 Sep 2020 06:59 - 22 Sep 2020 07:16 #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...
Attachments:
Last edit: 22 Sep 2020 07:16 by phillc54.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
22 Sep 2020 09:17 #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 or Create an account to join the conversation.

More
22 Sep 2020 09:55 #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 or Create an account to join the conversation.

More
23 Sep 2020 04:28 - 23 Sep 2020 04:29 #183391 by Tesremos
Replied by Tesremos on topic Nan - voltage
here is your generated error :)


edit: and now i know how to screenshot!!! winning
Attachments:
Last edit: 23 Sep 2020 04:29 by Tesremos.

Please Log in or Create an account to join the conversation.

More
23 Sep 2020 04:35 - 23 Sep 2020 04:37 #183392 by rodw
Replied by rodw on topic Nan - voltage

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
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)
Last edit: 23 Sep 2020 04:37 by rodw.

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.119 seconds
Powered by Kunena Forum