LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build a system like robot teaching system

As we all know,we can program a robot by calling instructions in its system.For example,wo can make it go to position A,then position B.It's very simple to change the order of the instructions,so that the robot will go to position B,then position A.You only have to click several times. The new program is completed.When you click instructions,they pop relative parameters. So after you fill up the sheet,you finish the instructions.Can anybody give some advice?

0 Kudos
Message 1 of 4
(1,217 Views)

@papigo wrote:

As we all know,we can program a robot by calling instructions in its system.For example,wo can make it go to position A,then position B.It's very simple to change the order of the instructions,so that the robot will go to position B,then position A.You only have to click several times. The new program is completed.When you click instructions,they pop relative parameters. So after you fill up the sheet,you finish the instructions.Can anybody give some advice?


I'm no robotics expert, but I am having trouble understanding the connection between what you described in the post vs what is described in the subject.  Could you go into more detail?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 4
(1,206 Views)

In our normal program,it runs in order. For example,we have 3 steps to do,A B C. I need ABC,AABC,BAC,BCCAA.

I don't know all the arrangements.When I need AABC, I can drag A twice. Every time I drag A,it will pop parameters sheet.Every step has its own parameters.The whole program can be saved,loaded. The order is not written in block diagram in advance.

0 Kudos
Message 3 of 4
(1,137 Views)

Hi papigo,

 


@papigo wrote:

I need ABC,AABC,BAC,BCCAA.

 

Every time I drag A,it will pop parameters sheet.Every step has its own parameters.The whole program can be saved,loaded. The order is not written in block diagram in advance.


  1. So you need a configuration dialog where you can define the order of steps (A, B, C) and set the parameters for each step.
  2. Then you need a way to load/save those parameters sets.
  3. And you need a way to process the sets as the user defined them.

You need to implement:

  1. A VI to have the user input all that data.
  2. I recommend to use either CSV or INI files to store your data, others may suggest XML or JSON too. It depends on your requirements and preferences which one you choose…
  3. I recommend a QMH, which executes your commands (aka A, B, C) with their parameters.

In the end you are the programmer and you need to implement all that!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(1,102 Views)