I have designed my screens for an application I am working on, and need several buttons to operate relays whilst a keyboard button is held down and/or mouse click is held down. I have the screens and operate the relays using some simple VB. I can easily toggle them on and off, and all works fine.
But I need them to hold on only whilst the button is pressed or the mouse clicked - Does anyone know a way to do this with the Brains or VB or anything? I don't actually use an X Y Z axis - it could be a bodge but can the jog buttons be reused if there is no proper way to achieve what I want?
I have searched the forum and cannot find an answer although I did see similar questions posed several times.
Phil.
