Jump to content

Running a batch file at the end of an empty Calypso Program


Recommended Posts

Hi all,

I am setting up the autorun screen for my operators where some of the parts being scanned on a LineScan require post processing and data upload to PolyWorks separate from the inspection program. I have all the scripts ready and the batch file primed to go, BUT the report_end.bat or inspection_end.bat does not trigger the batch file to run.

I am currently working on 5.8.28 on an empty program, as in I just created a new measurement plan and saved it with the .bat in the inspection folder.

Does anyone have an idea on why I can't get the the .bat to execute?

Thank you!

-Chris
I have a file "inspection_end.bat" in every one of my folders that triggers a train whistle sound at the end of a program run. it works fine in regular and autorun mode.
I don't understand what you're trying to do with the empty program....

Matthew
Yes it works if you know how to setup a bat file. name it inspection_end.
Called into Zeiss support, and figured it out, thought I would let everyone know...

It was windows messing things up. The extension .bat gets saved as .bat.bat if you have hide extensions for known file types and you manually call the file a batch file.

Its under folder options, "hide extensions for known file types"
  • 1 year later...

Please sign in to view this quote.

Hi!

Is it possible that you could share how did you manage to pull this off? We have parts that take a long time to measure and would be great if we have a "sound alarm" when the measuring is finished. Does this .bat work on all versions? (we have 2016 Calyso on our machines).
Would be greatfull!

Regards

Please sign in to view this quote.

I attached a zip file, it contains a Bat file called "inspection_end" and the train whistle sounder i use.
(FYI i use a train whistle in order to penetrate the ambient noise of my shop i need a loud and high pitch noise, a lower tone or a song would be difficult to hear)
Put the train whistle somewhere in your computer that wont be moved or changed, i would suggest NOT putting it in a Zeiss folder as the file paths can change with major updates. I use C:/Temp because every computer has that file.
Put the Inspection_end file in the program folder of the part you want the sounder on, right click on it and click "edit". change the file path to the place you put the whistle.
Close and test by double clicking on the bat file, it should launch the sounder, if not then something is screwed up.
If it works then you're done, Calypso will look for inspection_end at the end of every run and if present will execute it.
Now that you're done you can copy the bat file and add the sounder to other programs as fast as you can hit [Ctrl V]

gejkfgnjkfgjkfgdjk.JPGbat file & Train Whistle.zip

×
×
  • Create New...