hexagon logo

Set A Variable in PC-DMIS with a textbox in VB.Net

Hi guys,

I have taken on the task of automating our CMM operations, and so far I have been able to push through some of my issues but I am stumped on this one. All I want to do is have the VB program output whatever is written in a textbox into a variable on PC-Dmis.

Thanks for the help.
Matt
Parents
  • .LongValue is expecting a floating point number like 3.1415926536, but you are trying to transfer text. You should use .StringValue instead.

    And I would suggest ASSIGN/JOBNO="" in the PP, so that the type is correct (I don't think that is necessary, but it helps you remembering what's expected).
Reply
  • .LongValue is expecting a floating point number like 3.1415926536, but you are trying to transfer text. You should use .StringValue instead.

    And I would suggest ASSIGN/JOBNO="" in the PP, so that the type is correct (I don't think that is necessary, but it helps you remembering what's expected).
Children
No Data