Loading…
Loading…
方法名称: PulseOutTestMeth
方法ID: 0x4157
方法标签: Pulse O/P Test
方法描述: Manually set the Pulse Output frequencey and the duration of the test. Duration is in seconds. A value of 0 sets the Pulse Output to run continuously
- {
- int DeviceStatus;
- float RunTime;
- int channel;
- float frequency;
- long duration;
- long ids[1];
- _set_device_status(0xFF,0);
- _fassign(16555,0);
- _iassign(16554,0);
- while (1)
- {
- channel = SELECT_FROM_LIST(literal_string(635),literal_string(636));
- while (1)
- {
- _get_local_var_value(literal_string(637),0,literal_string(638));
- if (frequency < 1.0 || frequency > 1000.0)
- ACKNOWLEDGE(literal_string(639));
- else
- break;
- }
- _get_local_var_value(literal_string(640),0,literal_string(641));
请登录以获得完整内容