LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

passign a value to a knob

Hi;

I have a question about the knobs and I would really appreciate if there is someone out there who can answer my question.

 

In my application, I am commanding the tip of a robotic arm.  My code takes this as the desired motion and  maps it  into joint motions. However, there are cases where I would like to command each joint individually rather than to command the tip of the robotic arm instead. In other words, I would like to have an automatic mode and manual mode for commanding joint motions. In order to command the robotic arm  manually, I am considering using knobs. However, I don't know how to pass the joint positions to the knobs so that I can start commanding the joints manually from where I  switched to manual mode. 

 

Kind Regards;

 

0 Kudos
Message 1 of 3
(2,500 Views)

what i understood that you would like to pass a preinitialised vale (of the joints) to knob control...

If my assumptions are true then you can create a local variable for this knob and pass appropriate value

 

PS:right click on the knob to create  local variable

 

Guru

Regards
Guru (CLA)
0 Kudos
Message 2 of 3
(2,496 Views)

Guruthilak wrote:

what i understood that you would like to pass a preinitialised vale (of the joints) to knob control...

If my assumptions are true then you can create a local variable for this knob and pass appropriate value

 

PS:right click on the knob to create  local variable

 

Guru


And this is the ONLY good reason (that I can think of) for using a Local Variable!

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 3
(2,476 Views)