![Vallen spotWave 201 Скачать руководство пользователя страница 35](http://html1.mh-extra.com/html/vallen/spotwave-201/spotwave-201_instruction-manual_3233499035.webp)
2022-07
file: spotwave_instructions_manual.docx
35 of 50
16.5.4. Example
Recording mode
Following example shows how to setup the device and start acquire data.
set_filter 80 350 8\n
// set 8th order bandpass 80-350 kHz
set_acq thr 1000\n
// set threshold to 1000 µV / 60 dB(AE)
set_acq ddt 400\n
// set ddt to 400 µs
set_acq cont 0\n
// disable continuous mode
set_acq tr_enabled 1\n
// enable transient data
set_acq tr_decimation 2\n
// set TR decimation factor to 2 -> 1 MHz
set_acq tr_pre_trig 200\n
// set TR pre-trigger samples to 200 = 100 µs
set_acq tr_post_dur 200\n
// set TR post-duration samples to 200 = 100 µs
set_acq status_interval 1000\n // set status interval to 1000 ms = 1 s
set_cct interval 0\n
// disable CCT / pulser
start_acq\n
// start data acquisition
// wait a little bit
get_ae_data\n
// retrieve hits and status data
3\n
S temp=27 T=16024576 A=22 R=1166717 D=2000000 C=0 E=38788614 TRAI=0 flags=0\n
S temp=26 T=18024576 A=23 R=119636 D=2000000 C=0 E=38927169 TRAI=0 flags=0\n
S temp=27 T=20024576 A=22 R=588985 D=2000000 C=0 E=38857408 TRAI=0 flags=0\n
get_tr_data\n
// retrieve transient data of hits
0\n
// no hit so far
// produce a hit
get_ae_data\n
2\n
S temp=27 T=2010240 A=21 R=502689 D=2000000 C=0 E=38849818 TRAI=0 flags=0\n
H temp=27 T=3044759 A=3557 R=24 D=819 C=31 E=518280026 TRAI=1 flags=0\n
get_tr_data a\n
TRAI=1 T=942670 NS=1902\n
667\n
1016\n
1243\n
…
-130\n
0\n
stop_acq\n
// stop data acquisition
Logging mode
Following example shows how to setup the device for logging mode and read out the data from the internal
memory afterwards.
set_datetime 2020-09-29 08:29:50.301\n // set current date and time
…
// set acquisition settings
clear_data_log\n
// clear logged data from internal memory
set_data_log enabled 1\n
// enable logging mode
start_acq\n
// start acquisition in logging mode
// or: unplug spotWave and power on again
…
stop_acq\n
// optional: stop acquisition
get_data_log\n
// read all logged data from internal memory
R stamp=2020-12-17 18:31:53.199\n
H temp=27 T=0 A=21 R=188222 D=200000 C=0 E=4415998 TRAI=0 flags=0\n
H temp=27 T=200000 A=23 R=196638 D=200000 C=0 E=4399477 TRAI=0 flags=0\n
…
clear_data_log\n