Fluke Biomedical 4000M+ User Manual

Page 37

Advertising
background image

Appendix

The Commands

B

B-3

Send Exposure Data (D)

The command for sending data acquired by an exposure is the character, D. The 4000M+ will respond to
this command by sending:

<KVEFF> <KVAVG> <MR> <TIME> <NP><CR><LF>

where:

KVEFF

is kV effective,

KVAVG

is kV average,

MR

is dose,

TIME

is exposure time,

NP

is number of kV peaks measured.

This transmission will then be followed immediately by:

<KVP1><KVP2>...<KVPN><CR><LF>

where KVP1 through KVPN are kV peaks.

The following is a sample program:

5 REM THIS CODE READS THE EXPOSURE DATA.
10 PRINT #1, “D”;
20 INPUT #1,KVEFF,KVAVG,MR,SEC,NP
FOR I=1 TO NP
40 INPUT #1, PEAK(I)
50 NEXT I
60 REM THE ARRAY, PEAK, CONTAINS KV PEAK VALUES,
70 ‘KVEFF, KVAVG, MR, AND SEC CONTAIN EFFECTIVE
80 ‘KILOVOLTAGE, AVERAGE KV, EXPOSURE, AND TIME,
90 ‘RESPECTIVELY.

Send Waveform (W)

Both channel A and channel B radiation waveforms are available through the RS-232 port. The command
is W. This puts the 4000M+ in the waveform send mode. To get 10 data points, send the 4000M+ an
integer representing the number of the first data point; terminated with a <CR>. The 4000M+ will send 10
data points, beginning at the one requested, in the format:

<CHANNEL A> <CHANNEL B><CR><LF>.

The next 10 points may then be requested by sending the index of the next point to be sent, followed by a
<CR>. When all is finished, send <ESC> (chr$(27)).

Advertising