gettimeofday(&header.starttime, NULL);
header.samplerate = sigma->cur_samplerate;
header.num_logic_probes = sigma->num_probes;
- header.num_analog_probes = 0;
sr_session_bus(session_data, &packet);
/* Add capture source. */
gettimeofday(&header.starttime, NULL);
header.samplerate = la8->cur_samplerate;
header.num_logic_probes = NUM_PROBES;
- header.num_analog_probes = 0;
sr_session_bus(session_data, &packet);
/* Time when we should be done (for detecting trigger timeouts). */
gettimeofday(&header->starttime, NULL);
header->samplerate = cur_samplerate;
header->num_logic_probes = NUM_PROBES;
- header->num_analog_probes = 0;
sr_session_bus(session_data, packet);
g_free(header);
g_free(packet);
header.feed_version = 1;
gettimeofday(&header.starttime, NULL);
header.samplerate = mso->cur_rate;
- header.num_analog_probes = 1;
+ // header.num_analog_probes = 1;
header.num_logic_probes = 8;
sr_session_bus(session_device_id, &packet);
gettimeofday(&header->starttime, NULL);
header->samplerate = ols->cur_samplerate;
header->num_logic_probes = NUM_PROBES;
- header->num_analog_probes = 0;
sr_session_bus(session_data, packet);
g_free(header);
gettimeofday(&header->starttime, NULL);
header->samplerate = fx2->cur_samplerate;
header->num_logic_probes = fx2->profile->num_probes;
- header->num_analog_probes = 0;
sr_session_bus(session_data, packet);
g_free(header);
g_free(packet);
gettimeofday(&header.starttime, NULL);
header.samplerate = zp->cur_samplerate;
header.num_logic_probes = zp->num_channels;
- header.num_analog_probes = 0;
sr_session_bus(session_data, &packet);
if (!(buf = g_try_malloc(PACKET_SIZE))) {
/* send header */
header.feed_version = 1;
header.num_logic_probes = num_probes;
- header.num_analog_probes = 0;
header.samplerate = 0;
gettimeofday(&header.starttime, NULL);
packet.type = SR_DF_HEADER;
header.feed_version = 1;
gettimeofday(&header.starttime, NULL);
header.num_logic_probes = num_probes;
- header.num_analog_probes = 0;
header.samplerate = samplerate;
sr_session_bus(in->vdevice, &packet);
gettimeofday(&header->starttime, NULL);
header->samplerate = vdevice->samplerate;
header->num_logic_probes = vdevice->num_probes;
- header->num_analog_probes = 0;
sr_session_bus(session_device_id, packet);
g_free(header);
g_free(packet);
SR_DF_END,
SR_DF_TRIGGER,
SR_DF_LOGIC,
- SR_DF_ANALOG,
SR_DF_PD,
};
int feed_version;
struct timeval starttime;
uint64_t samplerate;
- int num_analog_probes;
int num_logic_probes;
};
enum {
SR_PROBE_TYPE_LOGIC,
- SR_PROBE_TYPE_ANALOG,
};
struct sr_probe {