DAQ2 Test Suite
- Prerequisites:
Scopy v2.1.0 or later with DAQ2 plugin installed
DAQ2 device connected, or emulator running:
iio-emu generic packages/daq2/emu-xml/daq2.xmlDevice drivers and firmware are up to date
Reset .ini files to default by pressing Reset button in Preferences
Test 1: Plugin Loads
UID: TST.DAQ2.PLUGIN_LOADS
RBP: P0
Description: Verify that the DAQ2 plugin loads in Scopy when a compatible device is connected.
OS: ANY
- Preconditions:
Scopy is installed
DAQ2 device or emulator is available
- Steps:
- Open Scopy application.
Expected result: Scopy launches without errors.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 2: ADC Section Visible
UID: TST.DAQ2.ADC_SECTION_VISIBLE
RBP: P1
Description: Verify that the ADC section is displayed in the DAQ2 tool with the expected controls.
OS: ANY
- Preconditions:
DAQ2 plugin is loaded and the DAQ2 tool is open
- Steps:
- Open the DAQ2 tool.
Expected result: The ADC section is visible with the title “ADC”, a sampling frequency label, and two test mode combo boxes labeled “Ch0 Test Mode” and “Ch1 Test Mode”.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 3: ADC Sampling Frequency Displayed
UID: TST.DAQ2.ADC_SAMPLING_FREQ_DISPLAYED
RBP: P1
Description: Verify that the ADC sampling frequency is read from the hardware and displayed in MHz.
OS: ANY
- Preconditions:
DAQ2 plugin is loaded and the DAQ2 tool is open
- Steps:
- Open the DAQ2 tool and observe the ADC section.
Expected result: The “Sampling frequency:” label shows a numeric value in MHz (e.g., “1000.000 MHz”), not “N/A”.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 4: ADC Ch0 Test Mode Write-Readback
UID: TST.DAQ2.ADC_CH0_TEST_MODE_WRITE_READBACK
RBP: P1
Description: Verify that changing the ADC Ch0 test mode is applied to the hardware and read back correctly.
OS: ANY
- Preconditions:
DAQ2 plugin is loaded and the DAQ2 tool is open
- Steps:
- In the ADC section, note the current value of the “Ch0 Test Mode” combo box.
Expected result: The combo shows one of the valid modes (e.g., “off”).
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 5: ADC Ch1 Test Mode Write-Readback
UID: TST.DAQ2.ADC_CH1_TEST_MODE_WRITE_READBACK
RBP: P1
Description: Verify that changing the ADC Ch1 test mode is applied to the hardware and read back correctly.
OS: ANY
- Preconditions:
DAQ2 plugin is loaded and the DAQ2 tool is open
- Steps:
- In the ADC section, note the current value of the “Ch1 Test Mode” combo box.
Expected result: The combo shows one of the valid modes (e.g., “off”).
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 6: DAC Section Visible
UID: TST.DAQ2.DAC_SECTION_VISIBLE
RBP: P1
Description: Verify that the DAC section is displayed in the DAQ2 tool with the expected layout.
OS: ANY
- Preconditions:
DAQ2 plugin is loaded and the DAQ2 tool is open
- Steps:
- Open the DAQ2 tool and scroll to the DAC section.
Expected result: The DAC section is visible with the title “DAC” and a sampling frequency label.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 7: DAC Sampling Frequency Displayed
UID: TST.DAQ2.DAC_SAMPLING_FREQ_DISPLAYED
RBP: P1
Description: Verify that the DAC sampling frequency is read from the hardware and displayed in MHz.
OS: ANY
- Preconditions:
DAQ2 plugin is loaded and the DAQ2 tool is open
- Steps:
- Open the DAQ2 tool and observe the DAC section.
Expected result: The “Sampling frequency:” label shows a numeric value in MHz (e.g., “1000.000 MHz”), not “N/A”.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 9: ADC Ch0 Test Mode All Options Cycle
UID: TST.DAQ2.ADC_CH0_TEST_MODE_ALL_OPTIONS
RBP: P2
Description: Verify that all nine test mode options for ADC Ch0 can be selected and read back correctly.
OS: ANY
- Preconditions:
DAQ2 plugin is loaded and the DAQ2 tool is open
- Steps:
- For each option in the “Ch0 Test Mode” combo —
off,midscale_short,pos_fullscale,neg_fullscale,checkerboard,pn9,pn23,one_zero_toggle,ramp— select the option and observe the displayed value. Expected result: Each option is applied immediately; the combo displays the newly selected value after each selection.
Actual result:
- For each option in the “Ch0 Test Mode” combo —
Tested OS:
Comments:
Result: PASS/FAIL
Test 10: ADC Ch1 Test Mode All Options Cycle
UID: TST.DAQ2.ADC_CH1_TEST_MODE_ALL_OPTIONS
RBP: P2
Description: Verify that all nine test mode options for ADC Ch1 can be selected and read back correctly.
OS: ANY
- Preconditions:
DAQ2 plugin is loaded and the DAQ2 tool is open
- Steps:
- For each option in the “Ch1 Test Mode” combo —
off,midscale_short,pos_fullscale,neg_fullscale,checkerboard,pn9,pn23,one_zero_toggle,ramp— select the option and observe the displayed value. Expected result: Each option is applied immediately; the combo displays the newly selected value after each selection.
Actual result:
- For each option in the “Ch1 Test Mode” combo —
Tested OS:
Comments:
Result: PASS/FAIL