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.
For anyone who's interested, we are about to release Inspect 5.1 which includes the ability to automatically calibrate all tips from all probes used within a routine. This was in response to multiple requests from users who were trying to do exactly what is being discussed in this thread. The aim was to make it much simpler for the average user to accomplish without the need for bespoke VB scripts and user interfaces. You can find more information on Inspect 5.1 in the current technical preview section of the main forum here :
https://www.pcdmisforum.com/forum/de...ct-5-1-preview
For anyone who's interested, we are about to release Inspect 5.1 which includes the ability to automatically calibrate all tips from all probes used within a routine. This was in response to multiple requests from users who were trying to do exactly what is being discussed in this thread. The aim was to make it much simpler for the average user to accomplish without the need for bespoke VB scripts and user interfaces. You can find more information on Inspect 5.1 in the current technical preview section of the main forum here :
https://www.pcdmisforum.com/forum/de...ct-5-1-preview