[Me...] Posted February 17, 2021 Share Posted February 17, 2021 Hello all, I hope someone can help me. The task. I start a test plan, right after the start of the CMM measurement technician operator should read the file list.txt with instructions for measurement. In this list I have saved for which design the test plan works. I know I can use the Measurement process information button at CNC start. Behind this button I have stored information about the clamping of the workpiece on the CMM. What I have to do to see and read this list.txt appear on the desktop? Link to comment Share on other sites More sharing options...
[Ro...] Posted February 17, 2021 Share Posted February 17, 2021 Well you could do a text file launch if you want, but if the instructions are fairly straight forward you could just use comments in the presettings. A message would look something like this message("Did you forget how to load this part already??"+cr()+"load the part like Winfried showed you last week!"+cr()+"Did you even take notes???") Ill show you the TXT file method, i just need to remember the command for launching a BAT file which will then open a TXT file of your choosingsfdsfdfgghghfjh.JPGfjhwregheryusfh.JPG Link to comment Share on other sites More sharing options...
[Mi...] Posted February 18, 2021 Share Posted February 18, 2021 Create a batchfile named "inspection_start.bat" Edit batchfile and insert path and name of the textfile you want to open, e.g. "d:\test.txt" Than you have 2 options: 1. place the batch file the inspection folder C:\Users\Public\Documents\Zeiss\CALYPSO\workarea\inspections\Pruefplan 10 the batchfile is only executed in inspection "Pruefplan 10" 2. place the batch file in inspection directoy C:\Users\Public\Documents\Zeiss\CALYPSO\workarea\inspections\ the batchfile will be executed in all inspections In both option the textfile will pop up after you have startet your inspection, but the machine will only start running after closing the txt-file. Link to comment Share on other sites More sharing options...
[Ro...] Posted February 18, 2021 Share Posted February 18, 2021 Please sign in to view this quote. Thank you Michael, i forgot about that one. Inspection_start.bat does work, but it doesn't pause the program, it just launches the TXT file while also starting the program. So you also need a message to pause the program and wait for operator to push a button, any comment will work. But you also need a wait() command so the operator will see the TXT file, otherwise the TXT file will pop up but instantaneously be pushed back and covered by calypso, so a wait will slow this down but not stop it (does that make sense?) I attached a zip file with 2 files inside, extract and put the inspection_start.bat file in the inspection folder of the program you're working on. put the TXT file somewhere, possibly the same folder or maybe another location, you decide. Right click and EDIT the bat file, add the location of your txt file. in the presettings of your program, copy & paste wait(10) message("Are you ready to go?") That should get you startedforum111.zip Link to comment Share on other sites More sharing options...
[Mi...] Posted February 18, 2021 Share Posted February 18, 2021 Hello Roberto, i tried it at 3 different machines, none of them did move until i closed the txt-file. Link to comment Share on other sites More sharing options...
[Is...] Posted February 18, 2021 Share Posted February 18, 2021 Michael is right, in this particular case the program waits until the file or the cmd window is closed.. Link to comment Share on other sites More sharing options...
[Ro...] Posted February 18, 2021 Share Posted February 18, 2021 It didn't work right on my Offline seat. But either way, glad you got it working. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in