0

Can you program GPIO output with Brightauthor



I know how to program GPIO outputs in scripting mode, but I'm looking for a brightauthor project to control a GPIO output for use in the schedules. Essentially the purpose is to turn off the display screen out of hours using a relay. Although I set GPIO 0 as an output in the EDIT/Preferences, the events GPIO control only appears to be for inputs and when I try to use the advanced command option to set the state it complains the GPIO line is configured as an input! Is there a way round this? Jeff

7 comments

  • 0
    Avatar
    RokuLyndon


    under file, properties, you can set the gpio settings for your current project. Then, you can use the advanced settings.
  • 0
    Avatar
    bolideuk


    But this does not work. I'm using version 2.0.0.23 of Brightauthor. I selected GPIO 0 to be an output in the properties before dropping the "GPIO INPUT" control onto the workspace, and when I try to use the advanced control GPIO ON (property 0) it still complains the line is confirgured as an input. What am I doing wrong?
  • 0
    Avatar
    bolideuk


    Ah I see one thing I did wrong, why is there GPIO property controls under the File/Presentation Preferences, and also under the Edit/preferences menu?
    When I make the GPIO 0 an output under the File/Presentation Properties control it then greys out in the workspace so how then do you apply it?
    If I set it to an output under the Edit/Preferences it seems to be ignored and still works as an input?
    If I drop the control onto the workspace as an input then change it in the File/Presentation Properties to an output the software complains the change has made the command illegal and insists on deleting it!

    Jeff
  • 0
    Avatar
    bolideuk


    I spoke too soon, I understand it now. GPIO output properties are applied to the advanced controls of an image or video. This is very confusing, and the manuals are very unclear

    Jeff
  • 0
    Avatar
    Dylan Paul


    This post helped me figure out the first step to a problem I am having, but what if I want more than 8 outputs?  the Brightauthor program won't let you assign an output higher than 7.  I have a GPIO button board and I don't see any way to access the higher number outputs (8-17).  How do I get control of these?

    Thanks
  • 0
    Avatar
    RokuLyndon


    THe button board is just a test board, nothing else.

    Brightauthor doesn't let you use more than 8 gpios.

    To get more gpios, you can use the usb expander, if you have a usb port on your brightsign. You would need a custom script to use it.


    Or, you can get a board from hms-electronics, that uses one of the serial ports along with the gpio port to give you more gpios up to 16 input and 16 outputs. That board would also require a custom script, but they have  a script posted that shows you how to use their board.
  • 0
    Avatar
    Dylan Paul


    Thanks,

    I can't use the expansion board because I need the usb port for the touchscreen.  I have a project that requires 23 touch regions and 18 outputs to coincide with the videos that each region plays (a light lights up while the video plays).  Is there any way to do this with a brightsign product/combo, or will I need another piece of equipment, like a plc?  I have tested the 23 regions and 8 gpio and that works.  Using a system of relays, I theorize that I could get the outputs up to 16 using the first 4 outputs as "modifiers" meaning multiple outputs doing multiple things depending on which combination.  But, all this still leaves me 2 short <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> .
Please sign in to leave a comment.