scpi-pps: Add missing frequency channel settings for acquisition.
This commit is contained in:
parent
3d1aa50f38
commit
969671a542
|
@ -118,6 +118,10 @@ SR_PRIV int scpi_pps_receive_data(int fd, int revents, void *cb_data)
|
|||
analog.meaning->unit = SR_UNIT_WATT;
|
||||
analog.encoding->digits = ch_spec->power[4];
|
||||
analog.spec->spec_digits = ch_spec->power[3];
|
||||
} else if (pch->mq == SR_MQ_FREQUENCY) {
|
||||
analog.meaning->unit = SR_UNIT_HERTZ;
|
||||
analog.encoding->digits = ch_spec->frequency[4];
|
||||
analog.spec->spec_digits = ch_spec->frequency[3];
|
||||
}
|
||||
f = (float)g_variant_get_double(gvdata);
|
||||
g_variant_unref(gvdata);
|
||||
|
|
Loading…
Reference in New Issue