KFlopWebNC bug
Posted: Sat Nov 23, 2019 12:12 am
Tom,
I was just using InitInterpreterData() function within DeviceInteropHandler Interpretor.cs as a basis for setting the interpreter data in my app, and I think you've got the ENUM usage the wrong way in the Switch section for commands.
I think you've got M_Action_Program_PC, and M_Action_Program_wait_sync in the wrong places...
I was just using InitInterpreterData() function within DeviceInteropHandler Interpretor.cs as a basis for setting the interpreter data in my app, and I think you've got the ENUM usage the wrong way in the Switch section for commands.
Code: Select all
case MCODE_TYPE.M_Action_Program_PC:
p0 = command.Thread;
p1 = command.VAR;
sdata = command.FileName;
break;
case MCODE_TYPE.M_Action_Program_wait:
p0 = command.Thread;
p1 = command.VAR;
sdata = command.FileName;
break;
case MCODE_TYPE.M_Action_Program_wait_sync:
sdata = command.FileName;
break;