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
Papriks  
#1 Posted : Friday, August 2, 2024 6:30:23 AM(UTC)
Papriks

Rank: Newbie

Groups: Registered
Joined: 10/19/2023(UTC)
Posts: 2
Latvia
Location: Riga

Hello,
I have 2 pc's in network. I want to control PC2 with PC1 scripts. I wanna write a script on PC1 that triggers a function on PC2.
I have enabled WEB controller on PC2 but don't know where to start in script. Could anyone give me a script example for a basic function?
Thanks!
nikosman88  
#2 Posted : Friday, August 2, 2024 7:23:49 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 429
Greece
Location: athens

Thanks: 116 times
Was thanked: 65 time(s) in 61 post(s)
Originally Posted by: Papriks Go to Quoted Post
Hello,
I have 2 pc's in network. I want to control PC2 with PC1 scripts. I wanna write a script on PC1 that triggers a function on PC2.
I have enabled WEB controller on PC2 but don't know where to start in script. Could anyone give me a script example for a basic function?
Thanks!

Hello. A simple example is like this
Code:

Dim client = WebRequest.Create("http://192.168.10.102:8088/api/?Function=OverlayInput1&Input=2")
Dim response = client.GetResponse()
response.Close

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.