lecroy-xstream: Don't send custom SCPI command to the probed device
This commit is contained in:
parent
bb08570f1a
commit
d0b913eac4
|
@ -53,7 +53,6 @@ static struct sr_dev_inst *probe_serial_device(struct sr_scpi_dev_inst *scpi)
|
|||
devc = NULL;
|
||||
hw_info = NULL;
|
||||
|
||||
sr_scpi_send(scpi, "COMM_HEADER OFF,WORD,BIN");
|
||||
if (sr_scpi_get_hw_id(scpi, &hw_info) != SR_OK) {
|
||||
sr_info("Couldn't get IDN response.");
|
||||
goto fail;
|
||||
|
|
|
@ -528,6 +528,9 @@ SR_PRIV int lecroy_xstream_init_device(struct sr_dev_inst *sdi)
|
|||
if (!(devc->model_state = scope_state_new(devc->model_config)))
|
||||
return SR_ERR_MALLOC;
|
||||
|
||||
/* Set the desired response mode. */
|
||||
sr_scpi_send(sdi->conn, "COMM_HEADER OFF,WORD,BIN");
|
||||
|
||||
return SR_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue