I know i can use pointers to point at digital input states, but can I do the same for digital input latching states (IsOnLatchSet)? I am trying to use pointers in optoscript and everything I’m trying says error or type mismatch. Thanks!
I know i can use pointers to point at digital input states, but can I do the same for digital input latching states (IsOnLatchSet)? I am trying to use pointers in optoscript and everything I’m trying says error or type mismatch. Thanks!
Yes, you should be able to use the latch commands on a pointer to a digital input. Are these errors you are getting at runtime? Are you sure the IO point supports latching?
It is a simple digital input form SNAP-IDC-32. IT looks like the IsOnLatchSet() parameter is a digital input, pointer isnt listed in the dropdown.
I think my inputs were set as outputs. that would explain alot.