Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Activate camera in station
#4
Hello,

Here is the code I tried and it works fine. Can you try this?

Code:
using System;

namespace SimpleNetcoreApplication
{
public class Program
{
static void Main(string[] args)
{
var rdk = new RoboDK();

// Connect to existing RoboDK or start a new one if RoboDK is not running
var status = rdk.Connect();
Console.WriteLine($"Connect status: {status}");

//RoboDK _RDK = new RoboDK();
RoboDK.Item camera = rdk.getItem("Camera 1");
camera.setParam("Open");

// close RoboDK
//rdk.CloseRoboDK();

}
}
}
Hope this helps you.


Messages In This Thread
Activate camera in station - byAlec.Zitzelberger- 07-14-2021, 09:05 PM
RE: Activate Camera in Station - byVineet- 07-15-2021, 01:23 PM
RE: Activate Camera in Station - byVineet——07-15-2021 07:25点



Users browsing this thread:
1 Guest(s)