summaryrefslogtreecommitdiff
path: root/decoder/test/ieee488/test.conf
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2019-10-03 03:53:30 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2019-12-06 19:51:18 +0100
commitf1a2ccfb38b8d06593ba169a6672f3ccb3006625 (patch)
tree6668264e505acf5c9177d1541b3b280d7f5a86b4 /decoder/test/ieee488/test.conf
parentd2c173c74b4eede2b80539c250ac0d0619e261ff (diff)
downloadsigrok-test-f1a2ccfb38b8d06593ba169a6672f3ccb3006625.tar.gz
sigrok-test-f1a2ccfb38b8d06593ba169a6672f3ccb3006625.zip
ieee488: introduce tests for unified IEEE-488 decoder (GPIB and IEC)
Test the visual annotations as well as binary and Python outputs for several parallel GPIB captures (HP1631D, HP33120A, HP53131A, Keithley 2015) and the serial IEC capture (CBM1571). The "gpib_hp53131a_ton" capture does provide raw bytes, but its "payload" data output really is empty in the current decoder's implementation. A future implementation of the decoder may start flushing accumulated data for currently unhandled conditions, too.
Diffstat (limited to 'decoder/test/ieee488/test.conf')
-rw-r--r--decoder/test/ieee488/test.conf47
1 files changed, 47 insertions, 0 deletions
diff --git a/decoder/test/ieee488/test.conf b/decoder/test/ieee488/test.conf
new file mode 100644
index 0000000..43d9553
--- /dev/null
+++ b/decoder/test/ieee488/test.conf
@@ -0,0 +1,47 @@
+test gpib_hp1631d
+ protocol-decoder ieee488 channel dio1=0 channel dio2=1 channel dio3=2 channel dio4=3 channel dio5=4 channel dio6=5 channel dio7=6 channel dio8=7 channel eoi=8 channel dav=9 channel nrfd=10 channel ndac=11 channel ifc=12 channel srq=13 channel atn=14 channel ren=15
+ input gpib/hp1631d/gpib_hp1631d.sr
+ output ieee488 annotation match gpib_hp1631d.output
+ output ieee488 binary class raw match gpib_hp1631d.bin_raw
+ output ieee488 binary class data match gpib_hp1631d.bin_data
+ output ieee488 python match gpib_hp1631d.python
+
+test gpib_hp33120a
+ protocol-decoder ieee488 channel dio1=0 channel dio2=1 channel dio3=2 channel dio4=3 channel dio5=4 channel dio6=5 channel dio7=6 channel dio8=7 channel eoi=8 channel dav=9 channel nrfd=10 channel ndac=11 channel ifc=12 channel srq=13 channel atn=14 channel ren=15
+ input gpib/hp33120a/hp33120a-idn.sr
+ output ieee488 annotation match gpib_hp33120a.output
+ output ieee488 binary class raw match gpib_hp33120a.bin_raw
+ output ieee488 binary class data match gpib_hp33120a.bin_data
+ output ieee488 python match gpib_hp33120a.python
+
+test gpib_hp53131a_idn
+ protocol-decoder ieee488 channel dio1=0 channel dio2=1 channel dio3=2 channel dio4=3 channel dio5=4 channel dio6=5 channel dio7=6 channel dio8=7 channel eoi=8 channel dav=9 channel nrfd=10 channel ndac=11 channel ifc=12 channel srq=13 channel atn=14 channel ren=15
+ input gpib/hp53131a/hp53131a-idn-read.sr
+ output ieee488 annotation match gpib_hp53131a_idn.output
+ output ieee488 binary class raw match gpib_hp53131a_idn.bin_raw
+ output ieee488 binary class data match gpib_hp53131a_idn.bin_data
+ output ieee488 python match gpib_hp53131a_idn.python
+
+test gpib_hp53131a_ton
+ protocol-decoder ieee488 channel dio1=0 channel dio2=1 channel dio3=2 channel dio4=3 channel dio5=4 channel dio6=5 channel dio7=6 channel dio8=7 channel eoi=8 channel dav=9 channel nrfd=10 channel ndac=11 channel ifc=12 channel srq=13 channel atn=14 channel ren=15
+ input gpib/hp53131a/hp53131a-ton.sr
+ output ieee488 annotation match gpib_hp53131a_ton.output
+ output ieee488 binary class raw match gpib_hp53131a_ton.bin_raw
+ output ieee488 binary class data match gpib_hp53131a_ton.bin_data
+ output ieee488 python match gpib_hp53131a_ton.python
+
+test gpib_keithley2015
+ protocol-decoder ieee488 channel dio1=0 channel dio2=1 channel dio3=2 channel dio4=3 channel dio5=4 channel dio6=5 channel dio7=6 channel dio8=7 channel eoi=8 channel dav=9 channel nrfd=10 channel ndac=11 channel ifc=12 channel srq=13 channel atn=14 channel ren=15
+ input gpib/keithley2015/keithley2015-idn.sr
+ output ieee488 annotation match gpib_keithley2015.output
+ output ieee488 binary class raw match gpib_keithley2015.bin_raw
+ output ieee488 binary class data match gpib_keithley2015.bin_data
+ output ieee488 python match gpib_keithley2015.python
+
+test cbm_1571_read_status
+ protocol-decoder ieee488 channel dio1=4 channel clk=3 channel atn=2 channel srq=0
+ input gpib/serial/cbm1571/cbm_1571_read_status.sr
+ output ieee488 annotation match cbm_1571_read_status.output
+ output ieee488 binary class raw match cbm_1571_read_status.bin_raw
+ output ieee488 binary class data match cbm_1571_read_status.bin_data
+ output ieee488 python match cbm_1571_read_status.python