Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Activate camera in station

#3
(07-15-2021, 01:23 PM)Vineet Wrote:Hello,

This is possible using the setParam method in Python, which I think is SetParameter in C#.

Code:
camera = RDK.Item('Camera 1')
camera.setParam("Close") #"Open to start the camera

I tried the following in C#

camera.setParam("Open")

and I get the following error despite the camera activating in the RDK window.

"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"

Note: I am using the RoboDK.cs from the SampleProject for this, if that matters.


Messages In This Thread
RE: Activate Camera in Station - byVineet- 07-15-2021, 01:23 PM
RE: Activate Camera in Station - byAlec.Zitzelberger- 07-15-2021, 06:35 PM
RE: Activate Camera in Station - byVineet——07-15-2021 07:25点



Users browsing this thread:
1 Guest(s)