Announcement

Collapse
No announcement yet.

Get the status of a bit?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Get the status of a bit?

    Hello,

    How do you get the status of one of the digital i/o bits using a script?
    I have tried several ways but does not seem to work

    Also how do you turn a bit on or off from a script command

    x=hs.devicestatus ("D2-1") does not work

    or

    x= hs.devicestatus ("ADIO-100 D2-1") also does not work

    Also only Bits 2 to 7 are on the status page bit 1 is not listed

    Thanks
    Last edited by marinetech; September 18th, 2011, 08:19 AM.
Working...
X