about PARAMETER_FILE=sim.var autosave file
- savoyyang
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 1
26 Sep 2019 09:24 #146240
by savoyyang
about PARAMETER_FILE=sim.var autosave file was created by savoyyang
Hello, everyone, I am testing my interface. I have used the function of setting the work origin(G5x offset : "G10 L20 P0..."). I have a problem, I start "linuxcnc config.ini" and set "G10 L20 P0...", but not saved in sim.var. Then I compared them with /usr/bin/axis and /usr/bin/gscreen ..,no relevant information was found. What can I do to save this file automatically?
Thank you!!!
Thank you!!!
Thank you!!!
Thank you!!!
Thank you!!!
Thank you!!!
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
26 Sep 2019 13:53 #146258
by pl7i92
Replied by pl7i92 on topic about PARAMETER_FILE=sim.var autosave file
the VAR setting only workes in a RT invirerment on a real mashine
why is there SIM.var in use
is it a Simulation setup
why is there SIM.var in use
is it a Simulation setup
Please Log in or Create an account to join the conversation.
- savoyyang
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 1
26 Sep 2019 14:14 #146264
by savoyyang
Replied by savoyyang on topic about PARAMETER_FILE=sim.var autosave file
sim.var just a example,it could be another name.
I use start linuxcnc ../linuxcnc/config/axis.ini or gscreem.ini the sim.var can be autosave, so it doesn't matter if it's real-time/real machine or not.
I use start linuxcnc ../linuxcnc/config/axis.ini or gscreem.ini the sim.var can be autosave, so it doesn't matter if it's real-time/real machine or not.
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
26 Sep 2019 14:23 #146267
by pl7i92
Replied by pl7i92 on topic about PARAMETER_FILE=sim.var autosave file
the var file in the SIM folder is regenerated at every start of any config so it is not to be used
look in INI and set a name of your use
[RS274NGC]
PARAMETER_FILE = myvar_name.var
then you can see the effect
look in INI and set a name of your use
[RS274NGC]
PARAMETER_FILE = myvar_name.var
then you can see the effect
Please Log in or Create an account to join the conversation.
- savoyyang
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 1
29 Sep 2019 00:31 #146527
by savoyyang
Replied by savoyyang on topic about PARAMETER_FILE=sim.var autosave file
Thank you for your reply, I have solved the problem, the reason is the folder permissions, resulting in the automatic creation of var file without permission at startup, this is my own problem.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4862
03 Oct 2019 00:32 #146919
by andypugh
Replied by andypugh on topic about PARAMETER_FILE=sim.var autosave file
I also have a feeling that the .var file is only saved when LinuxCNC exits.
It is the persistent store, not the working values. (partly because the realtime parts of linuxCNC run in kernel space and do not have file system access)
It is the persistent store, not the working values. (partly because the realtime parts of linuxCNC run in kernel space and do not have file system access)
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds