Sub Page

33 views
Skip to first unread message

Deiby Rojas Montero

unread,
Jun 6, 2010, 5:54:07 PM6/6/10
to CommandFusion
I have a Button:

Digital Join 1 this botton call subpage join 1.

Digital Join 2 this botton call subpage join 2.

how do I call a subpage and close another at the same time??

Jarrod Bell

unread,
Jun 7, 2010, 3:24:24 AM6/7/10
to CommandFusion
Use a loopback system. UDP 0.0.0.0 any port, maintain constant
connection.
Then you can send yourself any commands and parse them for feedback to
do things such as manage multiple subpages at once.

Maybe send a command like: subpages=01, subpages=02, etc
Then a regex like: subpages=(01)?(02)? etc
And a capture group for each subpage: digital join, 'on value' matches
the number (eg. 01, 02, etc).

Jarrod

James S Davis

unread,
Jun 7, 2010, 5:04:10 AM6/7/10
to CommandFusion
I believe there is an easier way. I have don much the without the need
to use the RegEx.

I started by doing the same setting up a new system that I called
'DJoines' UDP 0.0.0.0 and maintain constant connection

Then I made command such as
Command Name: 20High
Command Value: imafake (This can
be anything but doesn't like to be blank)
Option Target Value Assignment : Yes
Join Type: Digital
Join Number: 20
Set Value: 1

Command Name: 20Low
Command Value: imafake (This can
be anything but doesn't like to be blank)
Option Target Value Assignment : Yes
Join Type: Digital
Join Number: 20
Set Value: 0

You can then make a macro of all the 'lows' and assign this to a
button.

I have used this when I have a button that opens up a remote sub page.
The button itself is assigned a digital join number to open the page
you want and I use the 'DJoinAllLow' macro (a macro that has multiple
DJoin low command - no delays) this then closes all sub-pages that you
want and opens only the one you want.
Reply all
Reply to author
Forward
0 new messages