Driver for Agilent/Keysight N8740A Power Supply

This commit is contained in:
Douglas Clowes
2014-12-01 12:59:49 +11:00
parent 34f748e426
commit 7adec62e61
2 changed files with 568 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
driver keysight_N8740A = {
vendor = keysight; device = N8740A;
protocol = std
class = environment
simulation_group = environment_simulation
group = {
type = int;
var state = {
readable = 2; read_command = 'OUTPUT:STATE?';
writeable = 1; write_command = 'OUTPUT:STATE ';
allowed = '0,1';
}
}
group current = {
type = float;
var sensor = {
readable = 1; read_command = 'MEASURE:CURRENT?';
writeable = 1; read_command = 'MEASURE:CURRENT ';
}
var setpoint = {
readable = 1; read_command = 'SOURCE:CURRENT?';
writeable = 1; read_command = 'SOURCE:CURRENT ';
}
var limit = {
readable = 1; read_command = 'SOURCE:CURRENT:PROTECTION?';
writeable = 1; read_command = 'SOURCE:CURRENT:PROTECTION ';
}
}
group voltage = {
type = float;
var sensor = {
readable = 1; read_command = 'MEASURE:VOLTAGE?';
writeable = 1; read_command = 'MEASURE:VOLTAGE ';
}
var setpoint = {
readable = 1; read_command = 'SOURCE:VOLTAGE?';
writeable = 1; read_command = 'SOURCE:VOLTAGE ';
}
var limit = {
readable = 1; read_command = 'SOURCE:VOLTAGE:PROTECTION?';
writeable = 1; read_command = 'SOURCE:VOLTAGE:PROTECTION ';
}
}
group system = {
type = text;
data = false; control = false; mutable = false; nxsave = false;
var error = {
readable = 1; read_command = 'SYSTEM:ERROR?';
}
var version = {
readable = 1; read_command = 'SYSTEM:VERSION?';
}
}
}