hexagon logo

Getting started in VB for your PC DMIS

I like many of you have done very little with VB. As for me; I had no idea where or how to start. I could not see how typing those hundreds of lines of script could ever save me any kind of time and as far as finding a way to learn it or someone to get me started that just got to be a joke, unless I went and took a full blown course (that I didn't even know if I'd get anything out of or if I would ever use”. I had given up.

Well the other day I happened across something I think might actually be of help and makes doing something in VB practical. I don’t need to write every one of those hundreds of lines of script, and I can start learning from myself.

What I did was I took a program I already have “A regular PC DMIS Program I built and run often” and did an EXPORT as BASIC. When I opened it up all those hundreds of lines of script were already in there and though in a different “form or language” what ever you want to call it I found that I could walk thru most if not all of it as it was the same program I have in PC DMIS also. Now rather than typing all that out I need only “ADD, SUBTRACT and CHANGE things to make it work for me.

Now I think I have a starting place to try some VB.

I don’t know maybe I’m the only one that did not know this? Maybe I’m not yet on the right track, But I think I have a starting place now and I know before this I was lost.

I hope this is helpful to some of you.

Best of luck,

Tested
Parents
  • Hi All,

    I am new to PC-DMIS but I need to write a Visual Basic program to automate some measurement. I am able to collect PC-DMIS 4.2 with my visual basic but I don't know how to define points with know XYZ and drive the CMM with my visual basic. Could someone help and post some sample codes?

    Many Thanks!
    Terry
Reply
  • Hi All,

    I am new to PC-DMIS but I need to write a Visual Basic program to automate some measurement. I am able to collect PC-DMIS 4.2 with my visual basic but I don't know how to define points with know XYZ and drive the CMM with my visual basic. Could someone help and post some sample codes?

    Many Thanks!
    Terry
Children
No Data