[To...] Posted November 6 Share Posted November 6 Is there a way to have the setup picture pop up when opening a program using PCM? Link to comment Share on other sites More sharing options...
[Ch...] Posted November 6 Share Posted November 6 Hi, There are 2 easier ways of doing this, 1) using plan > Measurement run info for CNC Start 2) using a 'programmable stop' inside of your first feature but if you want to use PCM : These should work : systemCallWithWait("cmd.exe /c start C:\path_to_your_set_up\setup.ppt") Also : // Assuming set up pic is in your program folder - probably the best place for it. DIR=getActualInspectionDir() systemCallWithWait("cmd.exe /c start "+DIR+"\set_up.ppt") 1 Link to comment Share on other sites More sharing options...
[Ch...] Posted November 7 Share Posted November 7 Another easy way without using pcm is the "inspection_post_load.bat" method. inspection_post_load will run when you load the program. Just create a file with this name and place it in your program folder. To call a file all you have to do is put the file path inside the file. For example: "C:\Lab\Lab Documents\SampleFile.pdf" Be sure to include the quotation marks. 2 Link to comment Share on other sites More sharing options...
[Ri...] Posted November 7 Share Posted November 7 Please sign in to view this quote. Can that code be used on systems that do not have a PCM license? (I use images). Link to comment Share on other sites More sharing options...
[Je...] Posted November 11 Share Posted November 11 Please sign in to view this quote. No 1 Link to comment Share on other sites More sharing options...
[is...] Posted November 14 Share Posted November 14 Another way without pcm. 1 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