RobotStudio event

two dimensional num arrays

Hello,

I would need a 2x2 aray of num.

PERS num databuffer{sizebuffer,6};

I would like to be able to change a whole line in a single line of code, e.g.

databuffer{1} := [500, 148, 352, 120, 121, 024];

Error indicate that this is wrong since I did not give two indices. What can I do to change the lines of such array in a similar manner?

Thank you
Tagged:

Best Answer

Answers

  • (I would need a sizebuffer x 6 array of num.)
  • yep it helps ! thanks 
  • As I am a beginner i have doubt that, i'm using 2D array, and i'm confusion that how can i create an array for the different pallet for different component, and the operator will select any 2 component for the machine tending application.is there any simple way to do a array logic by this logic...