5 #ifndef INSTRUMENT_CONTROL_LIB_OSCILLOSCOPE_H
6 #define INSTRUMENT_CONTROL_LIB_OSCILLOSCOPE_H
44 Oscilloscope(
const char *ip,
int timeoutInMs, PIL::Logging *logger);
46 virtual PIL_ERROR_CODE
run() = 0;
47 virtual PIL_ERROR_CODE
stop() = 0;
Basic device class This class contains all basic method of all devices, like Connect,...
Definition: Device.h:30
Definition: Oscilloscope.h:11
virtual PIL_ERROR_CODE setTriggerSource(OSC_CHANNEL channel)=0
Oscilloscope(const char *ip, int timeoutInMs, PIL::Logging *logger)
Definition: Oscilloscope.cpp:3
virtual PIL_ERROR_CODE setChannelScale(OSC_CHANNEL channel, double value)=0
virtual PIL_ERROR_CODE setChannelRange(OSC_CHANNEL channel, double value, VOLTAGE_UNIT voltageUnit)=0
OSC_CHANNEL
Definition: Oscilloscope.h:14
@ CHANNEL_1
Definition: Oscilloscope.h:15
@ CHANNEL_4
Definition: Oscilloscope.h:15
@ CHANNEL_2
Definition: Oscilloscope.h:15
@ CHANNEL_3
Definition: Oscilloscope.h:15
VOLTAGE_UNIT
Definition: Oscilloscope.h:39
@ VOLT
Definition: Oscilloscope.h:40
@ MILLI_VOLT
Definition: Oscilloscope.h:41
virtual PIL_ERROR_CODE setTriggerEdge(TRIGGER_EDGE edge)=0
virtual PIL_ERROR_CODE setChannelOffset(OSC_CHANNEL channel, double offset)=0
virtual PIL_ERROR_CODE run()=0
TRIGGER_EDGE
Definition: Oscilloscope.h:19
@ ALTERNATING
Definition: Oscilloscope.h:23
@ NEG_EDGE
Definition: Oscilloscope.h:21
@ EITHER
Definition: Oscilloscope.h:22
@ POS_EDGE
Definition: Oscilloscope.h:20
virtual PIL_ERROR_CODE single()=0
virtual PIL_ERROR_CODE stop()=0
FILE_FORMAT
Definition: Oscilloscope.h:33
@ ASCII
Definition: Oscilloscope.h:34
@ BYTE
Definition: Oscilloscope.h:36
@ WORD
Definition: Oscilloscope.h:35
DISPLAY_MODES
Definition: Oscilloscope.h:26
@ WIND
Definition: Oscilloscope.h:28
@ MAIN
Definition: Oscilloscope.h:27
@ XY
Definition: Oscilloscope.h:29
@ ROLL
Definition: Oscilloscope.h:30
virtual PIL_ERROR_CODE autoScale()=0
virtual PIL_ERROR_CODE setTimeRange(double value)=0