
PROCEDURES | OPTIMIZING READINGS |
Using Using the buffered Output channel ON command (page
Buffered urement speeds can be achieved. By using the ON command instead of the O
Requests command x number of times, extra processing is removed, resulting in improved speed.
NOTE
Using FAST mode here will not increase the speed as this mode only works when asking for one measurement at a time (i.e., the ‘O’ command only.)
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);
Settling (%) | Power Level (dBm) | Readings/Second |
|
|
|
0.1 | 0 | 216 |
|
|
|
0.1 | 202 | |
|
|
|
Changing By changing the sensor measurement mode to Custom, the ML2430A Series can
measurement modes be precisely configured to meet the needs of the specific application.
In this example, the Trigger Gate Width (page
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 1ms”, 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);
Power Level (dBm) | Readings/Second |
|
|
0 | 240 |
|
|
240 | |
|
|
ML2430A OM | |
|
|