HAL Pin not setting

More
6 years 6 months ago #165903 by rodw
HAL Pin not setting was created by rodw
I don't understand.

I am trying to use a plasmac Pin in a custom component (plasmac.thc_active)
At first I thought I it was becasue it was defined in plasmac_monitor.hal so it needed to be post_gui
So I tried that and failed

so I edited plasmac_monitor.hal like this
Code:
net plasmac:thc-active <= plasmac.thc-active net plasmac:thc_active => plasmac_monitor.led-thc-active net plasmac:thc_active => thcad10.thc-is-active

I can monitor these pins in Halscope.

The signal net plasmac:thc_active is working as expected but my pin thcad10.thc-is-active which should urn on and off in unison is never set. Other pins in my component are working as I expected so I don't understand why the signal is npt passed to the component.

Any Ideas? This is very perplexing and I've wasted hours on this.

Please Log in to join the conversation.

More
6 years 6 months ago #165910 by bbsr_5a
Replied by bbsr_5a on topic HAL Pin not setting
if you use a HAL NET it will work


net myplasmac_thc-active <= plasmac.thc-active

net myplasmac_thc-active => plasmac_monitor.led-thc-active
net myplasmac_thc-active => thcad10.thc-is-active


isent internal interpreter the SAME pin not to be set
net plasmac:thc-active <= plasmac.thc-active

Please Log in to join the conversation.

More
6 years 6 months ago #165912 by rodw
Replied by rodw on topic HAL Pin not setting

bbsr_5a wrote: if you use a HAL NET it will work


net myplasmac_thc-active <= plasmac.thc-active

net myplasmac_thc-active => plasmac_monitor.led-thc-active
net myplasmac_thc-active => thcad10.thc-is-active


isent internal interpreter the SAME pin not to be set
net plasmac:thc-active <= plasmac.thc-active


I have done that. Just that we have used a : in the signal name. Look closely
Code:
plasmac:thc-active

I doubt that is the issue. plasmac_monitor.led-thc-active lights up
But I'm not at the machine now.

Please Log in to join the conversation.

More
6 years 6 months ago #165916 by bbsr_5a
Replied by bbsr_5a on topic HAL Pin not setting
im not that programmer
but isent the ":" to interpreter a C-Component command bridge and therfor running into a non execute as the interpreter cand interpret it

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum