The only supported variable types that can be passed into BASIC scripts from PC-DMIS are:
Integer
String
Double
I can get ONLY INTEGER to work, though... UNTIL I discovered that this form of BASIC requires that we specify the value of the MyVar object as LongValue, DoubleValue, or StringValue, etc. The variable type in the part program MUST match the variable usage in the BASIC program.
The only supported variable types that can be passed into BASIC scripts from PC-DMIS are:
Integer
String
Double
I can get ONLY INTEGER to work, though... UNTIL I discovered that this form of BASIC requires that we specify the value of the MyVar object as LongValue, DoubleValue, or StringValue, etc. The variable type in the part program MUST match the variable usage in the BASIC program.