Simulator for QtPlasmaC
25 Aug 2021 05:04 - 04 Mar 2022 02:34 #218673
by phillc54
Simulator for QtPlasmaC was created by phillc54
It is possible to create a sim config from an existing table config provided that the table config was originally created by PnCconf by doing the following:
Make a copy of the existing config.
Copy the two attached files into the copied config.
Rename sim.tcl.hal to sim.tcl. (the forum doesn't like .tcl files)
Edit the [HAL] section of the copied .ini file so it looks like:
Any HOME_SEARCH_VEL, HOME_LATCH_VEL, or HOME_FINAL_VEL settings that are negative will need to have the negative sign removed.
You should now be able to run the sim config.
If your original is a converted PlasmaC config then it may (or may not) work by commenting out or omitting the following two lines:
Make a copy of the existing config.
Copy the two attached files into the copied config.
Rename sim.tcl.hal to sim.tcl. (the forum doesn't like .tcl files)
Edit the [HAL] section of the copied .ini file so it looks like:
HALUI = halui
TWOPASS = ON
HALFILE = sim.tcl
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal
POSTGUI_HALFILE = sim.hal
Any HOME_SEARCH_VEL, HOME_LATCH_VEL, or HOME_FINAL_VEL settings that are negative will need to have the negative sign removed.
You should now be able to run the sim config.
If your original is a converted PlasmaC config then it may (or may not) work by commenting out or omitting the following two lines:
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal
Last edit: 04 Mar 2022 02:34 by snowgoer540.
The following user(s) said Thank You: billykid, tommylight, robertspark, thefabricator03, snowgoer540, fernandosf
Please Log in or Create an account to join the conversation.
- snowgoer540
-
- Offline
- Moderator
-
Less
More
- Posts: 2206
- Thank you received: 709
05 Sep 2021 13:25 - 06 Sep 2021 15:44 #219669
by snowgoer540
Replied by snowgoer540 on topic Simulator for QtPlasmaC
Note that if the user is moving to a new machine, or simulating another user's configuration, it will likely be necessary for the user to fix a broken symbolic link in the folder of the configuration to be simulated.
To do so:
In a terminal window, change to the directory that contains the configuration files.
For a package installation enter the following command:
For a Run In Place installation enter the following command:
Alternatively, the user could run this script (thanks to Phill for the reminder):
linuxcnc.org/docs/devel/html/plasma/qtpl...inuxcnc_installation
To do so:
In a terminal window, change to the directory that contains the configuration files.
For a package installation enter the following command:
ln -s /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/qtplasmac/qtplasmac
For a Run In Place installation enter the following command:
ln -s ~/linuxcnc-dev/configs/by_machine/qtplasmac/qtplasmac/
Alternatively, the user could run this script (thanks to Phill for the reminder):
linuxcnc.org/docs/devel/html/plasma/qtpl...inuxcnc_installation
Last edit: 06 Sep 2021 15:44 by snowgoer540. Reason: clarification, add alternative option, typo
Please Log in or Create an account to join the conversation.
- fernandosf
-
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 16
17 Sep 2021 02:13 #220849
by fernandosf
Replied by fernandosf on topic Simulator for QtPlasmaC
Please Log in or Create an account to join the conversation.
17 Sep 2021 02:14 #220850
by phillc54
Replied by phillc54 on topic Simulator for QtPlasmaC
Oops, I missed that one, Thanks...
Any HOME_LATCH_VEL or HOME_FINAL_VEL settings that are negative will need to have the negative sign removed.
And HOME_SEARCH_VEL too
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.522 seconds