File: README

package info (click to toggle)
linux-gpib-user 4.3.7-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,760 kB
  • sloc: ansic: 10,381; perl: 1,120; xml: 375; makefile: 335; yacc: 335; tcl: 308; python: 173; php: 157; lex: 144; sh: 134; lisp: 94
file content (33 lines) | stat: -rw-r--r-- 1,181 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
libgpib_test is used by developers to test the library, feel free to add
tests for untested functions.  It requires two gpib boards on the same GPIB
bus, exactly one of which is the system controller.  Two instances of
libgpib_test must be run, one with the --master option and one with
--slave.  Their stdin and stdout need to be connected to each other (see the
"runtest" script in this directory) so they can synchronize at various
points in the tests.  The runtest script will pass any command line
options to both the master and slave invocations of libgpib_test.

Example:
./runtest --pad 2

libgpib_test options:

-n, --num_loops N
	loop through tests N times
-M, --minor
	Specify board index to use
-m, --master
	Use bus master gpib board
-S, --slave
	Use slave gpib board
-p, --pad N
	For master, open device with primary address N.  For slave,
	sets board's primary address to N.
-s, --sad
	For master, open device with secondary address N.  For slave,
	sets board's secondary address to N.  N must be in the range
	[0, 30].  If this option is not specified, then secondary
	addressing is disabled.
-v, --verbose
	Produce verbose debugging output (doesn't do much yet).