V+ Remote Library Documentation $variable The name of the variable to access wait.time The amount of time to wait for the execution to complete Output Parameters Parameter Description value The value of the variable status Status of the operation: 0 = success, Example .PROGRAM ex1.rm.vars.t() AUTO $object, $variable AUTO REAL status AUTO LOC t.value ; Write a value of 10 to the transform variable in the workspace $object = "/Box" $variable = "OffsetFromParent" SET t.value = TRANS(10,10,10,0,0,180) CALL rm.write.trns($object, $variable, 1, t.value, status) IF (status TYPE "Unable To Write Value:
", status PAUSE END ; Read the variable and ensure it is the same value CALL rm.read.trns($object, $variable, 1, t.value, status) IF (status TYPE "Unable To Read the Value: ", status PAUSE END .END rm.read.trnss($object, $variables[], wait.time, values[], status) Abstract Read a list of transform property variables associated with an object on the PC. The variable referenced must all be Transform3D types. Input Parameters Parameter Description $object The name of the remote object to access. This must include the full path name of the object to access. e.g.
"/directory/Robot 1" $variables[] The names of the variables to access wait.time The amount of time to wait for the execution to complete ACE Reference Guide, 18317-000 Rev A Page 832