summaryrefslogtreecommitdiffstats
path: root/specifications.md
blob: 69198947b08c757af2c5ddf70d60c88d020c5223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Use Cases

## Presets

Useful presets are stored persistently (JSON or YAML) and recalled with a single command. Preset configuration is applied to both function generator and oscilloscope. The intention is to quickly restore a state that can then be used for manual tests.

## Screen capture

Capture screen, dump to PNG. File name can be parameterised including special codes for date, time and incrementing counter.

## Frequency response measurement

With a single command, a frequency response sweep is performed.

Parameters:
* Frequency range (from, to in Hz)
* Measurement steps
    * Linear or logarithmic?
* Signal generator channel
* Oscilloscope channel(s)

Data is stored in an array of tuples (freq, [measurements]).

Output options:
* CSV
* SVG plot?
* PNG plot?
* HTML report containing test parameters, data, plot, etc

## Repeated measurement mode

1. User specifies a set of actions to be taken on each round
    * Record measurement on a specific channel
    * Screen capture
    * Frequency response sweep
2. System goes to measurement mode: whenever a specific key (enter) is pressed, all actions are taken
    * System provides feedback when ready to accept new input
3. User exits measurement mode by pressing a special key (q)
4. Optionally, acquired data is handled. Options:
    * Save to CSV
    * Print to console
    * Pass as argument to user callback