Launching gladevcp panel with gmoccapy

More
6 months 1 week ago #345745 by scsmith1451
I'm struggling to launch a gladevcp panel from my gmoccapy interface. I've queried the web for examples and feel that I'm on the right track, but without success.  I'm open to any suggestions.

I've attached my .ini file along with my gladevcp.ui and custom_postgui.hal for reference.

FYI - I have a laser crosshair that I use to locate the program start for a project. The laser can be toggled by either the gladevcp panel or via a toggle switch on the machine. I've wired up the machine such that either source will set an input pin high to turn on the panel LED. If the laser is toggled via the machine toggle, I want a visual indicator to remind me to turn it off manually.
Once I get the panel to display and the led to toggle properly, I may split the input to I get a visual indicating which source toggled the LED, but for now I just want to get the panel up and working. There is no custom python handler needed at this time.

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

More
6 months 1 week ago #345755 by grandixximo
EMBED_TAB_LOCATION = ntb_preview
or
EMBED_TAB_LOCATION = ntb_user_tabs

Did you try these?

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

More
6 months 1 week ago - 6 months 1 week ago #345757 by Aciera
Just a stab, you are loading 'custom_postgui.hal' twice, which does not make a lot of sense:

Code:
EMBED_TAB_COMMAND = gladevcp -x {XID} crosshair-panel.ui -H custom_postgui.hal


Code:
POSTGUI_HALFILE = custom_postgui.hal



Generally it would be quite helpful if you told us what actually is not working.
Start your config from the terminal and share the output you get there.
Last edit: 6 months 1 week ago by Aciera.

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

More
6 months 1 week ago #345764 by grandixximo
Also new 2.10 will not start with your .ini configuration having names with hyphens, use underscores

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

More
6 months 1 week ago #345810 by scsmith1451
Yes, I've tried both, neither surfaced the gvcp panel with gmoccapy.

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

More
6 months 1 week ago #345811 by scsmith1451
 

File Attachment:

File Name: DadStartUp.txt
File Size:3.36 KB

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

Moderators: newbynobi, HansU
Time to create page: 0.063 seconds
Powered by Kunena Forum