extracting ConfData from robot target.

Hi,

I was wondering of a function that can extract and store the config data of a robot target?

I was going to write my own function using “CalcjointT” but wondered if there was an easier way :)?

If anyone knows of something it would be good to hear!

Thanks

You don’t need a function, just declare a confdata variable and assign the value from the robtarget to it.

VAR confdata myConfData;

MyConfDtata:=p10.robconf;

perfect, thanks again for the tip!

hopefully soon ill be one of the ones answering questions and not asking them all the time! :smiley: