hexagon logo

Question regarding PC-Dmis built in Basic Editor

Hello,
I am working on a project to have our cmm save a .csv file once it is finished. I have not programmed a pc-dmis program in the past, just used them, but have a very small amount of general programming knowledge. I have used this forum and the PC-Dmis Basic Script Reference to get a scritp dumping the file.

My issue is, I would like to build out this script a little more, but the only place I can run and test it is at the CMM. I would like to build out my script, but not at the CMM. Is there any place I can download a editor. I tried to do it in word, using there VB editor, but the Syntax is different.

Do I need to keep building and testing at the CMM, or is there a separate editor?

/Thanks
  • Short answer is no, there is not a way to test your script without being at the CMM unless you purchase an offline license of PC-DMIS. Some developer-focused text editors (such as my favorite, Notepad++) have the ability to reference external compilers, but I do not know of a standalone compiler for PC-DMIS scripts.

    Do you have the PC-DMIS type library registered on the other PC where you are trying to write the script? If you have the type library (pcdlrn.tlb) registered on your PC and referenced in your VBA editor session (either inside Word or Excel), all of the PC-DMIS basic script keywords will become valid. While you would not be able to test without taking it over to your CMM, the syntax between VBA and PC-DMIS's basic script should be nearly identical.