toggle button

Help each other out

toggle button

Postby d0ubled0wn on Wed Jul 27, 2005 8:32 am

I want to make toggle function button: when pressed it sends a girder RS232 event to switch input# to output# to a AV switcher when pressed again it sends a off command

so it opens the audio path to the specified output and then closes the audio path i tried to follow the post by Hjackson to no success and if I were to be successful i would have to come up with 64 different categories its an 8X8 switcher is there another way of doing it
thanks
d0ubled0wn
 
Posts: 22
Joined: Thu Jun 02, 2005 6:11 pm

Postby d0ubled0wn on Sun Jul 31, 2005 7:39 am

Ok so i made the 64 actually 72 different categories and DB's plus the events to match them and its doing what it needs to do.


" redbull does give you wings"

now the problem is if I toggle on a button on one page how do I bring that state to another page.

So my buttons do 2 things input# to output# and output# off

if

input1 to output1 in page A is toggled

when I go to page B it shows

input1 as being off
because I have not triggered it in page B

now it gets trickier because

page A sends input1 to outputs 1 thru 8
Page B sends input2 to outputs 1 thru 8

and so on

so even though Page B has different events then Page A I still would like feedback on that specific output as to whether it has been toggled on or off

so I thought about inplementing a script or something like this

Code: Select all
if Zone# current active then on button# press load Page#

if Page# current active then set  output# status to  toggle button#
page#



( I can get RS232 feedback dont know how to do it from girder but the switcher does talkback)

so the above is just a basic idea of what the script would do I just dont know how I would attach the script to XL and what language to use C# or VB and how does the script look for the status do I make a new event to send a string to the script so it updates after every push is there a tutorial into implemeting scripts into XL

one last thing all the events sent form the toggle buttons are
girder RS232 events imported into XL events

Thanks
d0ubled0wn
 
Posts: 22
Joined: Thu Jun 02, 2005 6:11 pm