pbauto.py setting accurate coordinates parameters

Christie Pandoras Box Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Pandoras Box you are using. If your question is related to hardware, please state if you are using coolux hardware (which one) or if you built your own.

pbauto.py setting accurate coordinates parameters

Postby dchelnokov » Tue Nov 07, 2017 3:52 pm

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!
dchelnokov
 
Posts: 8
Joined: Sat Feb 23, 2013 10:24 am

Re: pbauto.py setting accurate coordinates parameters

Postby dchelnokov » Tue Nov 07, 2017 4:17 pm

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)
dchelnokov
 
Posts: 8
Joined: Sat Feb 23, 2013 10:24 am

Re: pbauto.py setting accurate coordinates parameters

Postby Dennis Kuypers » Wed Nov 08, 2017 1:21 am

Haha, nice :D
Dennis Kuypers
(former Product Developer, Software)
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm


Return to Pandoras Box V6

Who is online

Users browsing this forum: No registered users and 21 guests

cron