REDIRECT_STRING
jg@gatorint.com
Posts: 4
Hi everybody,
I'm currently experimenting the REDIRECT_STRING funtion with some difficulties. Here is my questions:
- Where can i found some information about this subject? except the folowing netlinks help (that is not really helpfull):
This command is used to pass all strings from device 1 to device 2 and all strings from device 2 to device 1. This is called a redirection and you can assign up to eight of them at one time. The syntax is:
REDIRECT_STRING (Number, Device1, Device2)
The parameter Number identifies the particular redirection (1-8). To cancel a redirection, pass zero for Device1 and Device2. Redirections are lost if system power is turned off.
-Is it possible to uses virtual devices with this function?
-Is it possible to redirect more that one device at a time? : the following exemple is not working:
REDIRECT_STRING(1,dvSonyJoy2,dvStudioAFlex1)
WAIT 5 {REDIRECT_STRING(2,dvSonyJoy2,dvStudioAFlex2)}
WAIT 10 {REDIRECT_STRING(3,dvSonyJoy2,dvStudioAFlex3)}
WAIT 15 {REDIRECT_STRING(4,dvSonyJoy2,dvStudioAFlex4)}
WAIT 20 {REDIRECT_STRING(5,dvSonyJoy2,dvStudioBFlex1)}
WAIT 25 {REDIRECT_STRING(6,dvSonyJoy2,dvStudioBFlex2)}
WAIT 30 {REDIRECT_STRING(7,dvSonyJoy2,dvStudioBFlex3)}
WAIT 35 {REDIRECT_STRING(8,dvSonyJoy2,dvStudioBFlex4)}
It is only taking the last redirection.
Thanks in advance for your help.
Best Regards,
I'm currently experimenting the REDIRECT_STRING funtion with some difficulties. Here is my questions:
- Where can i found some information about this subject? except the folowing netlinks help (that is not really helpfull):
This command is used to pass all strings from device 1 to device 2 and all strings from device 2 to device 1. This is called a redirection and you can assign up to eight of them at one time. The syntax is:
REDIRECT_STRING (Number, Device1, Device2)
The parameter Number identifies the particular redirection (1-8). To cancel a redirection, pass zero for Device1 and Device2. Redirections are lost if system power is turned off.
-Is it possible to uses virtual devices with this function?
-Is it possible to redirect more that one device at a time? : the following exemple is not working:
REDIRECT_STRING(1,dvSonyJoy2,dvStudioAFlex1)
WAIT 5 {REDIRECT_STRING(2,dvSonyJoy2,dvStudioAFlex2)}
WAIT 10 {REDIRECT_STRING(3,dvSonyJoy2,dvStudioAFlex3)}
WAIT 15 {REDIRECT_STRING(4,dvSonyJoy2,dvStudioAFlex4)}
WAIT 20 {REDIRECT_STRING(5,dvSonyJoy2,dvStudioBFlex1)}
WAIT 25 {REDIRECT_STRING(6,dvSonyJoy2,dvStudioBFlex2)}
WAIT 30 {REDIRECT_STRING(7,dvSonyJoy2,dvStudioBFlex3)}
WAIT 35 {REDIRECT_STRING(8,dvSonyJoy2,dvStudioBFlex4)}
It is only taking the last redirection.
Thanks in advance for your help.
Best Regards,
0
Comments
I can't think of one good reason to use it, so please, enlighten me
FYI it is working with this:
DEFINE_COMBINE (vdvSonyJoy2_2,dvSonyJoy2)
REDIRECT_STRING(2,vdvSonyJoy2_2,dvStudioAFlex2)
but it's very slow due to the virtual device, too slow for camera control.
Also it seem that the REDIRECT_STRING can only make one link between 2 devices at a time, this is the reason why i had tried with virtual devices.
Why don't you just SEND_STRING from DATA.TEXT from one device to another...
- Chip