Page 1 of 1

pbauto.py setting accurate coordinates parameters

PostPosted: Tue Nov 07, 2017 3:52 pm
by dchelnokov
Hi,
I am using a pbauto.py v1.3.13077 @2017-03-13 with Python 3.6 (32-bit). PB Rev. 15101

When I am trying to send Y coordinates to a layer (2.30) to slightly move it up or down, I use the following command:
Code: Select all
pb.set_param_relative(2, 30, "Y Pos", 32768+1)

In this case my layer 2.30 is moved 0.008 generic units up on the screen. Is that the finest offset that I can get using SDK?
Thank you!

Re: pbauto.py setting accurate coordinates parameters

PostPosted: Tue Nov 07, 2017 4:17 pm
by dchelnokov
Oh, sorry! I've found the right command to do it as precise as I want: 8)

Code: Select all
pb.set_device_param_double(self, site_id, device_id, parameter_name, parameter_value, do_silent, do_direct)

Re: pbauto.py setting accurate coordinates parameters

PostPosted: Wed Nov 08, 2017 1:21 am
by Dennis Kuypers
Haha, nice :D