vMix Forums
»
General
»
General Discussion
»
Trigger script from VMIX event.
Rank: Newbie
Groups: Registered
Joined: 7/6/2021(UTC) Posts: 4 Location: Tel Aviv-Yafo Thanks: 1 times
|
Hello,
Any idea how to trigger script from internal VMIX event without using external application? Try to control Panasonic RP-150 PTZ controller camera selection, when specific camera is selected on PVW same camera will be selected on the Panasonic controller.
The script for controlling Panasonic PTZ (different script for every camera):
Dim client = WebRequest.create("http://xx.xx.xx.xx/cgi-bin/aw_cam?cmd=XCN:01:1&res=1") Dim response = client.GetResponse()[/b][/b]
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
If i understand your question correctly :
Script checks which input( camera) is in PVW , performs some logic to triggers in script functions or another script accordingly
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/6/2021(UTC) Posts: 4 Location: Tel Aviv-Yafo Thanks: 1 times
|
yes,
the script need to be triggered from camera PVW event.
every time a specific camera is selected to PVW an http command (as describe above) is send to PTZ controller to change camera
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Grappa yes,
the script need to be triggered from camera PVW event.
every time a specific camera is selected to PVW an http command (as describe above) is send to PTZ controller to change camera As mentioned before a (constant running) script needs to check what is in PVW . One can pull that information from the API XML in the script https://forums.vmix.com/...86-Scripting-for-Dummies
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/22/2020(UTC) Posts: 7 Thanks: 3 times Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: doggy Originally Posted by: Grappa yes,
the script need to be triggered from camera PVW event.
every time a specific camera is selected to PVW an http command (as describe above) is send to PTZ controller to change camera As mentioned before a (constant running) script needs to check what is in PVW . One can pull that information from the API XML in the script https://forums.vmix.com/...86-Scripting-for-Dummies Thought I remembered the same subject passing trough these forums on a earlier moment. Want to take a guess how you handled repetitive questions back then? ;)
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Trigger script from VMIX event.
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close