Jump to content

Alternative script to eliminate the physical button on the T-SCAN hawk 2


---
 Share

Recommended Posts

Just started getting to know the T-SCAN hawk 2 & ZEISS INSPECT. I realise that the button (main trigger button to start the scan) on the T-SCAN hawk 2 is in place so that there is no need to operate the software separately on a laptop. 
 
However, in reverse, I was wondering if there is an option / method to operate the start of the scan on the software without the use of the button? Ultimately eliminating the physical function of the button. By modifying / adding on to the Python script?
 
Link to comment
Share on other sites

  • 11 months later...

Hello

Please sign in to view this username.

I’m working on an automation script for Hawk2 as well, and I just happened to come across this post.

You can use 

gom.script.sys.tscan_hawk2_scan(timeout=10)

to start a scan and the timeout parameter to specify when the scan will automatically stop.


However, I have an additional question: is it possible to toggle the scan on and off I want?
I used .__doc__ to check, and it seems that the timeout parameter is mandatory.
Sometimes, I can’t precisely define the scan time because each workpiece is different. I hope someone can share their suggestions.

Edited
Link to comment
Share on other sites

  • 8 months later...

Please sign in to view this quote.

Dear Sean

Have you fixed this problem?We have met the same problems these days.

The SCAN can not be switched on and off as we want when we use gom.script.sys.tscan_hawk2_scan(timeout=10) 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...