[Th...] Posted November 11, 2020 Share Posted November 11, 2020 I am not very familiar with PCM. Is there a PCM code to turn on or off at the beginning of a program when prompted to do? Operator will be prompted for SPC with a Yes or No and if Yes will go to Table File and if No will not. Any help would be greatly appreciated Thanks Thad Link to comment Share on other sites More sharing options...
[Me...] Posted November 11, 2020 Share Posted November 11, 2020 Put this in presettings of the program if confirm("Do you want to turn on table files") settingPut("resultToTableFile",true) else settingPut("resultToTableFile",false) endif Link to comment Share on other sites More sharing options...
[Th...] Posted November 12, 2020 Author Share Posted November 12, 2020 Phillip I tries what you suggested and it does prompt me "Do you want to turn on table file?" which is exactly how I want to, but it does not actually turn on the table file.IMG_0727.jpg Link to comment Share on other sites More sharing options...
[Me...] Posted November 12, 2020 Share Posted November 12, 2020 You added an extra "s"... "resultToTableFile" is what you need. Link to comment Share on other sites More sharing options...
[Th...] Posted November 12, 2020 Author Share Posted November 12, 2020 Thank you 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