Optimizing Readings Procedures
6-22 PN: 10585-00001 Rev. P ML2437A/38A OM/PM
C code example:
/* Reset unit and ask for 200 buffered readings n channel 1 */
Send(0, 13, “*RST; ON 1, 200”, 15L, NLend);
/* use a large buffer size (4K for 200 readings) */
Receive(0, 13, buffer, 4096, STOPend);
Changing Measurement Modes
By changing the sensor measurement mode to Custom, the ML243xA can be precisely
configured to meet the needs of the specific application.
In this example, the Trigger Gate Width has been reduced to 1 ms, Channel 1 is set to Sensor
A, and Channel 2 is off.
C code example:
/* reset unit. Custom measurement mode, 1 ms TRGGW */
/* Auto averaging Sensor A Channel 2 off*/
/* Use FAST mode*/
Send(0, 13, “*RST; FAST ON; SENMM A, CUSTOM; TRGGW 1 ms”, 51L,
NLend);
Receivesetup(0,13);
/* Fast mode, therefore do not send ‘O 1’ for data, just read.*/
for(i=0; i<10; i++)
RcvRespMsg(0,buffer,STOPend);
Table 6-8. Power Levels and Reading per Second
Settling (%) Power Level (dBm) Readings/s
0.1 0 216
0.1 –30 202
Table 6-9. Power Levels and Reading per Second
Power Level (dBm) Readings/s
0 240
–30 240