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.
Yep! We have machines with the Renishaw head, and also machines with the Hexagon HH-AS8-T2.5. So I would be there for days creating all the separate parameter sets . And for every machine yet to boot . Haha have you ever messed around with the “calibrate single tip” command? I sort of got it to work , but I don’t know, there is just too much uncertainty there. Not sure I would feel confident enough using that . And for your last method, as long as you are grabbing the current active tips from each program that the operator would be running , would you have to write back the other tips ? Ugh you would think there would be an easier alternative then what there is. It would just be so convenient.
Yep! We have machines with the Renishaw head, and also machines with the Hexagon HH-AS8-T2.5. So I would be there for days creating all the separate parameter sets . And for every machine yet to boot . Haha have you ever messed around with the “calibrate single tip” command? I sort of got it to work , but I don’t know, there is just too much uncertainty there. Not sure I would feel confident enough using that . And for your last method, as long as you are grabbing the current active tips from each program that the operator would be running , would you have to write back the other tips ? Ugh you would think there would be an easier alternative then what there is. It would just be so convenient.