Fluke189 support
I can confirm that the 189 uses the same "QM" command as the 187: <-- QM\r --> QM,+03.225 mV AC
This commit is contained in:
parent
8c9d4d67f8
commit
0bc3ab92e6
|
@ -54,6 +54,7 @@ static char *scan_conn[] = {
|
||||||
|
|
||||||
static const struct flukedmm_profile supported_flukedmm[] = {
|
static const struct flukedmm_profile supported_flukedmm[] = {
|
||||||
{ FLUKE_187, "187", 100, 1000 },
|
{ FLUKE_187, "187", 100, 1000 },
|
||||||
|
{ FLUKE_189, "189", 100, 1000 },
|
||||||
{ FLUKE_287, "287", 100, 1000 },
|
{ FLUKE_287, "287", 100, 1000 },
|
||||||
{ FLUKE_190, "199B", 1000, 3500 },
|
{ FLUKE_190, "199B", 1000, 3500 },
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
/* Supported models */
|
/* Supported models */
|
||||||
enum {
|
enum {
|
||||||
FLUKE_187 = 1,
|
FLUKE_187 = 1,
|
||||||
|
FLUKE_189,
|
||||||
FLUKE_287,
|
FLUKE_287,
|
||||||
FLUKE_190,
|
FLUKE_190,
|
||||||
};
|
};
|
||||||
|
|
|
@ -435,7 +435,7 @@ static void handle_line(const struct sr_dev_inst *sdi)
|
||||||
analog = NULL;
|
analog = NULL;
|
||||||
tokens = g_strsplit(devc->buf, ",", 0);
|
tokens = g_strsplit(devc->buf, ",", 0);
|
||||||
if (tokens[0]) {
|
if (tokens[0]) {
|
||||||
if (devc->profile->model == FLUKE_187) {
|
if (devc->profile->model == FLUKE_187 || devc->profile->model == FLUKE_189) {
|
||||||
devc->expect_response = FALSE;
|
devc->expect_response = FALSE;
|
||||||
analog = handle_qm_18x(sdi, tokens);
|
analog = handle_qm_18x(sdi, tokens);
|
||||||
} else if (devc->profile->model == FLUKE_287) {
|
} else if (devc->profile->model == FLUKE_287) {
|
||||||
|
|
Loading…
Reference in New Issue