- Posts: 28
- Thank you received: 0
about PARAMETER_FILE=sim.var autosave file
7 years 1 month ago #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 to join the conversation.
7 years 1 month ago #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 to join the conversation.
7 years 1 month ago #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 to join the conversation.
7 years 1 month ago #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 to join the conversation.
7 years 1 month ago #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 to join the conversation.
7 years 4 weeks ago #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 to join the conversation.
Time to create page: 0.082 seconds
