-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgpib.conf
More file actions
144 lines (116 loc) · 4.55 KB
/
Copy pathgpib.conf
File metadata and controls
144 lines (116 loc) · 4.55 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/***************************************************************************
GPIB.CONF IEEE488 library config file
-------------------
copyright : (C) 2002 by Frank Mori Hess
(C) 1994 by C.Schroeter
email : fmhess@users.sourceforge.net
___________________________________________________________________________
Syntax:
interface { ... } starts new interface board section
device {...} device configuration
***************************************************************************/
// This section configures the configurable driver characteristics
// for an interface board, such as board address, and interrupt level.
// minor = 0 configures /dev/gpib0, minor = 1 configures /dev/gpib1, etc.
interface {
minor = 10
board_type = "agilent_82357a"
name = "hp82357b"
pad = 23
sad = 0
timeout = T10s
master = yes
}
interface {
minor = 11
board_type = "ni_usb_b"
name = "NI_USBHS"
pad = 5
sad = 0
timeout = T10s
master = yes
}
interface {
minor = 12
board_type = "ni_usb_b"
name = "NI_USBHS_2"
pad = 5
sad = 0
timeout = T10s
master = yes
}
// This is how you might set up a pcIIa board on /dev/gpib1, uncomment to use.
/********************
interface {
minor = 2
board_type = "pcIIa"
pad = 3
sad = 0
timeout = T3s
eos = 0x0a
set-reos = yes
set-bin = no
base = 0x2e1
irq = 7
dma = 1
master = yes
}
*********************/
/* Now the device sections define the device characteristics for each device.
* These are only used if you want to open the device using ibfind() (instead
* of ibdev() )
*/
// HP34401a Multimeter
device {
minor = 10 // minor number for interface board this device is connected to
name = "HP34401A" // device mnemonic
pad = 22 // The Primary Address
sad = 0 // Secondary Address
eos = 0xa // EOS Byte
set-reos = no // Terminate read if EOS
set-bin = no // Compare EOS 8-bit
}
// HP8753C using the Agilent 82357B USB controller
device {
minor = 10 // minor number for interface board this device is connected to
name = "HP8753C" // device mnemonic
pad = 16 // The Primary Address
sad = 0 // Secondary Address
eos = 0xa // EOS Byte
set-reos = no // Terminate read if EOS
set-bin = no // Compare EOS 8-bit
timeout = T30s // timeout for commands
}
// HP8753C using the NI USB controller
device {
minor = 11 // minor number for interface board this device is connected to
name = "HP8753C-NI" // device mnemonic
pad = 16 // The Primary Address
sad = 0 // Secondary Address
eos = 0xa // EOS Byte
set-reos = no // Terminate read if EOS
set-bin = no // Compare EOS 8-bit
timeout = T30s // timeout for commands
}
// HP9970B Noise Figure Meter
device {
minor = 11 // minor number for interface board this device is connected to
name = "HP8970B" // device mnemonic
pad = 8 // The Primary Address
sad = 0 // Secondary Address
eos = 0xa // EOS Byte
set-reos = no // Terminate read if EOS
set-bin = no // Compare EOS 8-bit
timeout = T30s // timeout for commands
}
// HP8665A Synthesized Signal Generator
device {
minor = 11 // minor number for interface board this device is connected to
name = "HP8665A" // device mnemonic
pad = 15 // The Primary Address
sad = 0 // Secondary Address
eos = 0xa // EOS Byte
set-reos = no // Terminate read if EOS
set-bin = no // Compare EOS 8-bit
timeout = T30s // timeout for commands
}