Displaying a float with pyVCP

More
15 Jan 2021 00:18 #195381 by kkuehn
I'm attempting to display the current that my spindle (Huangyang vfd over RS485) is utilizing with using pyVCP and axis.
The spindle speed and other spindle control all works fine, but I can't get the current to show on pyVCP.
I have no idea what the issue could be because it even displays the correct numbers in hal meter (I can increase/decrease the speed of the spindle as see the vfd.OutA pin range from about 4 to 8, which would make sense as current for my spindle).

The halpin for the current is vfd.OutA, as documented here: linuxcnc.org/docs/html/man/man1/hy_vfd.1.html
I've tried using that pin and also linking it a signal called "spindle-current" and using that, neither worked.

Attached is my xml file, thanks for any help you can provide.

File Attachment:

File Name: pyvcp-panel.xml
File Size:2 KB
Attachments:

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

More
15 Jan 2021 01:01 #195384 by tommylight
Have not done this for a long time, but is there another file with the same name and the hal extension in that folder ?
The pins to pyvcp should be set or net-et in that file.

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

More
15 Jan 2021 01:51 #195390 by kkuehn
That was it, thanks.

Since you said you aren't using pyVCP do you prefer another method for making the GUI?
The following user(s) said Thank You: tommylight

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

More
15 Jan 2021 10:51 #195423 by tommylight
Not really, i liked pyvcp a lot.

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

Time to create page: 0.144 seconds
Powered by Kunena Forum