I am trying to figure out if I can use a basic program to assign variables to features for data transfer. I have three parts, hopefully more in the future, that I measure everyday. They are very similar and use most all of the same feature #s and Variable #s. currently, I am assigning all variable in each part program, then writing the data to a .txt file that gets picked up by a SQL Server. Instead of writing everything out in each Part .prg, I would like to write a basic routine to do this so that I only have to modify one document to get the data for all 3 .prg's. Is this possible?
You can write a script that adds the code for the assignments to your part program.
Assign an icon for the script and place it on the PC-DMIS toolbar. Just click the icon whenever you'd want to add the assignments in your partprogram.
I have a script that does this for tracefields, I think it is available somewhere in here. That could help you get going.
You can write a script that adds the code for the assignments to your part program.
Assign an icon for the script and place it on the PC-DMIS toolbar. Just click the icon whenever you'd want to add the assignments in your partprogram.
I have a script that does this for tracefields, I think it is available somewhere in here. That could help you get going.