Loading…
Loading…
Method Name: meth_meter_verification
Method ID: 0x43B2
Method Label: Meter Verification
Method Help: Starts meter verification and shows the result PASS or FAIL. This procedure takes upto 4 minutes.
- {
- char status[3];
- char xmtr_status[25];
- char chrOPStateChoice[100];
- char chrOPStateLabel[100];
- char disp_string[100];
- char chrStiffnessLabel[100];
- char chrStiffnessChoice[100];
- char chrResult[100];
- int slen;
- int intOPState;
- int intOPStiffness;
- int stat;
- int intAbortCode;
- long var_id[2];
- int intProgress;
- int intAbortState;
- int intLPOStiffness;
- int intRPOStiffness;
- int intSoftwareRev;
- float set_point;
- intSoftwareRev = _ivar_value(158);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- slen = 100;
- _get_dictionary_string(858587284,chrOPStateChoice,slen);
- _get_dictionary_string(858587293,chrOPStateLabel,slen);
- intOPState = SELECT_FROM_LIST(chrOPStateLabel,chrOPStateChoice);
- if (intSoftwareRev > 50)
- _iassign(17168,intOPState);
- else
- _iassign(17650,intOPState);
- _get_dictionary_string(858587286,chrStiffnessLabel,slen);
- _get_dictionary_string(858587299,chrStiffnessChoice,slen);
- intOPStiffness = SELECT_FROM_LIST(chrStiffnessLabel,chrStiffnessChoice);
Please login for more