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

I have Problems with inputs and outputs

#2
(03-23-2023,于PM)Mr.Relmy Wrote: Hello,

I have a UR3e robot. When I try to activate an output and get the value of an input, there are no warning messages. But when I use the fonction "len", It shows the value 0.

Also when I use the fonction "int" it doesn't work.
The type of data is "str"


Thank you for your reading,

Mr.Relmy

Hi, the RoboDK must be connected to the robot. See in the API description:
Quote:Get a Digital Input (DI). This function is only useful when connected to a real robot using the robot driver. It returns a string related to the state of the Digital Input (1=True, 0=False).This function returns an empty string if the script is not executed on the robot.
Seehere.


Messages In This Thread
RE: I have Problems with inputs and outputs - bymaexbecks- 03-23-2023, 05:43 PM



Users browsing this thread:
1 Guest(s)