ADC Plugin - Test Suite
Note
User guide: ADC user guide
Note
Tester |
Test Date |
Scopy version |
Plugin version (N/A if not applicable) |
Comments |
---|---|---|---|---|
Setup environment
- Pluto.usb:
Connect a pluto device via usb to your PC
connect to the device in Scopy with ADCPlugin enabled
- Pluto.emu:
Press the add device button and go to emulator
Select pluto device
Enable, verify and select all plugins available
Connect to the device
- Pluto.signalGenerator:
Requires DAC and Debugger tests to work
Go to Debugger, select context0/ad9361-phy/TX_LO/frequency and set it to 2400000000. Do the same for context0/ad9361-phy/RX_LO/frequency
Go to DAC plugin, mode: DDS, dds mode: independent I/Q control. TX1_I_F1 scale: -40, TX1_I_F2: -40, TX1_Q_F1: -30, TX1_Q_F2: -30. set all frequency values to 1MHz.
Run DAC plugin.
ADC-Time
Test 1 - X-AXIS
UID: TST.ADC_TIME.X_AXIS
Description: Verify X-axis behavior under different configurations
- Preconditions:
OS: ANY
- Steps:
Scroll down and turn on plot labels in the settings panel
Set XMode to Samples on the X-axis
Set buffer size to 100
- Press Single
Expected result: Plot labels should go up to 100, and channel curves should span across the whole plot
Actual result:
Turn off Sync buffer-plot sizes
Set plot size to 200
- Press Single
Expected result: Plot labels should go up to 200, and channel curves should span across the whole plot
Actual result:
- Turn on Rolling mode
Expected result: Plot labels should invert, going from 200 to 0
Actual result:
- Change XMin to 300 and XMax to -100 (pressing Single will reset this setting)
Expected result: Plot labels should range from 300 to -100, with channel curves centered and between samples 200 and 0
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 2 - Y-AXIS
UID: TST.ADC_TIME.Y_AXIS
Description: Verify Y-axis behavior under different configurations
- Preconditions:
OS: ANY
- Steps:
Scroll down and turn on plot labels in the settings panel
- Turn on Autoscale and press Run
Expected result: Y-axis should automatically scale according to channel curves
Actual result:
Press Stop
Turn Autoscale off
Set YMode to ADC Counts
Set Min to -4000 and Max to 4000
- Press Single
Expected result: Y-axis labels should range from -4000 to 4000, and curves should vertically adjust accordingly
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 3 - XY PLOT
UID: TST.ADC_TIME.XY_PLOT
Description: Verify XY plot functionality and visualization
- Preconditions:
OS: ANY
- Steps:
Run Pluto.signalGenerator setup
- Turn on XY PLOT
Expected result: A new plot should appear on the right
Actual result:
- Turn on Autoscale
Expected result: On the time plot, both channel curves should look the same, but voltage1 should have a higher amplitude
Actual result:
- Set X Axis source to voltage0
Expected result: A small circular curve should appear on the XY plot
Actual result:
- Set X Axis source to voltage1
Expected result: A larger circular curve should appear on the XY plot
Actual result:
- Turn Plot X source on and off
Expected result: A line cutting the circle should be visible in a different color
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 4 - Settings
UID: TST.ADC_TIME.SETTINGS
Description: Change Plot Title and toggle various plot settings
- Preconditions:
OS: ANY
- Steps:
- Change Plot Title to “test”
Expected result: text in top left should change to “test”
Actual result:
- Turn on and off plot labels
Expected result: labels on x and y axis should appear
Actual result:
- Change thickness and style to all available modes and observe the changes
Expected result: channel curves’ appearance should behave as expected
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 5 - Print
UID: TST.ADC_TIME.PRINT
Description: Save the plot as a PDF file via the print functionality
- Preconditions:
OS: ANY
- Steps:
Run Pluto.signalGenerator setup
Press the single button
Press the print button
- Select a folder and save the file
Expected result: a new PDF file should appear within the folder containing the last view of the plot
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 6 - Info
UID: TST.ADC_TIME.INFO
Description: Open the ADC plugin documentation via the info button
- Preconditions:
OS: ANY
- Steps:
- Press the info button in the top left corner of the window
Expected result: this should open the ADC plugin documentation.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 8 - ADC-Time Channel Settings
UID: TST.ADC_TIME_CHANNEL_SETTINGS
Description: Test Y-axis settings and adjustments for the ADC-Time tool
- Preconditions:
OS: ANY
- Steps:
Double-click on the voltage0 channel and go to the right menu which pops up
- Enable Y-AXIS and move up and down the axis handle
Expected result: this should move the channel curve within the Y-axis
Actual result:
- Turn autoscale off. Set YMode to ADC Counts, Min to -4000 and Max to 4000, and press single
Expected result: only voltage0 curve should vertically adjust
Actual result:
Turn off Y-AXIS
Tested OS:
Comments:
Result: PASS/FAIL
Test 9 - Measure
UID: TST.MEASURE
Description: Test the Measure functionality, enabling panels and checking frequency and stats
- Preconditions:
OS: ANY
- Steps:
Double-click on the voltage0 channel and go to the right menu which pops up.
Check frequency measure and stats in the horizontal measurements table, middle measure and stats in the vertical measurements table.
- Open the Measure menu at the bottom of the window, enable Measure Panel and Stats panel
Expected result: Frequency should be around 1MHz in both panels, middle should be hovering around the 0 value in both panels
Actual result:
- Open the Measure menu and show all Stats and Measurements
Expected result: all checkboxes in the measurement tables should be checked and each should have a corresponding label above and below the plot
Actual result:
Turn off measurements
Tested OS:
Comments:
Result: PASS/FAIL
Test 10 - Cursors
UID: TST.CURSORS
Description: Test cursor functionality including synchronization, tracking, and moving readouts
- Preconditions:
OS: ANY
- Steps:
Double-click on the voltage0 channel and go to the right menu which pops up
Run Pluto.signalGenerator setup
In ADC, set X-AXIS buffer size to 200, XMode to Sample, and YMode to ADC Counts
Open the Cursors menu at the bottom of the window. Enable X and Enable Y
- Move the X cursors on the plot via the axis handles and place one on voltage0 sine high peak and the other on the next low peak
Expected result: delta x should be around 15 samples between voltage0 high peak and low peak
Actual result:
- Lock X cursors via the Cursor menu. Move one cursor to a voltage1 high peak
Expected result: the second cursor should move and maintain the same delta. High peak to low peak should match in both voltage0 and voltage1
Actual result:
- Enable track and select voltage0
Expected result: markers should appear on the voltage0 curve synced with the X cursor. Values in cursor readouts should change accordingly
Actual result:
- Select voltage1 channel
Expected result: markers and readouts should now be related to voltage1
Actual result:
- Turn off track and measure voltage0 and voltage1 amplitudes
Expected result: for voltage0 delta y should be around 1.4kV and for voltage1 500V
Actual result:
Enable move readouts. Click and hold the readouts to move them - Expected result: should be able to move the readouts anywhere within the plot - Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
ADC-Frequency
Test 1 - X-Axis settings
UID: TST.ADC_FREQ.X_AXIS_SETTINGS
Description: Adjust X-axis settings for frequency and sample-based plotting in the ADC plugin
- Preconditions:
OS: ANY
- Steps:
Scroll down and turn on plot labels in the settings panel
- Set XMode to Samples, buffer size to 4000, and press single
Expected result: Plot labels should go up to 4000, and channel curves should span across the whole plot
Actual result:
- Set XMode to Frequency, XMin to 0.5 MHz, XMax to 2 MHz (pressing Single will reset this setting)
Expected result: Plot labels should be from 0.5 MHz to 2 MHz
Actual result:
- Set frequency offset to 1 MHz and press single
Expected result: Curves should move 1 MHz to the left
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 2 - Y-Axis settings
UID: TST.ADC_FREQ.Y_AXIS_SETTINGS
Description: Adjust Y-axis settings, including autoscaling and manual range settings
- Preconditions:
OS: ANY
- Steps:
Scroll down and turn on plot labels in the settings panel
- Turn on autoscale and press run
Expected result: Y-axis should automatically scale according to the channel curves
Actual result:
- Press stop, turn autoscale off, set YMode to ADC Counts, Min to -140, Max to 20, and press single
Expected result: Y-axis labels should be from -140 to 20, and curves should vertically adjust
Actual result:
- Set power offset to 20 dB and press single
Expected result: Curves should move 20 dB up
Actual result:
- Press run and change through all the window options and window correction
Expected result: The curves should change slightly in real time
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 3 - Settings adjustment
UID: TST.ADC_FREQ.SETTINGS_ADJUSTMENT
Description: Adjust plot settings such as title, labels, thickness, and style
- Preconditions:
OS: ANY
- Steps:
- Change Plot Title to “test”
Expected result: Text in the top left should change to “test”
Actual result:
- Turn on and off plot labels
Expected result: Labels on X and Y axis should appear
Actual result:
- Change thickness and style to all available modes and observe the changes
Expected result: Channel curves should adjust appearance as expected
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 4 - Print plot
UID: TST.ADC_FREQ.PRINT_PLOT
Description: Print the current plot to a PDF file
- Preconditions:
OS: ANY
- Steps:
Run Pluto.signalGenerator setup
Press the single button and then the print button
- Select a folder and save the file
Expected result: A new PDF file should appear in the folder containing the last view of the plot
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 5 - View plugin documentation
UID: TST.ADC_FREQ.VIEW_PLUGIN_DOC
Description: Open the ADC plugin documentation
- Preconditions:
OS: ANY
- Steps:
- Press the info button in the top left corner of the window
Expected result: The ADC plugin documentation should open
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 6 - Y-Axis channel settings
UID: TST.ADC_FREQ.Y_AXIS_CHANNEL_SETTINGS
Description: Adjust the Y-axis for individual channel curve manipulation
- Preconditions:
OS: ANY
- Steps:
- Enable Y-Axis and move the axis handle up and down
Expected result: The channel curve should move within the Y-axis
Actual result:
- Turn off autoscale, set YMode to ADC Counts, Min to -140, Max to 20, and press single
Expected result: Only the voltage0 curve should vertically adjust
Actual result:
Turn off Y-Axis
Tested OS:
Comments:
Result: PASS/FAIL
Test 7 - Marker settings
UID: TST.ADC_FREQ.MARKER_SETTINGS
Description: Use markers to identify peaks on channel curves
- Preconditions:
OS: ANY
- Steps:
Run Pluto.signalGenerator setup
Press run and enable the markers from the bottom right Measure panel.
- In the voltage0 channels settings, enable the markers, set the marker type to peak and count to 5.
Expected result: 5 markers should appear on voltage0’s curve at the highest peaks
Actual result:
- Repeat the process with a count of 7
Expected result: 7 markers should appear on voltage0’s curve at the highest peaks
Actual result:
- Check the table below the plot in peak mode
Expected result: The highest peak should be at 1 MHz
Actual result:
- Set marker type to fixed and count to 5
Expected result: 5 movable cursors should appear
Actual result:
- Repeat for a count of 7
Expected result: 7 movable cursors should appear
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 8 - Cursor settings
UID: TST.ADC_FREQ.CURSOR_SETTINGS
Description: Use cursors to measure specific points on channel curves.
- Preconditions:
OS: ANY
- Steps:
Run Pluto.signalGenerator setup
Press run and set X-Axis buffer size to 200, XMode to Frequency.
Open the Cursors menu and enable X cursors.
- Move the X cursor on the plot and place one on voltage0’s highest peak.
Expected result: The cursor should measure 1 MHz in the readouts
Actual result:
- Enable track and select voltage0
Expected result: Markers should appear on the voltage0 curve, synced with the X cursor
Actual result:
- Select voltage1 channel
Expected result: Markers and readouts should now be related to voltage1
Actual result:
- Turn off track and measure voltage0’s highest peak using the Y cursor
Expected result: The cursor should measure about -13 dB in the readouts
Actual result:
- Enable move readouts and click and hold the readouts to move them
Expected result: Readouts should be movable within the plot
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Preferences
Test 1 - X Scale Position
UID: TST.PREF.X_SCALE_POS
Description: Change the X-axis scale position and verify the label’s position on the plot
- Test prerequisites:
Emulator tests
- Preconditions:
OS: ANY
- Steps:
- Change Plot X-Axis scale position to Top, restart app, open ADC-Time and enable plot labels in SETTINGS panel
Expected result: Axis labels should appear on top
Actual result:
- Open ADC-Frequency and enable plot labels in SETTINGS panel.
Expected result: Axis labels should appear on top
Actual result:
- Change Plot X-Axis scale position to Bottom, restart app, open ADC-Time and enable plot labels in SETTINGS panel
Expected result: Axis labels should appear on the bottom
Actual result:
- Open ADC-Frequency and enable plot labels in SETTINGS panel.
Expected result: Same result for ADC-Frequency
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 2 - Y Scale Position
UID: TST.PREF.Y_SCALE_POS
Description: Change the Y-axis scale position and verify the label’s position on the plot
- Test prerequisites:
Emulator tests
- Preconditions:
OS: ANY
- Steps:
- Change Plot Y-Axis scale position to Right, restart app, open ADC-Time and enable plot labels in SETTINGS panel
Expected result: Axis labels should appear on the right
Actual result:
- Open ADC-Frequency and enable plot labels in SETTINGS panel.
Expected result: Axis labels should appear on the right
Actual result:
- Change Plot Y-Axis scale position to Left, restart app, open ADC-Time and enable plot labels in SETTINGS panel
Expected result: Axis labels should appear on the left
Actual result:
- Open ADC-Frequency and enable plot labels in SETTINGS panel.
Expected result: Axis labels should appear on the left
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 3 - Channel Handle Position
UID: TST.PREF.CH_HANDLE_POS
Description: Change the Y-handle position and verify the appearance of the handle
- Test prerequisites:
Emulator tests
- Preconditions:
OS: ANY
- Steps:
Change Plot channel Y-handle position to Right, restart app, open ADC-Time, double click voltage0 to open channel settings and enable Y-AXIS
Expected result: Axis handle should appear on the right
Actual result:
- Open ADC-Frequency, double click voltage0 to open channel settings and enable Y-AXIS.
Expected result: Axis handle should appear on the right
Actual result:
Change Plot channel Y-handle position to Left, restart app, open ADC-Time, double click voltage0 to open channel settings and enable Y-AXIS
Expected result: Axis handle should appear on the left
Actual result:
- Open ADC-Frequency, double click voltage0 to open channel settings and enable Y-AXIS.
Expected result: Axis handle should appear on the left
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 4 - X Cursor Position
UID: TST.PREF.X_CURSOR_POS
Description: Change the X-cursor position and verify the cursor’s appearance.
- Test prerequisites:
Emulator tests
- Preconditions:
OS: ANY
- Steps:
- Change Plot X-Cursor position to Top, restart app, open ADC-Time and enable x cursors
Expected result: X cursor handle should appear on top
Actual result:
- Open ADC-Frequency and enable X cursors.
Expected result: X cursor handle should appear on top
Actual result:
- Change Plot X-Cursor position to Bottom, restart app, open ADC-Time and enable x cursors
Expected result: X cursor handle should appear on the bottom
Actual result:
- Open ADC-Frequency and enable X cursors.
Expected result: X cursor handle should appear on the bottom
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 5 - Y Cursor Position
UID: TST.PREF.Y_CURSOR_POS
Description: Change the Y-cursor position and verify the cursor’s appearance
- Test prerequisites:
Emulator tests
- Preconditions:
OS: ANY
- Steps:
- Change Plot Y-Cursor position to Right, restart app, open ADC-Time and enable Y cursors
Expected result: Y cursor handle should appear on the right
Actual result:
- Open the ADC-Frequency and enable Y cursors
Expected result: Y cursor handle should appear on the right
Actual result:
- Change Plot Y-Cursor position to Left, restart app, open ADC-Time and enable y cursors
Expected result: Y cursor handle should appear on the left
Actual result:
- Open the ADC-Frequency and enable Y cursors
Expected result: Same result for ADC-Frequency
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 6 - Default YMode
UID: TST.PREF.DEFAULT_YMODE
Description: Set the default Y-mode and verify its behavior in ADC-Time
- Test prerequisites:
Emulator tests
- Preconditions:
OS: ANY
- Steps:
Set YMode to % Full scale, restart app, open ADC-Time
- Check the YMODE in General Settings:
Expected result: In Y-AXIS, YMODE should be % Full scale
Actual result:
- Double click a channel to open the channel settings and check the Y-MODE by enabling Y-AXIS.
Expected result: In Y-AXIS, YMODE should be % Full scale
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL