2
0
forked from Ivasoft/DSView

Add data export(csv only) support @ DSO mode

This commit is contained in:
DreamSourceLab
2015-04-24 16:12:58 +08:00
parent f64c161730
commit a4a17a792e
9 changed files with 204 additions and 54 deletions

View File

@@ -601,6 +601,7 @@ static int set_probes(struct sr_dev_inst *sdi, int num_probes)
return SR_ERR;
if (sdi->mode == DSO) {
probe->vdiv = 1000;
probe->vfactor = 1;
probe->vpos = 0;
probe->coupling = SR_DC_COUPLING;
probe->trig_value = 0x80;

View File

@@ -642,6 +642,7 @@ static int set_probes(struct sr_dev_inst *sdi, int num_probes)
return SR_ERR;
if (sdi->mode == DSO) {
probe->vdiv = 1000;
probe->vfactor = 1;
probe->coupling = SR_DC_COUPLING;
probe->trig_value = 0x80;
}