Connecting ClassicLader variables with HAL.

More
29 Oct 2024 14:15 #313430 by Zayoo
Hello,
plese could you be so kind and help me connect pyvcp scale value which is i think integer number to ClassicLader %IW0 input variable to use as comparison later in classicladder. 

pyvcp code:<scale>
<font>("Helvetica",16)</font>
<width>"25"</width>
<halpin>"my-hscale"</halpin>
<resolution>1</resolution>
<orient>HORIZONTAL</orient>
<initval>1</initval>
<min_>0</min_>
<max_>999</max_>
<param_pin>1</param_pin>
</scale>
in hal ini file:

net input-password  pyvcp.my-hscale classicladder.0.in-('%IW0')???

Thank you   
 

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

More
29 Oct 2024 14:35 #313432 by Aciera
try:
classicladder.0.s32in-00

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

More
29 Oct 2024 14:58 #313435 by Zayoo
It's ok thanks.
In meantime i figure it out that information is clearly visible in Halshow window Pins -> classicladder -> 0

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

Time to create page: 0.091 seconds
Powered by Kunena Forum