Home AMX User Forum AMX General Discussion
Options

get port status

hello all
I was just reading about the SEND_COMMAND IO,'GET INPUT 2' as a command to check the status of an IO port. Now how can I read the info about that port ? I want to check the ports status at each start up to test for a certain condition and decide what page the TP will go from there.

Comments

  • Options
    To get the information in studio, you have to define a notification "String From" to the IO device Maybe you can get it by DATA_EVENT[IO]..STRING, and DATA.TEXT? Should not conflict with anyting other of the IO ports 'cause they can't receive strings from outside.
Sign In or Register to comment.