logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
VVEPBrian  
#1 Posted : Tuesday, October 27, 2020 12:11:24 AM(UTC)
VVEPBrian

Rank: Member

Groups: Registered
Joined: 3/15/2018(UTC)
Posts: 12
Location: Syracuse

Was thanked: 1 time(s) in 1 post(s)
I'm just starting to dabble with using Scripts, and I can't help but think that what I have happening is a glitch in the matrix. In my script, the first thing I have it do is PreviewInput one of my PTZ camera's virtual inputs. The line is "Function=PreviewInput&Input=2 Podium Medium" This works as expected, it previews that input and moves the camera to the desired position without affecting the output.

The issue is that further down the script, I want it to Preview another PTZ cameras virtual input, and I use the exact same code for that camera, which is "Function=PreviewInput&Input=1 Podium Tight". I would expect it to behave just like the first time I used the PreviewInput function, but instead as soon as it hits that line it cuts directly to that Input on the Active Output as well.

I'm no expert in Scripting, but I don't see where I could be introducing user error. The first time I use the PreviewInput function it behaves as expected. The second time I use it, it behaves differently and immediately makes that input Active. Does anyone know what in the wild wild world of sports is going on here?
doggy  
#2 Posted : Tuesday, October 27, 2020 2:29:14 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,222
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
WHy not post the script ?

Users browsing this topic
Guest
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.