Hi guys. I recently created a form in VB studio to be used for a front end GUI. I am currently creating a button for autocalibration. So in a nutshell this is what im doing. The operator will click on the autocalibration button and it opens up a file dialog box to navigate to whatever program they want to run. After they select the program I wrote a code to go into said program and find all the active tip angles in said program and it then writes them to a txt file on the desktop. After that, it opens up a program I wrote that pretty much just has a DO loop to open/read the text file with the tip angles and loops through each individual line/angle and calibrates them accordingly using the autocalibrate command, some IF/GOTO statements, and parameter sets. I have that working fluently, The problem is we use sooooo many different tip angles so this process would be extremely tedious and time consuming to do for every angle the machine is capable to index to. My question is, is there a way to assign a variable to a parameter set so I can just create one single autocalibrate command and loop through each line in my text file and assign that tip angle to both the tip command and parameter set? Or maybe an easier way than how i am going about doing this. Any help or direction would be appreciated. See attachment for my current program format.
Ninja, I know. I was hoping maybe I would get lucky haha! But, you also said you were able to get it to actually calibrate the tips? My program wont even get that far, I just get this error and it deselects my highlighted tips. At least on my offline seat. I have yet to try it at the CMM.