diff --git a/docs/tests/plugins/m2k/digital_io_tests.rst b/docs/tests/plugins/m2k/digital_io_tests.rst index 2469274e2..d3e8f819b 100644 --- a/docs/tests/plugins/m2k/digital_io_tests.rst +++ b/docs/tests/plugins/m2k/digital_io_tests.rst @@ -13,6 +13,23 @@ Digital IO instrument of the ADALM2000 plugin in Scopy. The following apply for all the test cases in this suite. If the test case has special requirements, they will be listed in the test case section. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ------------------ @@ -56,30 +73,80 @@ Test 1 - Check individual digital pin state (the corresponding led will be turned on). - When DIO 0 is set to logic 0, DIO 7 will be automatically set to logic 0 (the corresponding led will be turned off). + + - **Actual Result**: + +.. + Actual test result goes here. +.. + 6. Connect DIO 0 to a the analog pin **1+** and DIO 7 to the positive power supply **V+** using the pinout diagram attached in resources. 7. Set DIO 0 to logic 0 and open the :ref:`Voltmeter` instrument. Start the instrument and monitor the voltage value on Channel 1. - **Expected Result**: The voltage displayed on the voltmeter is between -0.050V and 0.4V. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 8. Set DIO 0 to logic 1 and monitor the voltage value on Channel 1. Start the instrument. - **Expected Result**: The voltage displayed on the voltmeter is between 2.9V and 3.4V. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 9. Open the :ref:`Power Supply instrument` and set the positive power supply to a voltage level between 0V and 0.8V. Monitor the DIO 7 logic state. - **Expected Result**: DIO 7 indicates logic 0 level. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 10. Open the :ref:`Power Supply instrument` and set the positive power supply to a voltage level between 2V and 3.3V. Monitor the DIO 7 logic state. - **Expected Result**: DIO 7 indicates logic 1 level. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 11. Repeat steps 6 to 11 using DIO 8 as **output** (for step 3) and DIO 1 as **input** for (step 4). - **Expected Result**: All the expected results in step 6 to 11 are met. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 2 - Checking grouped digital pin states ---------------------------------------------------- @@ -101,12 +168,48 @@ are working correctly. 3. Set DIO 0-7 as **output** and DIO 8-15 as **input**. 4. Set DIO 0-7 to value 0. - **Expected Result**: DIO 8-15 value indicates the same value as DIO 0-7 group. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 5. Set DIO 0-7 to value 128. - **Expected Result**: DIO 8-15 value indicates the same value as DIO 0-7 group. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 6. Set DIO 0-7 as **input** and DIO 8-15 as **output**. 7. Set DIO 8-15 to value 0. - **Expected Result**: DIO 0-7 value indicates the same value as DIO 8-15 group. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 8. Set DIO 8-15 to value 128. - **Expected Result**: DIO 0-7 value indicates the same value as DIO 8-15 group. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL -**Result**: PASS/FAIL \ No newline at end of file +.. + The result of the test goes here (PASS/FAIL). diff --git a/docs/tests/plugins/m2k/general_settings_tests.rst b/docs/tests/plugins/m2k/general_settings_tests.rst index f3f9a9325..2bfc3d527 100644 --- a/docs/tests/plugins/m2k/general_settings_tests.rst +++ b/docs/tests/plugins/m2k/general_settings_tests.rst @@ -7,6 +7,23 @@ General Settings - Test Case User guide: :ref:`Scopy Overview `. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ----------------------------------------------- @@ -32,19 +49,56 @@ Test 1: Installation **Steps:** 1. If you have a different version of Scopy installed before, please uninstall along with the M2K drivers. - **Expected Result:** A dialog box will open asking if you want to uninstall Scopy and all of its contents. Upon clicking “Yes”, Scopy must be properly uninstalled. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 2. Download Scopy’s latest release on GitHub (https://github.com/analogdevicesinc/scopy/releases) and run. 3. If you want to automatically install the ADALM2000 drivers, check the box indicating “Install drivers for ADALM2000” and click “Next.” 4. If you want to manually install the ADALM2000 drivers, uncheck the box indicating “Install drivers for ADALM2000” and click “Next.” Go to this link (https://github.com/analogdevicesinc/plutosdr-m2k-drivers-win/releases) to find your preferred version of ADALM2000 drivers. 5. Continue with the installation by following the promptings. 6. After Scopy finishes its installation, a different dialog box will open – the Device Driver Installation Wizard. - **Expected Result:** After completion, the “Device Driver Installation Wizard” dialog box will automatically close and direct you back to the Scopy installation setup. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 7. To use the application immediately, choose the “Yes, restart the computer now” option and click “Finish.” - **Expected Result:** After the restart, open Scopy and check that it is running. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 8. If you opt to use the application for later, choose the “No, I will restart the computer later” option and click “Finish.” - **Expected Result:** The prompt will close and after a restart, scopy can be opened. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 2: M2K Connection and Calibration ----------------------------------------------- @@ -58,28 +112,95 @@ Test 2: M2K Connection and Calibration - Use :ref:`M2k.Usb ` setup. **Steps:** - 1. Connect the M2K board to the PC using a micro-USB connector. - 2. Click the M2K icon. - - **Expected Result:** The instruments will appear on the left panel: Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, Logic Analyzer, Pattern Generator, Digital IO, Voltmeter, and Power Supply. - 3. Click “Identify.” - - **Expected Result:** The “Ready” LED on the M2K board will rapidly blink 10 times indicating that it is the device identified by Scopy. - 4. Click “Connect.” - - **Expected Result:** M2K will auto calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, and Voltmeter instrument should start. “Calibrate” button must be enabled. - 5. After connecting the M2K, manually calibrate the device by clicking the “Calibrate” button. - - **Expected Result:** M2K will calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, and Voltmeter instrument should start. - 6. On the home menu, click the add “+” button and input the IP address of the desired M2K board to control. The default IP address is 192.168.2.1. Click add. - - **Expected Result:** The instruments will appear on the left panel: Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, Logic Analyzer, Pattern Generator, Digital IO, Voltmeter, and Power Supply. - 7. Click “Identify.” - - **Expected Result:** The “Ready” LED on the M2K board will rapidly blink 10 times indicating that it is the device identified by Scopy. - 8. Click “Connect.” - - **Expected Result:** M2K will auto calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, and Voltmeter instrument should start. “Calibrate” button must be enabled. - 9. Click “Forget device.” - - **Expected Result:** The M2K board icon connected remotely will disappear on the panel. - 10. After connecting the M2K, manually calibrate the device by clicking the “Calibrate” button. - - **Expected Result:** M2K will calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, and Voltmeter instrument should start. + 1. Connect the M2K board to the PC using a micro-USB connector. + 2. Click the M2K icon. + - **Expected Result:** The instruments will appear on the left panel: Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, Logic Analyzer, Pattern Generator, Digital IO, Voltmeter, and Power Supply. + - **Actual Result**: + +.. + Actual test result goes here. +.. + + 3. Click “Identify.” + - **Expected Result:** The “Ready” LED on the M2K board will rapidly blink 10 times indicating that it is the device identified by Scopy. + - **Actual Result**: + +.. + Actual test result goes here. +.. + + 4. Click “Connect.” + - **Expected Result:** M2K will auto calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, and Voltmeter instrument should start. “Calibrate” button must be enabled. + - **Actual Result**: + +.. + Actual test result goes here. +.. + + 5. After connecting the M2K, manually calibrate the device by clicking the “Calibrate” button. + - **Expected Result:** M2K will calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, and Voltmeter instrument should start. + - **Actual Result**: + +.. + Actual test result goes here. +.. + + 6. On the home menu, click the add “+” button and input the IP address of the desired M2K board to control. The default IP address is 192.168.2.1. Click add. + - **Expected Result:** The instruments will appear on the left panel: Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, Logic Analyzer, Pattern Generator, Digital IO, Voltmeter, and Power Supply. + - **Actual Result**: + +.. + Actual test result goes here. +.. + + 7. Click “Identify.” + - **Expected Result:** The “Ready” LED on the M2K board will rapidly blink 10 times indicating that it is the device identified by Scopy. + - **Actual Result**: + +.. + Actual test result goes here. +.. + + 8. Click “Connect.” + - **Expected Result:** M2K will auto calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, and Voltmeter instrument should start. “Calibrate” button must be enabled. + - **Actual Result**: + +.. + Actual test result goes here. +.. + + 9. Click “Forget device.” + - **Expected Result:** The M2K board icon connected remotely will disappear on the panel. + - **Actual Result**: + +.. + Actual test result goes here. +.. + + 10. After connecting the M2K, manually calibrate the device by clicking the “Calibrate” button. + - **Expected Result:** M2K will calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, and Voltmeter instrument should start. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 3: Save and Load Profile ----------------------------------------------- @@ -95,26 +216,81 @@ Test 3: Save and Load Profile **Steps:** 1. Save the current profile. On the bottom part of the left panel, click the “Save” icon and save the profile as “default.ini.” Change any setting on any instrument and reload the profile. - **Expected Result:** The change made on a certain instrument should be undone and the default profile should load. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 2. Oscilloscope’s Settings: For Channel 1: Time Base: 100ns, Volts/Div: 2V, For Channel 2: Volts/Div: 5V. Signal Generator’s Settings: For Channel 1: Sinewave, 3Vpp, 3MHz, For Channel 2: Square Wave, 5Vpp, 900kHz. Spectrum Analyzer’s Settings: Frequency Sweep Setting: Start – 500kHz; Stop – 5MHz, Amplitude: Top – 10dBFS; Bottom – -140dBFS. 3. Connect AWG channel 1 to Scope Ch1+ and AWG channel 2 to Scope Ch2+. Connect Scope Ch1- and Ch2- to GND. 4. Run the Signal Generator instrument, and check the output on Oscilloscope and Spectrum Analyzer. Then save the profile as “profile1.ini.” - **Expected Result:** The output waveform on the Oscilloscope should be set in a way that the signals are can properly be seen compared with the default settings. In the Spectrum Analyzer the fundamental frequency of both signals should be present in the plot window set by the sweep setting. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 5. Reload the default setting by deleting the file in ``C:\Users\your_username\AppData\Roaming\ADI``. Reload “profile1.ini” and run the signal generator and oscilloscope or Spectrum Analyzer. - **Expected Result:** The result should be the same on the saved profile. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 6. Pattern Generator’s Settings: Enable DIO2, DIO3, DIO6, DIO7, DIO10, DIO11, DIO14 and DIO15. Group DIO1 and DIO2 set to random and 1MHz frequency. Group DIO10 and DIO11 and set to Binary Counter at 1MHz. Set the other enabled DIOs to clock at 1MHz. Logic Analyzer’s Settings: Group DIO0, DIO1, DIO4, DIO5, DIO8, DIO9, DIO12, and DIO13 and set to parallel mode. Group DIO2 and DIO3 and set to parallel mode. Group DIO10 and DIO11 and set to parallel mode. Set the time base to 1us. Digital IO’s Settings: Set DIO0, DIO1, DIO4, DIO5, DIO8, DIO9, DIO12, and DIO13 to output. 7. Run the three instrument and open Logic Analyzer instrument. Save the profile as “profile2.ini”. - **Expected Result:** See that the profile is saved on the desired location and the logic analyzer should be set in a way that the rising and falling edge of the signal is clearly seen. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 8. Reload the default setting by deleting the file in ``C:\Users\your_username\AppData\Roaming\ADI``. Reload “profile2.ini”, and run Pattern Generator, DigitalIO and Logic Analyzer. - **Expected Result:** The result should be the same on the saved profile. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 9. Power Supply’s Settings: Set to “Tracking Mode” with 35% tracking setting. Set positive supply to 3V and the negative supply should automatically be set to -1.05V. Signal Generator’s Settings: For Channel 1: Sinewave, 2Vpp, 10kHz, For Channel 2: Sinewave, 1Vpp, 10kHz, 90deg phase. Voltmeter Settings: For Channel 1: DC (Direct Current), History – OFF, For Channel 2: AC (20Hz – 40kHz), History – ON (1s). Network Analyzer: Reference: Channel 1, 2V Amplitude, Sweep: Linear, Start – 1kHz, Stop – 100kHz, Sample Count – 200, Display: Min. Magnitude – -90dB, Max. Magnitude – 10dB, Min. Phase – -100deg, Max. Phase – 100deg. 10. Connect Positive Supply to Scope Ch1+, connect AWG1 to Scope Ch2+, connect scope Ch1- and Scope Ch2- to GND. 11. Run Power Supply, Voltmeter and Signal Generator to see if the voltmeter will be able to read 3V on channel 1 and 0.7V on channel 2. Save the profile as “profile3.ini”. - - **Expected Result:** Channel 1’s history should be off and channel 2’s history should be present and the reading must be stable. + - **Expected Result:** Channel 1’s history should be off and channel 2’s history should be present and the reading must be stable. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 12. Reload the default setting by deleting the file in ``C:\Users\your_username\AppData\Roaming\ADI``. Reload “profile3.ini”, and run Power Supply, Voltmeter and Signal Generator. - - **Expected Result:** The result should be the same on the saved profile. The network analyzer’s setting should be retained. + - **Expected Result:** The result should be the same on the saved profile. The network analyzer’s setting should be retained. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 4: Preferences ----------------------------------------------- @@ -130,25 +306,80 @@ Test 4: Preferences **Steps:** 1. Click the Preferences option located below the instrument options. - **Expected Result:** The Preferences menu should contain seven sections: General, Oscilloscope, Spectrum Analyzer, Logic Analyzer, Signal Generator, Network Analyzer, and Debug. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 2. Enable “Save session when closing Scopy.” 3. Use Scopy and play with its instruments, changing the configurations and settings. Close Scopy and reopen. 4. Enable “Show advanced device information.” 5. On the Home menu, click the M2K icon and drag down to see the advanced device information. - **Expected Result:** A dialog box should appear confirming the reset command. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Reset profile to default by deleting the files from ``C:\Users\your_username\AppData\Roaming\ADI``. Enable auto save feature. Load profile 1, profile 2 or profile 3 from Testing Save and Load feature steps. Close Scopy and Open. 7. Following step 6, open Scopy and the current profile should be one of the profiles created from the Save and load test case. On the General Setting preference, the reset scopy is located in the lower right of the Scopy screen. Click reset scopy. - **Expected Result:** Reopening Scopy, the profile loaded should be the profile saved. Scopy should return to its default setting. Similar with deleting the files from folder. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. Under the Oscilloscope section, labels on the plot may be toggled on or off. - **Expected Result:** Checking the Oscilloscope plot, the labels must synchronize with the option chosen. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. On the Spectrum Analyzer section, an option to search or not to search marker peaks in the visible domain is given. 10. Signal Generator’s Settings: For Channel 1: Sinewave, 10Vpp, 500kHz. Spectrum Analyzer’s Sweep Settings: Start – 700kHz, Stop – 1MHz. Disable Channel 2. Connect AWG channel 1 to Scope Ch1+. 11. Under the Marker Settings, click Marker 1 then “Peak.” Turn the Marker Table on and look for the marked frequencies. - - **Expected Result:** A marker labeled M1 will automatically appear on the spectrum upon clicking Marker 1. Clicking “Peak” will put the Marker on the 500kHz mark. + - **Expected Result:** A marker labeled M1 will automatically appear on the spectrum upon clicking Marker 1. Clicking “Peak” will put the Marker on the 500kHz mark. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Under the Signal Generator section, The number of periods shown may be adjusted from 2 to 9. - - **Expected Result:** The signal generator’s graphical representation must follow the desired number of periods on the lower frequency channel (if both channels are configured to output waveform signals). When numbers other than 2 to 9 are entered, the number and the line under it turns to red. + - **Expected Result:** The signal generator’s graphical representation must follow the desired number of periods on the lower frequency channel (if both channels are configured to output waveform signals). When numbers other than 2 to 9 are entered, the number and the line under it turns to red. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. On the Network Analyzer section, an option to display 0dB on the graph is available. Click to enable it. 14. Construct a first-order low pass RC filter with the following components: R = 470 Ohms, C = 1uF. This will have a cut-off frequency of ~340 Hz. 15. Network Analyzer’s Settings: Reference: Channel 1, 1V Amplitude, 0V Offset. Sweep: Logarithmic, Start – 10Hz, Stop – 500kHz, Sample Count - 100. Display: Min. Magnitude – -90dB, Max. Magnitude – 10dB, Min. Phase – -150deg, Max. Phase – 60deg. Run Network Analyzer. - - **Expected Result:** The Bode Plot has 0dB on its labels. + - **Expected Result:** The Bode Plot has 0dB on its labels. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + diff --git a/docs/tests/plugins/m2k/logic_analyzer_tests.rst b/docs/tests/plugins/m2k/logic_analyzer_tests.rst index e57841374..55a8e4c42 100644 --- a/docs/tests/plugins/m2k/logic_analyzer_tests.rst +++ b/docs/tests/plugins/m2k/logic_analyzer_tests.rst @@ -13,6 +13,23 @@ Logic Analyzer instrument of the ADALM2000 plugin in Scopy. The following apply for all the test cases in this suite. If the test case has special requirements, they will be listed in the test case section. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ------------------ @@ -63,30 +80,68 @@ digital channels - rising edge, falling edge, high, low, any edge. 6. In the Logic Analyzer set DIO0’s trigger to **rising edge** configuration. 7. Run the Digital IO, Pattern Generator and Logic Analyzer instrument. 8. In the Digital IO, change DIO0’s output from 0 to 1. - - **Expected Result**: - - The logic analyzer initiates a capture. + - **Expected Result**: The logic analyzer initiates a capture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Stop the Logic Analyzer and set DIO0’s trigger to **rising edge** configuration. 10. Run the Logic Analyzer instrument. 11. In the Digital IO, change DIO0’s output from 1 to 0. - - **Expected Result**: - - The logic analyzer initiates a capture. + - **Expected Result**: The logic analyzer initiates a capture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Stop the Logic Analyzer and set DIO0’s trigger to **any edge** configuration. 13. Run the Logic Analyzer instrument. 14. In the Digital IO, change DIO0’s output from 0 to 1 or 1 to 0. - - **Expected Result**: - - The logic analyzer initiates a capture. + - **Expected Result**: The logic analyzer initiates a capture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 15. Stop the Logic Analyzer and set DIO0’s trigger to **low** configuration. 16. Run the Logic Analyzer instrument. 17. In the Digital IO, set DIO0’s output to 0. - - **Expected Result**: - - The logic analyzer continuously captures the signal. + - **Expected Result**: The logic analyzer continuously captures the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 18. Stop the Logic Analyzer and set DIO0’s trigger to **high** configuration. 19. Run the Logic Analyzer instrument. 20. In the Digital IO, set DIO0’s output to 1. - - **Expected Result**: - - The logic analyzer continuously captures the signal. + - **Expected Result**: The logic analyzer continuously captures the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 2 - External Channel Trigger Function --------------------------------------------- @@ -118,37 +173,80 @@ Test 2 - External Channel Trigger Function 6. Open the Logic Analyzer trigger menu and turn on the External trigger. Select the source as **External Trigger In**. - - **Expected Result**: - - Triggers set on every DIO channels are automatically turned off. + - **Expected Result**: Triggers set on every DIO channels are automatically turned off. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Connect Trigger in 1 to DIO0 using a loopback cable. 8. In the Logic Analyzer Trigger settings menu set the External Trigger In condition to **rising edge**. 9. Run the Digital IO, Pattern Generator and Logic Analyzer instrument. 10. In the Digital IO, change DIO0’s output from 0 to 1. - - **Expected Result**: - - The logic analyzer initiates a capture. + - **Expected Result**: The logic analyzer initiates a capture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. Stop all instruments and set the External Trigger In condition to **falling edge**. 12. Run the Digital IO, Pattern Generator and Logic Analyzer instrument. 13. In the Digital IO, change DIO0’s output from 1 to 0. - - **Expected Result**: - - The logic analyzer initiates a capture. + - **Expected Result**: The logic analyzer initiates a capture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Stop all instruments and set the External Trigger In condition to **any edge**. 15. Run the Digital IO, Pattern Generator and Logic Analyzer instrument. 16. In the Digital IO, change DIO0’s output from 0 to 1 or 1 to 0. - - **Expected Result**: - - The logic analyzer initiates a capture. + - **Expected Result**: The logic analyzer initiates a capture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 17. Stop all instruments and set the External Trigger In condition to **low**. 18. Run the Digital IO, Pattern Generator and Logic Analyzer instrument. 19. In the Digital IO, set DIO0’s output to 0. - - **Expected Result**: - - The logic analyzer continuously captures the signal. + - **Expected Result**: The logic analyzer continuously captures the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Stop all instruments and set the External Trigger In condition to **high**. 21. Run the Digital IO, Pattern Generator and Logic Analyzer instrument. 22. In the Digital IO, set DIO0’s output to 1. - - **Expected Result**: - - The logic analyzer continuously captures the signal. + - **Expected Result**: The logic analyzer continuously captures the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 3 - Oscilloscope Source External Trigger --------------------------------------------- @@ -188,26 +286,63 @@ Oscilloscope as the source. - If you drag the horizontal cursor in the Oscilloscope window above or below the signal, it should be in Waiting state, and Logic analyzer will be Waiting too. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. Open the Oscilloscope trigger menu and set the trigger condition to **falling edge**. 9. Verify that the Logic Analyzer is triggered at the same time with the Oscilloscope. - **Expected Result**: - If you drag the horizontal cursor in the Oscilloscope window above or below the signal, it should be in Waiting state, and Logic analyzer will be Waiting too. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. Open the Oscilloscope trigger menu and set the trigger condition to **low**. 11. Verify that the Logic Analyzer is triggered at the same time with the Oscilloscope. - **Expected Result**: - If you drag the horizontal cursor in the Oscilloscope window above or below the signal, it should be in Waiting state, and Logic analyzer will be Waiting too. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Open the Oscilloscope trigger menu and set the trigger condition to **high**. 13. Verify that the Logic Analyzer is triggered at the same time with the Oscilloscope. - **Expected Result**: - If you drag the horizontal cursor in the Oscilloscope window above or below the signal, it should be in Waiting state, and Logic analyzer will be Waiting too. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 4 - Trigger Modes --------------------------------------------- @@ -239,21 +374,55 @@ Test 4 - Trigger Modes 7. In the Logic Analyzer trigger configuration, set the trigger logic to **OR**. 8. Run the Digital IO, Pattern Generator and Logic Analyzer instrument. 9. In the Digital IO instrument set DIO0’s output to 0 and DIO1’s output to 0. - - **Expected Result**: - - The logic analyzer does not start capturing. + - **Expected Result**: The logic analyzer does not start capturing. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. In the Digital IO instrument set DIO0 or DIO1’s output to 1. - - **Expected Result**: - - The logic analyzer starts capturing signal when either of the DIO0 OR DIO1 is HIGH. + - **Expected Result**: The logic analyzer starts capturing signal when either of the DIO0 OR DIO1 is HIGH. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. Stop all instruments and set the trigger logic to **AND**. 12. Run the Digital IO, Pattern Generator and Logic Analyzer instrument. 13. In the Digital IO instrument set DIO0’s output to 0 and DIO1’s output to 1. - - **Expected Result**: - - The logic analyzer does not start capturing. + - **Expected Result**: The logic analyzer does not start capturing. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. In the Digital IO instrument set DIO0 and DIO1’s output to 1. - - **Expected Result**: - - The logic analyzer starts capturing signal only when DIO0 AND DIO1 are HIGH. + - **Expected Result**: The logic analyzer starts capturing signal only when DIO0 AND DIO1 are HIGH. + - **Actual Result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 5 - Clock signal measurement accuracy --------------------------------------------- @@ -284,13 +453,23 @@ Test 5 - Clock signal measurement accuracy 5. Run a single capture of the Logic Analyzer and move the cursor handles to the consecutive rising edges or consecutive falling edges of the signal. - - **Expected Result**: - - The data measured by the cursor is close to ∆t: 10ms and 1/∆t: 100Hz. + - **Expected Result**: The data measured by the cursor is close to ∆t: 10ms and 1/∆t: 100Hz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. In the Cursors settings menu enable **Cursors lock** and measure the next set of edges. - - **Expected Result**: - - The data measured by the cursor is close to ∆t: 10ms and 1/∆t: 100Hz. + - **Expected Result**: The data measured by the cursor is close to ∆t: 10ms and 1/∆t: 100Hz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Set the Logic Analyzer sample rate to 100Msps and position to 0s. 8. Set the Pattern Generator DIO 0 parameters to: - Pattern: clock. @@ -298,13 +477,23 @@ Test 5 - Clock signal measurement accuracy 9. Run a single capture of the Logic Analyzer and move the cursor handles to the consecutive rising edges or consecutive falling edges of the signal. - - **Expected Result**: - - The data measured by the cursor is close to ∆t: 400ns and 1/∆t: 2.5MHz. + - **Expected Result**: The data measured by the cursor is close to ∆t: 400ns and 1/∆t: 2.5MHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. In the Cursors settings menu enable **Cursors lock** and measure the next set of edges. - - **Expected Result**: - - The data measured by the cursor is close to ∆t: 400ns and 1/∆t: 2.5MHz. + - **Expected Result**: The data measured by the cursor is close to ∆t: 400ns and 1/∆t: 2.5MHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. Set the Logic Analyzer sample rate to 20ksps. 12. Set the Pattern Generator DIO 0 parameters to: - Pattern: clock. @@ -313,13 +502,36 @@ Test 5 - Clock signal measurement accuracy 13. Run a single capture of the Logic Analyzer and move the cursor handles to the rising and falling edge of the upper limit. - - **Expected Result**: - - The data measured by the cursor is close to ∆t: 7ms. + - **Expected Result**: The data measured by the cursor is close to ∆t: 7ms. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Move the cursors to the falling and rising edge of the lower limit. - - **Expected Result**: - - The data measured by the cursor is close to ∆t: 3ms. + - **Expected Result**: The data measured by the cursor is close to ∆t: 3ms. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 6 - Parallel Decoder --------------------------------------------- @@ -344,14 +556,38 @@ Test 6 - Parallel Decoder Set the number value to 50 (it is read as decimal). 4. Run the Pattern Generator and Logic Analyzer instrument. 5. Verify the Logic Analyze decoded value. - - **Expected Result**: - - The reading is in hex format. For reference, 50 decimal = 32 hex. + - **Expected Result**: The reading is in hex format. For reference, 50 decimal = 32 hex. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. In the Pattern Generator set the number value to 250. 7. Verify the Logic Analyzer decoded value. - - **Expected Result**: - - The reading is in hex format. For reference, 250 decimal = FA. + - **Expected Result**: The reading is in hex format. For reference, 250 decimal = FA. + - **Actual Result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 7 - SPI decoder --------------------------------------------- @@ -383,11 +619,28 @@ Test 7 - SPI decoder - Data: insert 4 bytes in hex form e.g: AB CD EF 15. 5. Run the Pattern Generator and Logic Analyzer instrument. 6. Verify the Logic Analyzer plot for the decoder output: - - **Expected Result**: - - The MISO data has 2 bytes per frame and the decoded data is - AB CD EF 15. + - **Expected Result**: The MISO data has 2 bytes per frame and the decoded data is AB CD EF 15. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 8 - UART decoder --------------------------------------------- @@ -424,17 +677,45 @@ Test 8 - UART decoder 5. Connect DIO0 to DIO1 using a loopback cable. 6. Run the Pattern Generator and Logic Analyzer instrument. 7. Verify the Logic Analyzer plot for the decoder output: - - **Expected Result**: - - The RX decoded data is "M2K". + - **Expected Result**: The RX decoded data is "M2K". + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. In the Pattern Generator change the baud rate to 115200. 9. Verify the Logic Analyzer plot for the decoder output: - - **Expected Result**: - - The RX decoded data is not "M2K". + - **Expected Result**: The RX decoded data is not "M2K". + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. In the Logic Analyzer change the baud rate to 115200: - - **Expected Result**: - - The RX decoded data is "M2K". + - **Expected Result**: The RX decoded data is "M2K". + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 9 - PWM Decoder --------------------------------------------- @@ -458,10 +739,28 @@ Test 9 - PWM Decoder and set the duty cycle to 5%, 30%, 50%, 75% and 95% verifying the Logic Analyzer decoded data in between changes: - - **Expected Result**: - - The data follows the duty cycle set in the pattern generator. + - **Expected Result**: The data follows the duty cycle set in the pattern generator. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 10 - Channel visual representation --------------------------------------------- @@ -482,16 +781,44 @@ trace height and plot color. 2. Enable DIO0 and open the channel settings by double clicking the channel handle. 3. Change the channel name to "D0" and verify the channel handle: - - **Expected Result**: - - The channel handle displays "D0". + - **Expected Result**: The channel handle displays "D0". + - **Actual Result:** + +.. + Actual test result goes here. +.. + 4. Change the trace height to 50: - - **Expected Result**: - - The trace height on the plot is doubled. + - **Expected Result**: The trace height on the plot is doubled. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Change the color to **transparent** and verify the channel on plot: - - **Expected Result**: - - The channel is no longer seen on the plot. + - **Expected Result**: The channel is no longer seen on the plot. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 11 - Export Functionality --------------------------------------------- @@ -521,13 +848,36 @@ of the Logic Analyzer. 3. In the Logic Analyzer General Settings menu set the Export All to **On** and click the Export button. 4. Select the file name, location and choose .csv format. - - **Expected Result**: - - The file is created in the specified location. + - **Expected Result**: The file is created in the specified location. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Open the file and verify the data: - - **Expected Result**: - - The exported data is in .csv format and correspods to the data on the plot. + - **Expected Result**: The exported data is in .csv format and correspods to the data on the plot. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 12 - Print Plot --------------------------------------------- @@ -551,11 +901,30 @@ of the Logic Analyzer. - DIO0 and DIO1: Pattern: Clock, Frequency: 100Hz, Phase: 0 and Duty Cycle: 50%. 3. Run the Logic Analyzer and Pattern Generator. 4. Press the Print Plot button and choose a location for the exported file: - - **Expected Result**: - - The file is created in the specified location. + - **Expected Result**: The file is created in the specified location. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Open the .pdf exported file and visually compare it to the application plot. -**Result**: PASS/FAIL +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 13 - Decoder Table --------------------------------------------- @@ -591,11 +960,40 @@ Test 13 - Decoder Table - **Expected Result**: - Each table row has RX data and time annotations. - The RX data corresponds to the data sent by the Pattern Generator. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Write "^3$" in the Regex search box and press Enter. - - **Expected Result**: - - Only the RX data equal to "3" is displayed in the table. + - **Expected Result**: Only the RX data equal to "3" is displayed in the table. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. Double click on the first RX data row of the decoder table: - - **Expected Result**: - - The plot is zoomed in and centered on the corresponding data. + - **Expected Result**: The plot is zoomed in and centered on the corresponding data. + - **Actual Result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL -**Result**: PASS/FAIL \ No newline at end of file +.. + The result of the test goes here (PASS/FAIL). diff --git a/docs/tests/plugins/m2k/network_analyzer_tests.rst b/docs/tests/plugins/m2k/network_analyzer_tests.rst index 3b01dc32f..14b6e3851 100644 --- a/docs/tests/plugins/m2k/network_analyzer_tests.rst +++ b/docs/tests/plugins/m2k/network_analyzer_tests.rst @@ -7,6 +7,23 @@ Network Analyzer - Test Suite User guide: :ref:`Network Analyzer user guide` + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ------------------ @@ -59,24 +76,75 @@ using a Low Pass Filter. 2. Run the Network Analyzer. Check the frequency response in the Bode plot. - **Expected result:** On the Magnitude Plot, after a flat section (passband), response, the trace drops at around 340Hz (cutoff frequency). + - **Actual result:** + +.. + Actual test result goes here. +.. + 3. Enable the “Cursor” and move it to find the -3dB point on the trace. - **Expected result:** The magnitude indicates -3dB at approximately 340 Hz. The phase corresponding to the same frequency is also displayed. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Disable the cursor by clicking the box again. - **Expected result:** The cursor controls disappear from the interface. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Open the General Settings and change the plot type to **Nyquist**: - **Expected result:** The Magnitude and Phase plot are replaced by a Polar plot. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Change the plot type to **Nichols**. - **Expected result:** The polar plot is replaced by a single plot with the magnitude on the Y Axis and phase on the X Axis. + - **Actual result:** + +.. + Actual test result goes here. +.. + 7. Change the plot type to **Bode** and switch to **Linear** sweep type. - **Expected result:** The plot frequency scale changes to a linear one. The signal drops abruptly until it reaches -3dB at around 340Hz, then the trace flattens. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 2 - Low Pass Filter CH2 340Hz --------------------------------------- @@ -111,23 +179,74 @@ using a Low Pass Filter. 2. Run the Network Analyzer. Check the frequency response in the Bode plot. - **Expected result:** On the Magnitude Plot, after a flat section (passband), response, the trace drops at around 340Hz (cutoff frequency). + - **Actual result:** + +.. + Actual test result goes here. +.. + 3. Enable the “Cursor” and move it to find the -3dB point on the trace. - **Expected result:** The magnitude indicates -3dB at approximately 340 Hz. The phase corresponding to the same frequency is also displayed. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Disable the cursor by clicking the box again. - **Expected result:** The cursor controls disappear from the interface. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Open the General Settings and change the plot type to **Nyquist**: - **Expected result:** The Magnitude and Phase plot are replaced by a Polar plot. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Change the plot type to **Nichols**. - **Expected result:** The polar plot is replaced by a single plot with the magnitude on the Y Axis and phase on the X Axis. + - **Actual result:** + +.. + Actual test result goes here. +.. + 7. Change the plot type to **Bode** and switch to **Linear** sweep type. - **Expected result:** The plot frequency scale changes to a linear one. The signal drops abruptly until it reaches -3dB at around 340Hz, then the trace flattens. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 3 - Low Pass Filter CH1 1.59MHz ----------------------------------------- @@ -163,17 +282,56 @@ using a Low Pass Filter. 2. Run the Network Analyzer. Check the frequency response in the Bode plot. - **Expected result:** On the Magnitude Plot, after a flat section (passband), response, the trace drops at around 1.5 MHz (cutoff frequency). + - **Actual result:** + +.. + Actual test result goes here. +.. + 3. Enable the “Cursor” and move it to find the -3dB point on the trace. - **Expected result:** The magnitude indicates -3dB at approximately 1.5MHz. The phase corresponding to the same frequency is also displayed. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Disable the cursor by clicking the box again. - **Expected result:** The cursor controls disappear from the interface. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Switch to **Linear** sweep type. - **Expected result:** The plot frequency scale changes to a linear one. The signal gradually drops and reaches -3dB at around 1.59MHz. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 4 - High Pass Filter CH1 340Hz ---------------------------------------- @@ -211,14 +369,47 @@ using a High Pass Filter. which is the cutoff frequency. After the cutoff frequency, the magnitude plot flattens, indicating the high pass allows the frequencies to pass without attenuation. + - **Actual result:** + +.. + Actual test result goes here. +.. + 3. Enable the “Cursor” and move it to find the -3dB point on the trace. - **Expected result:** The magnitude indicates -3dB at approximately 340 Hz. The phase corresponding to the same frequency is also displayed. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Disable the cursor by clicking the box again. - **Expected result:** The cursor controls disappear from the interface. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 5 - Band Pass Filter CH1 ---------------------------------- @@ -262,14 +453,48 @@ frequency of 15.9kHz. which is the lower cutoff frequency. The trace section after the lower cutoff frequency is a the passband. The trace drops from -3dB at around 15.9kHz which is the higher cutoff frequency. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 3. Enable the “Cursor” and move it to find the -3dB points on the trace. - **Expected result:** The magnitude indicates -3dB at approximately 1.59 kHz and 15.9 kHz. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Disable the cursor by clicking the box again. - **Expected result:** The cursor controls disappear from the interface. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 6 - Band Stop Filter CH1 ---------------------------------- @@ -315,13 +540,45 @@ using a Band Stop notch Filter with a notch frequency of 795Hz. - **Expected result:** On the Magnitude Plot, the trace is around -3dB on the entire spectrum, except at around 795Hz where the trace drops and then rises again to -3dB. + - **Actual result:** + +.. + Actual test result goes here. +.. + 3. Enable the “Cursor” and move it to find the low point on the trace. - **Expected result:** The magnitude drops at around 795Hz. + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Disable the cursor by clicking the box again. - **Expected result:** The cursor controls disappear from the interface. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 7 - Print Plot ------------------- @@ -344,10 +601,36 @@ by exporting the low pass filter plot screenshot to a PDF file. 2. Click the Print plot button and choose a name and location for the file. - **Expected result:** The file is saved as a PDF in the selected location. + - **Actual result:** + +.. + Actual test result goes here. +.. + 3. Open the exported file and verify it: - **Expected result:** The plot is correctly saved in the PDF file. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 8 - Buffer Previewer ---------------------------- @@ -373,23 +656,67 @@ by viewing the acquired data in the Oscilloscope and analyzing measurements. 2. Run a Single capture in the Network Analyzer. 3. In the Sweep settings menu, enable the Buffer Previewer. - **Expected result:** A time domain plot appears above the Bode plot. + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Slide the blue handle at the leftmost end of the plot. - **Expected result:** - A sinewave is displayed on the time plot. - Below the time plot the Sample Count is 1/10, Current Frequency is 20Hz. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. In the Sweep settings menu click the **ViewInOsc** button. - **Expected result:** - The Oscilloscope instrument is opened. - The data is displayed as reference waveform in the Oscilloscope. - The measurements show a frequency of 20Hz. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Slide the blue handle at the rightmost end of the plot. - **Expected result:** - A sinewave is displayed on the time plot. - Below the time plot the Sample Count is 10/10, Current Frequency is 1MHz. + - **Actual result:** + +.. + Actual test result goes here. +.. + 7. In the Sweep settings menu click the **ViewInOsc** button. - **Expected result:** - The Oscilloscope instrument is opened. - The data is displayed as reference waveform in the Oscilloscope. - The measurements show a frequency of 1MHz. + - **Actual result:** + +.. + Actual test result goes here. +.. + -**Result**: PASS/FAIL +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + diff --git a/docs/tests/plugins/m2k/oscilloscope_tests.rst b/docs/tests/plugins/m2k/oscilloscope_tests.rst index d78274fd8..508d7d6bd 100644 --- a/docs/tests/plugins/m2k/oscilloscope_tests.rst +++ b/docs/tests/plugins/m2k/oscilloscope_tests.rst @@ -10,6 +10,23 @@ Oscilloscope - Test Suite The following test cases are designed to verify the functionality of the Oscilloscope plugin. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ------------------ @@ -57,14 +74,40 @@ volts/div knobs. - The Time Base value changes to 200ns and 500ns after the + button. - The Volts/Div value changes to 1V, 500, 200, 100 mV after the - button. - The Volts/Div value changes to 200mV and 500mV after the + button. + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Set the knob to small increment (orange dot in the center). Set the Time Base to 2us and the Volts/Div to 2 Volts. 5. Use the + and - button once on each knob: - **Expected result:** - The Time Base value changes to 3us and back to 2us. - The Volts/Div value changes to 3V and back to 2V. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 2 - Position Knob ----------------------- @@ -89,11 +132,23 @@ which depends on the value of the Time Base. - The position changes to 200ns and 400ns after the + and back to 200ns and 0 after the - button. - The plot handle position also changes accordingly. + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Set the Time Base to 1us and the horizontal position to 0. - **Expected result:** - The position changes to 100ns and 200ns after the + button and back to 100ns and 0 after the - button. - The plot handle position also changes accordingly. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Set the Position knob to small increment (orange dot in the center). Set the Time Base to 2us and the horizontal position to 0. 6. Use the + button 2 times and the - button 2 times on the horizontal Position knob: @@ -101,8 +156,28 @@ which depends on the value of the Time Base. - The position changes to 20ns and 40ns after the + button and back to 20ns and 0 after the - button. - The plot handle position also changes accordingly. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 3 - Constant Signal Check ------------------------------- @@ -127,11 +202,37 @@ oscilloscope using Channel 1. 5. Monitor the Oscilloscope RMS measurement: - **Expected result:** - The RMS reading is within 3.2V to 3.4V. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Change the value to 0V in the Signal Generator and monitor it on the Oscilloscope: - **Expected result:** - The reading is within 4.9V to 5.1V. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 4 - Sine Wave Signal Check ------------------------------- @@ -161,13 +262,39 @@ using Channel 1. - The plot displays 1.5 periods. - The measurements display: Period: 5ms, Frequency: 200 Hz, Peak-peak: 1.9Vpp to 2.1Vpp, RMS: 0.6Vrms to 0.8Vrms. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Change the Signal Generator amplitude to 5V and the frequency to 500Hz: - **Expected result:** - The plot displays 4 periods. - The measurements display: Period: 2ms, Frequency: 500 Hz, Peak-peak: 4.9Vpp to 5.1Vpp, RMS: 1.74Vrms to 1.78Vrms. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 5 - Square Wave Signal Check --------------------------------- @@ -197,6 +324,12 @@ the oscilloscope using Channel 1. - The plot displays 4 square waves. - The measurements display: Period: 2ms, Frequency: 500 Hz, Amplitude: 4.9Vpp to 5.1Vpp, RMS: 2.4Vrms to 2.6Vrms. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Change the Signal Generator amplitude to 8V and the frequency to 2 kHz. Change the Oscilloscope Time Base to 200us/div: @@ -204,8 +337,29 @@ the oscilloscope using Channel 1. - The plot displays 6 square waves. - The measurements display: Period: 500us, Frequency: 2 kHz, Amplitude: 7.9Vpp to 8.1Vpp, RMS: 3.9Vrms to 4.1Vrms. + + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 6 - Triangle Wave Signal Check ----------------------------------- @@ -235,6 +389,12 @@ the oscilloscope using Channel 1. - The plot displays 6 triangle waves. - The measurements display: Period: 500us, Frequency: 2 kHz, Peak-peak: 3.9Vpp to 4.1Vpp, RMS: 1.0Vrms to 1.2Vrms. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Change the Signal Generator amplitude to 5V and the frequency to 20kHz. Change the Oscilloscope Time Base to 5us/dev. @@ -242,8 +402,29 @@ the oscilloscope using Channel 1. - The plot displays 6 triangle waves. - The measurements display: Period: 50us, Frequency: 20 kHz, Peak-peak: 4.9Vpp to 5.1Vpp, RMS: 1.3Vrms to 1.5Vrms. + + - **Actual result:** + +.. + Actual test result goes here. +.. + -**Result**: PASS/FAIL +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 7 - Rising/Falling Ramp Sawtooth Wave ------------------------------------------ @@ -273,13 +454,39 @@ the signal generator on the oscilloscope using Channel 1. - The plot displays 3 sawtooth waves. - The measurements display: Period: 50us, Frequency: 20 kHz, Peak-peak: 7.9Vpp to 8.1Vpp, RMS: 2.2Vrms to 2.4Vrms. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Change the Signal Generator configuration to Falling Ramp Sawtooth: - **Expected result:** - The plot displays 3 sawtooth waves. - The measurements display: Period: 50us, Frequency: 20 kHz, Peak-peak: 7.9Vpp to 8.1Vpp, RMS: 2.2Vrms to 2.4Vrms. + - **Actual result:** + +.. + Actual test result goes here. +.. + -**Result**: PASS/FAIL +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 8 - Cursor Reading Check ------------------------------ @@ -311,19 +518,59 @@ Channel 1. - **Expected result:** - The frequency 1/ΔT is around 200Hz. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Adjust the vertical cursors to measure the peak-peak amplitude: place cursor V1 on the crest and V2 on the bottom of the sine wave: - **Expected result:** - The peak-peak amplitude is around 2V. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. In the Cursors Settings menu turn off the Horizontal cursors: - **Expected result:** - The horizontal cursors disappear from the plot as well as from the readouts. + - **Actual result:** + +.. + Actual test result goes here. +.. + 7. In the Cursors Settings menu turn off the Vertical cursors: - **Expected result:** - The vertical cursors disappear from the plot as well as from the readouts. + - **Actual result:** + +.. + Actual test result goes here. +.. + -**Result**: PASS/FAIL +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 9 - Trigger Function Check ------------------------------- @@ -356,32 +603,88 @@ with different trigger configurations. - **Expected result:** - The plot time handle is centered at the rising edge of the triangle wave. - The signal is static (not moving around at each triggered sample). + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Change the Trigger Condition to Falling Edge: - **Expected result:** - The plot time handle is centered at the falling edge of the triangle wave. - The signal is static (not moving around at each triggered sample). + - **Actual result:** + +.. + Actual test result goes here. +.. + 7. Set the Hysteresis value to 1.25V and Level to -1.7V: - **Expected result:** - The signal on the plot is not triggered and unstable. - The plot level is outside the triggered range of ~1.3V to +2.5V. + - **Actual result:** + +.. + Actual test result goes here. +.. + 8. Set the Hysteresis value to 1.25V and Level to -1.2V: - **Expected result:** - The signal on the plot is triggered and stable. - The plot level is in the triggered range of ~1.3V to +2.5V. + - **Actual result:** + +.. + Actual test result goes here. +.. + 9. Set the Hysteresis value to 2.5V and Level to -2.5V: - **Expected result:** - The signal on the plot is not triggered and unstable. - The plot level is outside the triggered range of 0V to +2.5V. + - **Actual result:** + +.. + Actual test result goes here. +.. + 10. Set the Hysteresis value to 2.5V and Level to 0.1V: - **Expected result:** - The signal on the plot is triggered and stable. - The plot level is in the triggered range of 0V to +2.5V. + - **Actual result:** + +.. + Actual test result goes here. +.. + 11. Set the Hysteresis value to 2.5V and Level to 3V: - **Expected result:** - The signal on the plot is not triggered and unstable. - The plot level is outside the triggered range of 0V to +2.5V. + - **Actual result:** + +.. + Actual test result goes here. +.. + -**Result**: PASS/FAIL +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 10 - Math Channel Operations --------------------------------- @@ -409,11 +712,23 @@ Test 10 - Math Channel Operations - *sqrt(t0*t0)* - **Expected result:** - The plot contains a new Channel having all the samples from Channel 1. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Add a new Math Channel with the following function: - *2\*(t1+t1)* - **Expected result:** - The plot contains a new Channel having the amplitude of Channel 2 increased 4 times. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Change the Signal Generator configuration to: - Channel 1: Square wave, 5Vpp, 200Hz - Channel 2: Sine wave, 3Vpp, 200Hz @@ -422,8 +737,28 @@ Test 10 - Math Channel Operations - **Expected result:** - The plot contains a new Channel having the sum of Channel 1 and Channel 2. - Math channel measurement: Vpp: 8V, Period: 5ms, Frequency: 200Hz. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 11 - FFT Function ----------------------- @@ -447,8 +782,28 @@ Test 11 - FFT Function 3. Run the Oscilloscope and verify the plot: - **Expected result:** The resulting spectrum shows a series of peaks at the fundamental frequency and its harmonics. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 12 - XY Function ---------------------- @@ -473,17 +828,57 @@ The plot displays the current vs voltage characteristics of a PN junction diode. 3. Run both instruments. - **Expected result:** The plot displays a horizontal line on level 0 of the Y-Axis and in range 1 to 5 on the X-Axis. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 4. Change the Signal Generator offset to 2V: - **Expected result:** The plot displays a horizontal line on level 0 of the Y-Axis and in range 0 to 4 on the X-Axis. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Set the X-Y configuration to CH1 on both X-Axis and Y-Axis: - **Expected result:** The plot displays a diagonal line in the range 0 to 4 on both axes. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Set the X-Y configuration to CH2 on X-Axis and CH1 on Y-Axis: - **Expected result:** The plot displays a vertical line from 0 to 4 on the Y-Axis and 0 on the X-Axis. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** -**Result**: PASS/FAIL +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 13 - Export feature ------------------------ @@ -512,24 +907,62 @@ Test 13 - Export feature 5. Click **Export** and choose a name, the CSV format and location to save the file. - **Expected result:** The file is saved successfully at the specified location. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Open the file and verify the data. - **Expected result:** - The first 7 lines of the CSV contain metadata such as: timestamp, device name, number of samples, sample rate, instrument name. - The file contains 3 columns: sample number, time, voltage. - The data matches with that samples displayed on the plot. + - **Actual result:** + +.. + Actual test result goes here. +.. + 7. In the Export menu, turn on "Export All". 8. Click **Export** and choose a name, the CSV format and location to save the file. - **Expected result:** The file is saved successfully at the specified location. + - **Actual result:** + +.. + Actual test result goes here. +.. + 9. Open the file and verify the data. - **Expected result:** - The first 7 lines of the CSV contain metadata such as: timestamp, device name, number of samples, sample rate, instrument name. - The file contains 4 columns: sample number, time, voltage1, voltage2. - The data matches with that samples displayed on the plot. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 14 - Software AC coupling ----------------------------------------- @@ -557,12 +990,38 @@ the Oscilloscope should be able to center the trace at 0V. - **Expected result:** - The trace moves towards 0V until it is centered at level 0V. - The measurement Mean is around 0V. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Turn off Software AC Coupling. - **Expected result:** - The trace moves back to the original position. - The measurement Mean is around 0V. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 15 - Probe Attenuation --------------------------- @@ -589,16 +1048,48 @@ Test 15 - Probe Attenuation - **Expected result:** - The measurement Vpp is 200mV. - The Volts/Div is 100mV. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Change the Probe Attenuation to 100. - **Expected result:** - The measurement Vpp is 200V. - The Volts/Div is 100V. + - **Actual result:** + +.. + Actual test result goes here. +.. + 7. Change the Probe Attenuation to 1. - **Expected result:** - The measurement Vpp is 2V. - The Volts/Div is 1V. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 16 - External Trigger -------------------------- @@ -632,9 +1123,21 @@ using the TI pin and the digital DIO1 pin of the ADALM2000 device. 5. Run all instruments: - **Expected result:** The 5Vpp sinewave is displayed on CH2 of the Osc plot. + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Stop the Pattern Generator: - **Expected result:** The plot stops updating and the status displays "Waiting". + - **Actual result:** + +.. + Actual test result goes here. +.. + 7. Stop the Pattern Generator. 8. Open the Logic Analyzer and set a Rising Edge trigger on DIO1. 9. In the Oscilloscope Trigger settings set the following: @@ -644,12 +1147,38 @@ using the TI pin and the digital DIO1 pin of the ADALM2000 device. - Source: Logic Analyzer - **Expected result:** - The plot is not trigger and the status displays "Waiting". + - **Actual result:** + +.. + Actual test result goes here. +.. + 10. Open the DigitalIO, detach the instrument and run it. 11. Manually toggle DIO1 from output to input and viceversa: - **Expected result:** - The Osc plot is triggered when toggling the digital pin. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 17 - Autoset ----------------- @@ -681,8 +1210,28 @@ using a configuration that displays too many periods on the plot. - The horizontal Time Base is adjusted to 50us/div. - The horizontal and vertical positions are at 0. - The trigger level is at 0V. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 18 - Print Plot --------------------- @@ -707,11 +1256,37 @@ Test 18 - Print Plot 4. Click the Print button and choose a name and location for the PDF file: - **Expected result:** - The file is saved successfully at the specified location. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Open the file and verify the data. - **Expected result:** - The file contains a screenshot of the instrument with inverted colors. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 19 - Curve style ---------------------- @@ -737,14 +1312,46 @@ and plot the signal using lines, dots, sticks or steps. 4. Open the Channel 1 settings menu and set the curve style to Dots: - **Expected result:** - The plot is displayed using dots (when zoomed in to samples). + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Set the curve style to Sticks: - **Expected result:** - The plot is displayed using lines (the sinewave looks "full"). + - **Actual result:** + +.. + Actual test result goes here. +.. + 6. Set the curve style to Smooth: - **Expected result:** - The plot is displayed using a smoother lines. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 20 - Gating ------------------------- @@ -772,11 +1379,38 @@ Apply the measurements on a gated portion of the acquired signal. - **Expected result:** - The measurement Vpp is half the set amplitude: 2.5V. + + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Move the sliders to the left and right ends of the plot: - **Expected result:** - The measurement Vpp is the set amplitude: 5V. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 21 - Histogram -------------------- @@ -801,11 +1435,37 @@ Test 21 - Histogram 4. In the Oscilloscope General settings menu enable the Histogram: - **Expected result:** - A histogram is displayed above the time plot. + - **Actual result:** + +.. + Actual test result goes here. +.. + 5. Change the Signal Generator to output a Square wave: - **Expected result:** - The histogram shows the min and max of the square wave. + - **Actual result:** + +.. + Actual test result goes here. +.. + + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). -**Result**: PASS/FAIL Test 22 - ADC Digital Filters ------------------------------- @@ -831,4 +1491,18 @@ Test 22 - ADC Digital Filters - Channel 1 Vertical: Volts/Div: 500mV/div, Position: 0V 3. TBD -**Result**: PASS/FAIL +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + diff --git a/docs/tests/plugins/m2k/pattern_generator_tests.rst b/docs/tests/plugins/m2k/pattern_generator_tests.rst index d24960f64..80ef8b01f 100644 --- a/docs/tests/plugins/m2k/pattern_generator_tests.rst +++ b/docs/tests/plugins/m2k/pattern_generator_tests.rst @@ -7,6 +7,23 @@ M2K Pattern Generator - Test Suite User guide: :ref:`Scopy Overview `. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ---------------------------------------------------------------------------------------------------- @@ -34,33 +51,118 @@ Test 1: Individual Channel Operation 2. Connect DIO-0, CH0 to Scope CH1+, GND to Scope CH1-. 3. Enable CH0. Double click on the DIO 0 indicator on the plot to open DIO 0 settings. Select pattern as Clock with a 5 KHz clock signal with duty cycle of 50%. Run instrument. - **Expected Result:** You should see a square wave with 5 KHz frequency, 50% duty cycle. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 4. Monitor CH0 through oscilloscope. Open built-in measurement feature for frequency, amplitude and duty cycle. - **Expected Result:** You should see a square wave with 5 KHz frequency, 50% duty cycle. In the oscilloscope, Frequency: 5 KHz, Amplitude: 3.2V to 3.4 V, Duty+: 50 %, Duty-:50% + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Change frequency: 100 KHz, duty cycle: 30%. - **Expected Result:** You should see a square wave with 100 KHz frequency, 30% duty cycle. In the oscilloscope, Frequency: 100 KHz, Amplitude: 3.2V to 3.4 V, Duty+: 30 %, Duty-: 70% + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Change frequency: 1 MHz, duty cycle: 60%. - **Expected Result:** You should see a square wave with 1 MHz frequency, 60% duty cycle. In the oscilloscope, Frequency: 1 MHz, Amplitude: 3.2V to 3.4 V, Duty+: 60 %, Duty-: 40% + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Change frequency: 10 MHz, duty cycle: 70%. - **Expected Result:** You should see a square wave with 10 MHz frequency, 70% duty cycle. In the oscilloscope, Frequency: 1 MHz, Amplitude: 3.2V to 3.4 V, Duty+: 70 %, Duty-: 30% + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. Repeat steps 2. to 7. for DIO-1 to DIO-15. - **Expected Result:** Behavior of each channel should be the same as with DIO-0, CH0. As the parameters are changed, the trace displayed in oscilloscope should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Checking Phase 10. Connect the following: DIO0 to ScopeCH1+, DIO1 to ScopeCH2+. GND to Scope CH1- and Scope CH2-. 11. Enable DIO0 and DIO1. Set the following parameters: DIO0: Frequency: 5 KHz, Phase: 0°, Duty Cycle: 50%; DIO1: Frequency: 5 KHz, Phase: 45°, Duty Cycle: 50 %. Run instrument. - **Expected Result:** You should see two square waves with 5 KHz frequency, 50% duty cycle. DIO0 should be at 0° phase and DIO1 should be at 45° phase. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Monitor pattern generator output through oscilloscope. - **Expected Result:** Use cursor feature of the oscilloscope. Move the vertical cursors as shown in steps resources. ΔT = 24us to 26us, corresponding to the 45° phase shift. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. Change DIO1 phase: 120°. - **Expected Result:** Use cursor feature of the oscilloscope. Move the vertical cursors as shown in steps resources. ΔT = 65us to 67us, corresponding to the 120° phase shift. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Change DIO1 phase: 270°. - **Expected Result:** Use cursor feature of the oscilloscope. Move the vertical cursors as shown in steps resources. ΔT = 149us to 151us, corresponding to the 270° phase shift. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 15. Set DIO1 phase to 0°. Now repeat steps for DIO0. - **Expected Result:** Behavior of channel should be the same as with DIO1, CH1. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 16. Use other channels, DIO2 to DIO15, and repeat steps to verify each. - **Expected Result:** Behavior of each channel should be the same as with DIO1, CH1. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 2: Group Channel Operation ---------------------------------------------------------------------------------------------------- @@ -77,74 +179,267 @@ Test 2: Group Channel Operation 1. Checking Group Channels and Patterns: Use PP as output. Binary Counter 2. Create a 4-channel group. Enable channels DIO0 to DIO3. Then click “Group” and double click on the channel indicators on the plot, DIO 0 to DIO 3, then click “Done”. Change pattern to Binary Counter. - **Expected Result:** The plot should show a binary counter from 1 to e. The frequency should be 5 KHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 3. Open logic analyzer. Make a group with channels DIO0 to DIO3. Once grouped, add parallel for the decoder. Make sure to select correct data lines in the parallel decoder settings. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 4. Check the frequency of each channel through oscilloscope. Connect DIO0 to scopech1+. Enable built-in measurement for frequency. - **Expected Result:** Frequency shown should be 2.4 KHz to 2.6 KHz, corresponding to set clock frequency/2. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Connect DIO1 to scopech1+. Enable built-in measurement for frequency. - **Expected Result:** Frequency shown should be 1.24 KHz to 1.27 KHz, corresponding to set clock frequency/4. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Connect DIO2 to scopech1+. Enable built-in measurement for frequency. - **Expected Result:** Frequency shown should be 620 Hz to 630 Hz, corresponding to set clock frequency/8. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Connect DIO3 to scopech1+. Enable built-in measurement for frequency. - **Expected Result:** Frequency shown should be 310 Hz to 315 Hz, corresponding to set clock frequency/16. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. Random 9. Change pattern to Random. Frequency: 5KHz - **Expected Result:** The plot should show random data. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. Monitor through logic analyzer. Use parallel as decoder. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same hexadecimal equivalents should be seen in logic analyzer. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. Change frequency: 100 KHz - **Expected Result:** The frequency should now be 100 KHz. There should be new set of data and hexadecimal equivalents. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Monitor through logic analyzer. Use parallel as decoder. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same hexadecimal equivalents should be seen in logic analyzer. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. Number pattern 14. Change pattern to Number pattern. Set number to 3. Enable DIO 4 and set to Clock pattern with 5kHz frequency. Do not add DIO 4 to group, keep it as individual channel. - **Expected Result:** The plot should contain the group channel and individual channel. The group channel should show the number pattern and the individual channel should show the clock pattern. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 15. Monitor through logic analyzer. Enable DIO 4 as individual channel. Use parallel as decoder. Set data lines to DIO 0 to DIO 3 and set clock line to DIO 4. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same number is seen in logic analyzer. Number: 3 + - **Actual Result:** + +.. + Actual test result goes here. +.. + 16. Change number to 14. In the plot, it will show the hexadecimal equivalent which is E. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same hexadecimal equivalent is seen in logic analyzer. Hexadecimal equivalent: E + - **Actual Result:** + +.. + Actual test result goes here. +.. + 17. Add channels DIO4 to DIO7 to the group. It will now be an 8-channel group. Change number to 254. The plot will show the hexadecimal equivalent which is FE. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same hexadecimal equivalent is seen in logic analyzer. Hexadecimal equivalent: FE + - **Actual Result:** + +.. + Actual test result goes here. +.. + 18. Gray Counter 19. Change pattern to Gray Counter. Disable DIO 8. - **Expected Result:** The plot should show a gray counter from 1 to 7. The frequency should be 5 KHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Monitor through logic analyzer. Choose parallel for the decoder. Set Clock line as X. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. One bit change per clock cycle. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 21. UART 22. Dissolve current group channel. Enable DIO 0 channel and double click on the channel indicator on the plot. Change channel pattern to UART. Set parameters: Baud: 9600, Stop bit: 1, no parity, Data to send: ‘HELLO’. - **Expected Result:** The plot should show the data ‘HELLO’ in ASCII format. The frequency should be 9600 Hz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 9600, Data bits: 8, no parity. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same ASCII data should be seen in logic analyzer. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 24. Change set parameters: Baud: 115200, Stop bit: 1, even parity, Data to send: ‘HI’. - **Expected Result:** The plot should show the data ‘HI’ in ASCII format. The frequency should be 115200 Hz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 25. Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 115200, Data bits: 8, even parity. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same ASCII data should be seen in logic analyzer. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 26. Change set parameters: Baud: 115200, Stop bit: 1, odd parity, Data to send: ‘HI’. - **Expected Result:** The plot should show the data ‘HI’ in ASCII format. The frequency should be 115200 Hz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 27. Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 115200, Data bits: 8, odd parity. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same ASCII data should be seen in logic analyzer. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 28. SPI 29. Disable DIO 0. Enable and select DIO5 to DIO7 to create a 3-channel group. Change pattern to SPI. Set the following parameters: Bytes per frame: 2, inter frame space: 3, Data: ABCD1234. - **Expected Result:** The plot should show the data ‘ABCD1234’ in ASCII format. The frequency should be 5 KHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 30. Monitor the channel through logic analyzer. Use SPI as decoder. Refer to steps resources picture for the configuration of logic analyzer. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same ASCII data should be seen in logic analyzer. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 31. Change the following parameters: Bytes per frame: 1, inter frame space: 4, Data: ABCD1234. - **Expected Result:** The plot should show the data ‘ABCD1234’ in ASCII format. The frequency should be 5 KHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 32. Monitor the channel through logic analyzer. Use SPI as decoder. Refer to steps resources picture for the configuration of logic analyzer. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same ASCII data should be seen in logic analyzer. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 33. I2C 34. Dissolve current group channel. Enable and select DIO0 and DIO1 to create a 2-channel group. Change pattern to I2C. Set the following parameters: Address: 72, Inter frame space: 3, Data: ABCD1234. - **Expected Result:** The plot should show the data ‘ABCD1234’ in ASCII format. The frequency should be 5 KHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 35. Monitor the channel through logic analyzer. Use I2C as decoder. Refer to steps resources picture for the configuration of logic analyzer. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. The same ASCII data should be seen in logic analyzer. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 36. Pulse Pattern 37. Change pattern to Pulse Pattern. Set the following parameters: Low: 5, High: 1, Counter Init: 0, Delay: 10, Number of Pulses: 5. - **Expected Result:** The plot should show 5 pulses with 5 low and 1 high. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 38. Monitor the channels through logic analyzer. Refer to steps resources picture for the configuration of logic analyzer. - **Expected Result:** The plot in the logic analyzer should resemble the plot seen in the pattern generator. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 3: Simultaneous Group and Individual Channels Operation ---------------------------------------------------------------------------------------------------- @@ -162,15 +457,46 @@ Test 3: Simultaneous Group and Individual Channels Operation 2. Enable and select channels DIO0 to DIO3 to create 4-channel group. Change group pattern to Binary Counter with frequency set to 5 KHz. Enable DIO4 channel and set as clock with frequency of 5 KHz. 3. Monitor DIO4 through oscilloscope. And at the same time monitor the group channel through logic analyzer. - **Expected Result:** On logic analyzer, the plot should resemble the plot seen in pattern generator, the group channel as well as the individual channel DIO4. On oscilloscope, frequency can be viewed by enabling measurement feature, frequency: 5KHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 4. Do not dissolve group channel. Add another group channel. Enable and select DIO5, create a 1-channel group for UART. Change pattern to UART. Baud: 2400, stop bit: 1, no parity, Data: ‘HI’. Also, individual DIO4 channel remains enabled. 5. Monitor the 2 groups and DIO4 through logic analyzer. - **Expected Result:** On logic analyzer, the plot should resemble the plot seen in pattern generator. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Do not dissolve group channels. Disable Group UART. Add another group channel. Enable and select DIO6 to DIO9, create a 4-channel group. Change pattern to Gray Counter. Frequency: 10 KHz. Name this group as Group GC. Also, individual DIO4 channel remains enabled. 7. Monitor the 2 groups and DIO4 through logic analyzer. - **Expected Result:** On logic analyzer, the plot should resemble the plot seen in pattern generator. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 4: Other Features ---------------------------------------------------------------------------------------------------- @@ -187,41 +513,132 @@ Test 4: Other Features 1. Checking UI: Changing Channel Name 2. Open individual channel DIO. On its channel manager, modify its name to ‘CH 0’. - **Expected Result:** The name should change as shown in steps resources picture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 3. Enable DIO 1 and change its name to 'CH 1'. Create a group with 'CH 0' and 'CH 1'. - **Expected Result:** The list of names under the group should also correspond to the names of the channels as should change as shown in steps resources picture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 4. Trace Height 5. Open channel ‘CH 0’. On its channel manager, change trace height to 50. - **Expected Result:** The trace height should now be twice as shown in steps resources picture, compared to previous. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Change height again to 10. - **Expected Result:** The height should now be lower as shown in steps resources picture + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Knobs 8. Checking frequency knob. Set the knob to large increment. No orange dot on the center. Change frequency value using the ± button. - **Expected Result:** The frequency value should change accordingly with a high increment/decrement from 5 KHz to 10 KHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Set the knob to ±1 unit interval. With orange dot on the center. Change frequency value using the ± button. - **Expected Result:** The frequency value should change accordingly with ±1 unit interval. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. Checking the output: PP mode 11. Connect the DIO0 to oscilloscope ch1+, and oscilloscope ch1- to gnd. This is to monitor the output from the pattern generator. 12. Enable DIO0 in pattern generator. Set pattern to clock with 5 kHz frequency. Set output as PP. Run instrument and monitor on Oscilloscope. - **Expected Result:** The oscilloscope should show clock pulses from logic 0 to 1. It should look like in steps resources picture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. Try other patterns such as random pattern and monitor on oscilloscope. - **Expected Result:** The oscilloscope should show random pulses from logic 0 to 1. It should look like in steps resources picture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Repeat steps 10. and 13. for all channels 15. OD mode 16. Change output to OD. Monitor output in oscilloscope. - **Expected Result:** Oscilloscope should only show logic 0 since output is now in OD mode. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 17. Do 5.1 to other channels. 18. To output two logic levels when operating in OD, a pull up resistor is needed. Connect the breadboard connection shown in steps resources. 19. Set power supply to 5V. Run power supply, pattern generator and monitor in oscilloscope. - **Expected Result:** The trace should show two logic levels, with a few mV offset. When power supply is turned off, the oscilloscope should show only logic 0. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Repeat step 5.3 and 5.4 for all channels. 21. Print 22. Click on Print button and save file as sample.pdf - **Expected Result:** Upon saving, the prompt window should look like the steps resources picture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Open the saved file. - **Expected Result:** The file should show the waveform that you have saved. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 24. See more info 25. Click the 'See more info' icon on the upper left of the pattern generator window. - **Expected Result:** It should lead to the wiki page of pattern generator. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + diff --git a/docs/tests/plugins/m2k/power_supply_tests.rst b/docs/tests/plugins/m2k/power_supply_tests.rst index 1a6141dc5..610ba4286 100644 --- a/docs/tests/plugins/m2k/power_supply_tests.rst +++ b/docs/tests/plugins/m2k/power_supply_tests.rst @@ -13,6 +13,23 @@ instrument of the ADALM2000 plugin in Scopy. The following apply for all the test cases in this suite. If the test case has special requirements, they will be listed in the test case section. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ------------------ @@ -52,16 +69,44 @@ is working correctly. 2. Set Tracking ratio control to Independent Controls. 3. Set the positive value to 3.3V and click enable. 4. Monitor the power supply output with voltmeter. - - **Expected Result**: - - The voltmeter reads values between 3.25V and 3.35V. + - **Expected Result**: The voltmeter reads values between 3.25V and 3.35V. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Change the power supply output value to 1.8V. - - **Expected Result**: - - The voltmeter reads values between 1.75V and 1.85V. + - **Expected Result**: The voltmeter reads values between 1.75V and 1.85V. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Change the power supply output value to 5V. - - **Expected Result**: - - The voltmeter reads values between 4.95V and 5.05V. - -**Result**: PASS/FAIL + - **Expected Result**: The voltmeter reads values between 4.95V and 5.05V. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 2 - Check negative voltage output -------------------------------------- @@ -82,16 +127,44 @@ is working correctly. 2. Set Tracking ratio control to Independent Controls. 3. Set the negative value to -3.3V and click enable. 4. Monitor the power supply output with voltmeter. - - **Expected Result**: - - The voltmeter reads values between -3.25V and -3.35V. + - **Expected Result**: The voltmeter reads values between -3.25V and -3.35V. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 5. Change the power supply output value to -1.8V. - - **Expected Result**: - - The voltmeter reads values between -1.75V and -1.85V. + - **Expected Result**: The voltmeter reads values between -1.75V and -1.85V. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 6. Change the power supply output value to -5V. - - **Expected Result**: - - The voltmeter reads values between -4.95V and -5.05V. - -**Result**: PASS/FAIL + - **Expected Result**: The voltmeter reads values between -4.95V and -5.05V. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 3 - Check fine tuning --------------------------- @@ -112,14 +185,37 @@ is working correctly. 2. Set Tracking ratio control to Independent Controls. 3. Set the knob to ±1V interval. No orange dot on the center. 4. Set value to 3V. Then use +/- sign to change value with ±1V interval. - - **Expected Result**: - - The value changes accordingly. Set Value ± 1V = the new value. + - **Expected Result**: The value changes accordingly. Set Value ± 1V = the new value. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 5. Set the knob to ±100mV interval. Orange dot seen on the center. 6. Set value to 300mV. Then use +/- sign to change value with ±100mV interval. - - **Expected Result**: - - The value changes accordingly. Set Value ± 100mV = the new value. - -**Result**: PASS/FAIL + - **Expected Result**: The value changes accordingly. Set Value ± 100mV = the new value. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + Test 4 - Check Tracking mode ----------------------------- @@ -139,17 +235,50 @@ is working correctly. 1. Open the Power Supply instrument. 2. Set Tracking ratio control to Tracking. 3. Set the positive output to 5V. Set tracking ratio to 50%. - - **Expected Result**: - - The negative output value is automatically set to -2.5V. + - **Expected Result**: The negative output value is automatically set to -2.5V. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 4. Set the tracking ratio to 100%: - - **Expected Result**: - - The negative output value is automatically set to -5V. + - **Expected Result**: The negative output value is automatically set to -5V. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 5. Set the tracking ratio to 0%: - - **Expected Result**: - - The negative output value is automatically set to 0mV. + - **Expected Result**: The negative output value is automatically set to 0mV. + - **Actual Result**: + +.. + Actual test result goes here. +.. + 6. Set Tracking ratio control to Independent. 7. Set the positive output to 5V and verify the negative output: - - **Expected Result**: - - The negative output value does not change. - -**Result**: PASS/FAIL + - **Expected Result**: The negative output value does not change. + - **Actual Result**: + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. + +**Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + diff --git a/docs/tests/plugins/m2k/signal_generator_tests.rst b/docs/tests/plugins/m2k/signal_generator_tests.rst index b657e278d..cd30d8e04 100644 --- a/docs/tests/plugins/m2k/signal_generator_tests.rst +++ b/docs/tests/plugins/m2k/signal_generator_tests.rst @@ -7,6 +7,23 @@ M2K Signal Generator - Test Suite User guide: :ref:`Scopy Overview `. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ------------------------------------------------------- @@ -35,75 +52,232 @@ Test 1: Channel 1 Operation 4. Set the knob to ± 1V interval. No orange dot on the center. 5. Change the voltage value using the up and down arrow - **Expected Result:** The voltage value should change accordingly with an increment or decrement of ±1V from -5V to 5V. The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Checking increment/decrement value; ±100mV 7. Set the knob to ± 100mV interval. With orange dot on the center. 8. Change the voltage value using the up and down arrow - **Expected Result:** The voltage value should change accordingly with an increment or decrement of ±100mV from -5V to 5V. The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Connect AWG ch1 to scope ch1+ and scope ch1- to gnd 10. Set the voltage value of the signal generator to 4.5V and set the Oscilloscope’s Volts/div from 1V/div to 5V/div and set the trigger mode to auto. - **Expected Result:** The voltage reading on the oscilloscope should be from 4.4V to 4.6V using the cursor or from the measured data + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. Set the voltage value of the signal generator to -4.5V and set the Oscilloscope’s Volts/div from 1V/div to 5V/div and set the trigger mode to auto. - **Expected Result:** The voltage reading on the oscilloscope should be from -4.4V to -4.6V using the cursor or from the measured data + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Testing different waveform types 13. Turn on channel 1 and view the configuration window by clicking the on/off button and menu button respectively. Choose Waveform from the configuration menu 14. Checking increment/decrement value of Amplitude and Frequency; Large increment 15. Set the knob to without the orange dot on the center. 16. Change the Amplitude or Frequency value using the up and down arrow - **Expected Result:** The amplitude value should change accordingly with a high increment/decrement from 1uV to 10V. The frequency value should change accordingly with a high increment/decrement from 1mHz to 20MHz.The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 17. Checking increment/decrement value of Amplitude and Frequency; ±1 unit on least significant digit 18. Set the knob to with the orange dot on the center. 19. Change the voltage or frequency value using the up and down arrow - **Expected Result:** The Amplitude value should change accordingly with a ±1 unit on the least significant digit from 1uV to 10V. The frequency value should change accordingly with a ±1 unit on the least significant digit from 1mHz to 20MHz.The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Checking increment/decrement value of the Offset Voltage and Phase; ±1V and ±45° 21. Set the knob without the orange dot on the center. 22. Change the Offset voltage or Phase value using the up and down arrow - **Expected Result:** The Offset voltage value should change accordingly with ±1 increment/decrement from -5V to 5V. The phase value should change accordingly with a ±45 increment/decrement from 0° to 360°.The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Checking increment/decrement value of Offset voltage and Phase; ±100mV and ±1° 24. Set the knob to with the orange dot on the center. 25. Change the Offset voltage or Phase value using the up and down arrow - **Expected Result:** The Offset voltage value should change accordingly with ±.1 increment/decrement from -5V to 5V. The phase value should change accordingly with ±1 increment/decrement from 0° to 360°.The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 26. Connect AWG ch1 to scope ch1+ and scope ch1- to gnd 27. Testing Sinewave Waveform 28. Set the signal generator’s waveform type: Sinewave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 500mV/div, trigger mode: Auto and time base: 5ms. - **Expected Result:** The measurement reading on Oscilloscope should be: Period: 5ms, Frequency: 200Hz, Peak-peak: 4.8V to 5.2V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 29. Set the signal generator’s waveform type: Sinewave, Amplitude 10V, Frequency: 500kHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 2V/div, trigger mode: Auto and time base: 1us - **Expected Result:** The measurement reading on Oscilloscope should be: Period: 2.000us, Frequency: 500 kHz, Peak-peak: 9.6V to 10.2V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 30. Set the signal generator’s waveform type: Sinewave, Amplitude 10V, Frequency: 5MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 200ns - **Expected Result:** The measurement reading on Oscilloscope should be: Period: 200ns, Frequency: 5MHz, Peak-peak: 8.9V to 9.2V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 31. Testing Square Waveform 32. Set the signal generator’s waveform type: Square wave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 5ms - **Expected Result:** Use the Oscilloscope’s cursor to check the peak to peak value of the Square wave generated, do not include the inherent overshoot of the signal. The measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.5V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 33. Set the signal generator’s waveform type: Square wave, Amplitude 10V, Frequency: 5MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 2V/div, trigger mode: Auto and time base: 100ns - **Expected Result:** Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 9.8V to 10.2V and Min/Max: ±5V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 34. Set the signal generator’s waveform type: Square wave, Amplitude 7V, Duty Cycle: 20%, Frequency: 100 kHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 2us - **Expected Result:** Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 6.8V to 7.2V and Min/Max: ±3.5V, +Duty Cycle: 20%, -Duty Cycl: 80% + - **Actual Result:** + +.. + Actual test result goes here. +.. + 35. Repeat step 10.3 with varying duty cycle from 1% to 99% - **Expected Result:** Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 6.8V to 7.2V and Min/Max: ±5V and the varying ±Duty Cycle + - **Actual Result:** + +.. + Actual test result goes here. +.. + 36. Testing Triangle Waveform 37. Set the signal generator’s waveform type: Triangle, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 2ms - **Expected Result:** Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 38. Set the signal generator’s waveform type: Triangle, Amplitude 8V, Frequency: 2MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 100ns - **Expected Result:** Oscilloscope’s measurement should be Period: 500.000ns, Frequency: 2MHz, peak to peak value: 7.8V to 8.2V and Min/Max: +/- 3.9V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 39. Testing Rising Ramp Sawtooth Waveform 40. Set the signal generator’s waveform type: Rising Ramp Sawtooth, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 2ms - **Expected Result:** Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.7V. Use the Oscilloscope’s cursor to disregard the overshoot of the signal + - **Actual Result:** + +.. + Actual test result goes here. +.. + 41. Set the signal generator’s waveform type: Rising Ramp Sawtooth, Amplitude 8V, Frequency: 1MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 1us - **Expected Result:** Oscilloscope’s measurement should be Period: 1.000us, Frequency: 1MHz, peak to peak value: 7.8V to 8.2V and Min/Max: ±3.9V to ±4.1V. Use the Oscilloscope’s cursor to disregard the overshoot of the signal + - **Actual Result:** + +.. + Actual test result goes here. +.. + 42. Testing Falling Ramp Sawtooth Waveform 43. Set the signal generator’s waveform type: Falling Ramp Sawtooth, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 2ms - **Expected Result:** Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 44. Set the signal generator’s waveform type: Falling Ramp Sawtooth, Amplitude 8V, Frequency: 1MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 1us - **Expected Result:** Oscilloscope’s measurement should be Period: 1.000us, Frequency: 1MHz, peak to peak value: 7.8V to 8.2V and Min/Max: ±3.9V to ±4.1V. Use the Oscilloscope’s cursor to disregard the overshoot of the signal + - **Actual Result:** + +.. + Actual test result goes here. +.. + 45. Testing Trapezoidal waveform 46. Set the signal generator’s waveform type: Trapezoidal, Amplitude: 5V, Rise Time: 1us, Fall Time: 1us, Hold High Time: 1us, Hold Low time Time: 1us. Set the Oscilloscope’s Volt/div: 2V, Trigger Mode: Auto and Time Base: 1us - **Expected Result:** Oscilloscope’s measurement should be Period: 4.000us, Frequency: 250kHz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 47. Set the signal generator’s waveform type: Trapezoidal, Amplitude: 10V, Rise Time: 1us, Fall Time: 1us, Hold High Time: 1us, Hold Low time Time: 1us. Set the Oscilloscope’s Volt/div: 2V, Trigger Mode: Auto and Time Base: 1us - **Expected Result:** Oscilloscope’s measurement should be Period: 4.000us, Frequency: 250kHz, peak to peak value: 9.6V to 10.4V and Min/Max: ±4.8V to ±5.2. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 48. Set the signal generator’s waveform type: Trapezoidal, Amplitude: 10V, Rise Time: 200ns, Fall Time: 200ns, Hold High Time: 200ns, Hold Low time: 200ns. Set the Oscilloscope’s Volt/div: 2V, Trigger Mode: Auto and Time Base: 200ns - **Expected Result:** Oscilloscope’s measurement should be Period: 800ns, Frequency: 1.250MHz, peak to peak value: 9.6V to 10.4V and Min/Max: ±4.8V to ±5.2. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 2: Channel 2 Operation ------------------------------------------------------- @@ -122,75 +296,232 @@ Test 2: Channel 2 Operation 4. Set the knob to ± 1V interval. No orange dot on the center. 5. Change the voltage value using the up and down arrow - **Expected Result:** The voltage value should change accordingly with an increment or decrement of ±1V from -5V to 5V. The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Checking increment/decrement value; ±100mV 7. Set the knob to ± 100mV interval. With orange dot on the center. 8. Change the voltage value using the up and down arrow - **Expected Result:** The voltage value should change accordingly with an increment or decrement of ±100mV from -5V to 5V. The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Connect AWG ch2 to scope ch2+ and scope ch2- to gnd 10. Set the voltage value of the signal generator to 4.5V and set the Oscilloscope’s Volts/div from 1V/div to 5V/div and set the trigger mode to auto. - **Expected Result:** The voltage reading on the oscilloscope should be from 4.4V to 4.6V using the cursor or from the measured data + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. Set the voltage value of the signal generator to -4.5V and set the Oscilloscope’s Volts/div from 1V/div to 5V/div and set the trigger mode to auto. - **Expected Result:** The voltage reading on the oscilloscope should be from -4.4V to -4.6V using the cursor or from the measured data + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Testing different waveform types 13. Turn on channel 2 and view the configuration window by clicking the on/off button and menu button respectively. Choose Waveform from the configuration menu 14. Checking increment/decrement value of Amplitude and Frequency; Large increment 15. Set the knob to without the orange dot on the center. 16. Change the Amplitude or Frequency value using the up and down arrow - **Expected Result:** The amplitude value should change accordingly with a high increment/decrement from 1uV to 10V. The frequency value should change accordingly with a high increment/decrement from 1mHz to 20MHz.The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 17. Checking increment/decrement value of Amplitude and Frequency; ±1 unit on least significant digit 18. Set the knob to with the orange dot on the center. 19. Change the voltage or frequency value using the up and down arrow - **Expected Result:** The Amplitude value should change accordingly with a ±1 unit on the least significant digit from 1uV to 10V. The frequency value should change accordingly with a ±1 unit on the least significant digit from 1mHz to 20MHz.The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Checking increment/decrement value of the Offset Voltage and Phase; ±1V and ±45° 21. Set the knob without the orange dot on the center. 22. Change the Offset voltage or Phase value using the up and down arrow - **Expected Result:** The Offset voltage value should change accordingly with ±1 increment/decrement from -5V to 5V. The phase value should change accordingly with a ±45 increment/decrement from 0° to 360°.The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Checking increment/decrement value of Offset voltage and Phase; ±100mV and ±1° 24. Set the knob to with the orange dot on the center. 25. Change the Offset voltage or Phase value using the up and down arrow - **Expected Result:** The Offset voltage value should change accordingly with ±.1 increment/decrement from -5V to 5V. The phase value should change accordingly with ±1 increment/decrement from 0° to 360°.The graphical representation should follow accordingly + - **Actual Result:** + +.. + Actual test result goes here. +.. + 26. Connect AWG ch2 to scope ch2+ and scope ch2- to gnd 27. Testing Sinewave Waveform 28. Set the signal generator’s waveform type: Sinewave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 500mV/div, trigger mode: Auto and time base: 5ms. - **Expected Result:** The measurement reading on Oscilloscope should be: Period: 5ms, Frequency: 200Hz, Peak-peak: 4.8V to 5.2V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 29. Set the signal generator’s waveform type: Sinewave, Amplitude 10V, Frequency: 500kHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 2V/div, trigger mode: Auto and time base: 1us - **Expected Result:** The measurement reading on Oscilloscope should be: Period: 2.000us, Frequency: 500 kHz, Peak-peak: 9.6V to 10.2V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 30. Set the signal generator’s waveform type: Sinewave, Amplitude 10V, Frequency: 5MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 200ns - **Expected Result:** The measurement reading on Oscilloscope should be: Period: 200ns, Frequency: 5MHz, Peak-peak: 8.9V to 9.2V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 31. Testing Square Waveform 32. Set the signal generator’s waveform type: Square wave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 5ms - **Expected Result:** Use the Oscilloscope’s cursor to check the peak to peak value of the Square wave generated, do not include the inherent overshoot of the signal. The measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.5V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 33. Set the signal generator’s waveform type: Square wave, Amplitude 10V, Frequency: 5MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 2V/div, trigger mode: Auto and time base: 100ns - **Expected Result:** Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 9.8V to 10.2V and Min/Max: ±5V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 34. Set the signal generator’s waveform type: Square wave, Amplitude 7V, Duty Cycle: 20%, Frequency: 100 kHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 2us - **Expected Result:** Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 6.8V to 7.2V and Min/Max: ±3.5V, +Duty Cycle: 20%, -Duty Cycl: 80% + - **Actual Result:** + +.. + Actual test result goes here. +.. + 35. Repeat step 10.3 with varying duty cycle from 1% to 99% - **Expected Result:** Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 6.8V to 7.2V and Min/Max: ±5V and the varying ±Duty Cycle + - **Actual Result:** + +.. + Actual test result goes here. +.. + 36. Testing Triangle Waveform 37. Set the signal generator’s waveform type: Triangle, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 2ms - **Expected Result:** Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 38. Set the signal generator’s waveform type: Triangle, Amplitude 8V, Frequency: 2MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 100ns - **Expected Result:** Oscilloscope’s measurement should be Period: 500.000ns, Frequency: 2MHz, peak to peak value: 7.8V to 8.2V and Min/Max: +/- 3.9V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 39. Testing Rising Ramp Sawtooth Waveform 40. Set the signal generator’s waveform type: Rising Ramp Sawtooth, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 2ms - **Expected Result:** Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.7V. Use the Oscilloscope’s cursor to disregard the overshoot of the signal + - **Actual Result:** + +.. + Actual test result goes here. +.. + 41. Set the signal generator’s waveform type: Rising Ramp Sawtooth, Amplitude 8V, Frequency: 1MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 1us - **Expected Result:** Oscilloscope’s measurement should be Period: 1.000us, Frequency: 1MHz, peak to peak value: 7.8V to 8.2V and Min/Max: ±3.9V to ±4.1V. Use the Oscilloscope’s cursor to disregard the overshoot of the signal + - **Actual Result:** + +.. + Actual test result goes here. +.. + 42. Testing Falling Ramp Sawtooth Waveform 43. Set the signal generator’s waveform type: Falling Ramp Sawtooth, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 2ms - **Expected Result:** Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 44. Set the signal generator’s waveform type: Falling Ramp Sawtooth, Amplitude 8V, Frequency: 1MHz, offset: 0V and Phase: 0 degrees. Set the Oscilloscope’s Volts/div: 1V/div, trigger mode: Auto and time base: 1us - **Expected Result:** Oscilloscope’s measurement should be Period: 1.000us, Frequency: 1MHz, peak to peak value: 7.8V to 8.2V and Min/Max: ±3.9V to ±4.1V. Use the Oscilloscope’s cursor to disregard the overshoot of the signal + - **Actual Result:** + +.. + Actual test result goes here. +.. + 45. Testing Trapezoidal waveform 46. Set the signal generator’s waveform type: Trapezoidal, Amplitude: 5V, Rise Time: 1us, Fall Time: 1us, Hold High Time: 1us, Hold Low time Time: 1us. Set the Oscilloscope’s Volt/div: 2V, Trigger Mode: Auto and Time Base: 1us - **Expected Result:** Oscilloscope’s measurement should be Period: 4.000us, Frequency: 250kHz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 47. Set the signal generator’s waveform type: Trapezoidal, Amplitude: 10V, Rise Time: 1us, Fall Time: 1us, Hold High Time: 1us, Hold Low time Time: 1us. Set the Oscilloscope’s Volt/div: 2V, Trigger Mode: Auto and Time Base: 1us - **Expected Result:** Oscilloscope’s measurement should be Period: 4.000us, Frequency: 250kHz, peak to peak value: 9.6V to 10.4V and Min/Max: ±4.8V to ±5.2. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 48. Set the signal generator’s waveform type: Trapezoidal, Amplitude: 10V, Rise Time: 200ns, Fall Time: 200ns, Hold High Time: 200ns, Hold Low time: 200ns. Set the Oscilloscope’s Volt/div: 2V, Trigger Mode: Auto and Time Base: 200ns - **Expected Result:** Oscilloscope’s measurement should be Period: 800ns, Frequency: 1.250MHz, peak to peak value: 9.6V to 10.4V and Min/Max: ±4.8V to ±5.2. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 3: Channel 1 and Channel 2 Operation ------------------------------------------------------- @@ -208,6 +539,12 @@ Test 3: Channel 1 and Channel 2 Operation 3. Connect AWG ch1 to scope ch1+ and scope ch1- to gnd. Connect AWG ch2 to scope ch2+ and scope ch2- to gnd 4. Set signal generator’s channel 1 to 4.5V and channel 2 to -4.0V - **Expected Result:** Open voltmeter instrument in DC mode. Channel 1 should have a voltage of 4.4V to 4.6V and channel 2 should have a voltage of -4.1V to -3.9V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Set signal generator’s channel 1 to -4.5V and channel 2 to 4.0V 6. Test different waveforms for both channels simultaneously 7. Turn on channels 1 and 2 and view the configuration window by clicking the on/off button then the menu button. Choose waveform from the configuration menu for both channels @@ -216,12 +553,37 @@ Test 3: Channel 1 and Channel 2 Operation 10. Set signal generator channels 1 and 2 to either Sine or Triangle waveform type, they should be the same. For channel 1 set Amplitude: 5V, Frequency: 5kHz, offset: 0V and phase: 0°. Set signal generator’s channel 2 to Amplitude: 5V, Frequency: 5kHz, offset: 0V and phase: 180°. Set Oscilloscope’s both channel to Time Base: 200us, Volts/Div: 1V 11. Run Oscilloscope, add channel with an input function: f(t) = sin(t1) + sin(t0). - **Expected Result:** The new plot’s value should be very close to 0V ranging around -0.2V to 0.2V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Set signal generator channels 1 and 2 to either Sine or Triangle waveform type, they should be the same. For channel 1 set Amplitude: 5V, Frequency: 5kHz, offset: 0V and phase: 0°. Set signal generator’s channel 2 to Amplitude: 5V, Frequency: 5kHz, offset: 0V and phase: 360°. Set Oscilloscope’s both channel to Time Base: 200us, Volts/Div: 1V 13. Run Oscilloscope, add channel with an input function: f(t) = sin(t1) - sin(t0). - **Expected Result:** The new plot’s value should be very close to 0V ranging around -0.2V to 0.2V + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 4: Additional Features ------------------------------------------------------- @@ -238,45 +600,154 @@ Test 4: Additional Features 2. Turn on Signal Generator’s channel 1 and set the following parameter, Waveform Type: Square Wave, Amplitude: 3V, Offset: 1.5V, Frequency: 1kHz, Phase: 0degrees and Duty Cycle: 50% 3. Connect AWG ch1 to scope ch1+ and scope ch1- to gnd - **Expected Result:** Check in the Oscilloscope if the Square Wave signal generated is from 0V to 3V. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 4. Choose Uniform Noise Type in the dropdown menu and set it to 500mV 5. Set the Oscilloscope’s setting to Time Base: 100us, Volts/Div: 500mV/Div; Using the cursors measure the noise generated in the square waveform - **Expected Result:** The measured voltage should be close to 500mV. Check the step resource picture for reference. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Repeat steps 1.3 and 1.4 using different Noise Amplitude [1V, 1.5V, 2V and 2.5V] - **Expected Result:** The measured voltage should be close to the desired noise voltage. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Test Buffer 8. Download buffer test files (https://wiki.analog.com/_media/university/tools/m2k/scopy/test-cases/signal_generator_buffer_test.zip). Open Signal Generator Instrument and click the Buffer Tab - **Expected Result:** Refer to the Step Resource Image for reference + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Connect AWG ch1 to scope ch1+ and scope ch1- to gnd 10. Test .csv file 11. Load the .csv file from the downloaded .zip file - **Expected Result:** The signal generated should be a stair step signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Test .mat file 13. Load the .mat file from the downloaded .zip file. Set the frequency to 20kHz, and the time base of Oscilloscope to 10ms. - **Expected Result:** The signal generated should be a sine wave signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Test Math 15. Open Signal Generator Instrument and click the Math tab - **Expected Result:** Refer to the Step Resource image for reference. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 16. Connect AWG ch1 to scope ch1+ and scope ch1- to gnd 17. Generate Sine waves 18. In the Signal Generator Math Function tab, set frequency to 100Hz, and type in the function box 5*sin(t) and click apply. In the Oscilloscope instrument set Volts/div: 1V/div, Trigger: Auto, Time base: 2ms - **Expected Result:** The generated sine wave signal should have the following parameters, peak to peak: 9.6Vpp to 10.4Vpp, frequency: 100Hz, and period: 10ms. Refer to the Step resource image for reference + - **Actual Result:** + +.. + Actual test result goes here. +.. + 19. In the Signal Generator Math Function tab, set frequency to 1kHz, and type in the function box 4*sin(10*t) and click apply. In the Oscilloscope instrument set Volts/div: 1V/div, Trigger: Auto, Time base: 20us - **Expected Result:** The generated sine wave signal should have the following parameters, peak to peak: 7.6Vpp to 8.4Vpp, frequency: 10kHz, and period: 100us. Refer to the Step resource image for reference + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. In the Signal Generator Math Function tab, set frequency to 100kHz, and type in the function box 3*sin(50*t) and click apply. In the Oscilloscope instrument set Volts/div: 1V/div, Trigger: Auto, Time base: 100ns - **Expected Result:** The generated sine wave signal should have the following parameters, peak to peak: 5.6Vpp to 6.4Vpp, frequency: 5MHz, and period: 200ns. Refer to the Step resource image for reference + - **Actual Result:** + +.. + Actual test result goes here. +.. + 21. Generate Square waves 22. In the Signal Generator Math Function tab, set frequency to 500kHz, and type in the function box 4*sin(t) + 4*sin(3*t)/3 + 4*sin(5*t)/5 + 4*sin(7*t)/7 + 4*sin(9*t)/9 + 4*sin(11*t)/11 (you can copy and paste the text to Scopy) and click apply. In the Oscilloscope instrument set Volts/div: 1V/div, Trigger: Auto, Time base: 500ns - **Expected Result:** The generated square wave signal should have the following parameters, peak to peak: 7Vpp to 7.4Vpp, frequency: 500kHz, and period: 2us. Refer to the Step resource image for reference + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Waveform Phase – Seconds 24. Open Waveform tab. Set frequency to 500Hz. Set Phase to 90 degrees. Then change phase unit to seconds. - **Expected Result:** The value of Phase should automatically change to 500us that is 90 degrees in seconds for a frequency of 500Hz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 25. Increase and decrease the value of phase. - **Expected Result:** The display should follow accordingly. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 26. Increase phase value to 1.5 ms. Then change again the unit to degrees. - **Expected Result:** The value should now be 270 degrees. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 27. Change frequency to 1 MHz. Then set phase to 1us. This corresponds to a full period of a 1MHz frequency. - **Expected Result:** The interface should look like in steps resources picture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 28. Change phase unit to degrees. - **Expected Result:** The value should be 360 degrees. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + diff --git a/docs/tests/plugins/m2k/spectrum_analyzer_tests.rst b/docs/tests/plugins/m2k/spectrum_analyzer_tests.rst index 10e86e0ea..e93f0d8df 100644 --- a/docs/tests/plugins/m2k/spectrum_analyzer_tests.rst +++ b/docs/tests/plugins/m2k/spectrum_analyzer_tests.rst @@ -7,6 +7,23 @@ M2K Spectrum Analyzer - Test Suite User guide: :ref:`Scopy Overview `. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ---------------------------------------------------------------------------------------------------- @@ -36,61 +53,206 @@ Test 1: Channel 1 Operation 4. Test at 500Hz 5. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1kHz, set the Resolution BW to 244.14mHZ. On signal Generator, Set Amplitude: 10V, Frequency: 500Hz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 500Hz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 500Hz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Test at 1kHz 8. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 2kHz, set the Resolution BW to 976.56mHZ. On signal Generator, Set Amplitude: 10V, Frequency: 1kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 1kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 1kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. Test at 7.5kHz 11. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 5 kHz and Stop frequency at 10kHz, set the Resolution BW to 4.88Hz. On signal Generator, Set Amplitude: 10V, Frequency: 7.5kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 7.5kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 7.5kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. Test at 100kHz 14. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 200kHz, set the Resolution BW to 12.21Hz. On signal Generator, Set Amplitude: 10V, Frequency: 100kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 15. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 100 kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 100kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 16. Test at 250 kHz 17. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 500 kHz, set the Resolution BW to 30.52 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 250 kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 18. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 250 kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 250kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 19. Test at 500 kHz 20. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1 MHz, set the Resolution BW to 61.04 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 500 kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 21. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 500 kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 500kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 22. Test at 800 kHz 23. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1.6 MHz, set the Resolution BW to 98.44 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 800 kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 24. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 800 kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 800 kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 25. Test at 1 MHz 26. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 2 MHz, set the Resolution BW to 122.07 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 1 MHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 27. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 1 MHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 1 MHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 28. Test at 5 MHz 29. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 10 MHz, set the Resolution BW to 610.35 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 5 MHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 30. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 5 MHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 5 MHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 31. Test at 10 MHz 32. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 20 MHz, set the Resolution BW to 1.53 kHz. On signal Generator, Set Amplitude: 10V, Frequency: 10 MHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 33. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 10 MHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 10 MHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 34. Test at 20 MHz 35. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 50 MHz, set the Resolution BW to 3.05 kHz. On signal Generator, Set Amplitude: 10V, Frequency: 20 MHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 36. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 20 MHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 20 MHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 2: Channel 2 Operation -------------------------------------------- @@ -110,61 +272,206 @@ Test 2: Channel 2 Operation 4. Test at 500Hz 5. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1kHz, set the Resolution BW to 244.14mHZ. On signal Generator, Set Amplitude: 10V, Frequency: 500Hz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 500Hz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 500Hz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Test at 1kHz 8. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 2kHz, set the Resolution BW to 976.56mHZ. On signal Generator, Set Amplitude: 10V, Frequency: 1kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 1kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 1kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. Test at 7.5kHz 11. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 5 kHz and Stop frequency at 10kHz, set the Resolution BW to 4.88Hz. On signal Generator, Set Amplitude: 10V, Frequency: 7.5kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 7.5kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 7.5kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. Test at 100kHz 14. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 200kHz, set the Resolution BW to 12.21Hz. On signal Generator, Set Amplitude: 10V, Frequency: 100kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 15. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 100 kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 100kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 16. Test at 250 kHz 17. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 500 kHz, set the Resolution BW to 30.52 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 250 kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 18. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 250 kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 250kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 19. Test at 500 kHz 20. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1 MHz, set the Resolution BW to 61.04 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 500 kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 21. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 500 kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 500kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 22. Test at 800 kHz 23. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1.6 MHz, set the Resolution BW to 98.44 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 800 kHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 24. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 800 kHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 800 kHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 25. Test at 1 MHz 26. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 2 MHz, set the Resolution BW to 122.07 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 1 MHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 27. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 1 MHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 1 MHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 28. Test at 5 MHz 29. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 10 MHz, set the Resolution BW to 610.35 Hz. On signal Generator, Set Amplitude: 10V, Frequency: 5 MHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 30. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 5 MHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 5 MHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 31. Test at 10 MHz 32. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 20 MHz, set the Resolution BW to 1.53 kHz. On signal Generator, Set Amplitude: 10V, Frequency: 10 MHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 33. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 10 MHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 10 MHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 34. Test at 20 MHz 35. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 50 MHz, set the Resolution BW to 3.05 kHz. On signal Generator, Set Amplitude: 10V, Frequency: 20 MHz, Offset: 0V and Phase: 0 degrees - **Expected Result:** After setting the start and stop frequency, the center frequency and Span should follow. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 36. Run the Signal Generator and Spectrum Analyzer. On the markers menu, Enable Marker 1and set it manually at 20 MHz Frequency position, or click the peak button for a shortcut. - **Expected Result:** The fundamental frequency should be on 20 MHz. The markers should also detect this as the peak amplitude. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 3: Channel 1 and 2 Operation -------------------------------------------- @@ -184,65 +491,222 @@ Test 3: Channel 1 and 2 Operation 4. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1MHz, set the Resolution BW to 61.04Hz. On signal Generator, Set Channel 1’s Amplitude: 10V, Frequency: 250 kHz, Offset: 0V and Phase: 0 degrees. Amplitude: 10V, Frequency: 750 kHz, Offset: 0V and Phase: 0 degrees 5. Open the marker setting and select channel 1. Enable marker 1,2,3,4 or 5. - **Expected Result:** The marker is enabled when the number box is filled with color. The initial position of the marker is on the center frequency of the window. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Click the peak button. - **Expected Result:** The marker highlighted should detect the fundamental frequency of the channel 1’s signal which is on 250kHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Click the “→ peak” button. - **Expected Result:** The marker highlighted shouldn’t detect the fundamental frequency of the channel 2’s signal which is on 750kHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. Click the “Dn Ampl” button. - **Expected Result:** The marker should detect the next lower amplitude signal compared from the previous point within the channel 1’s spectrum. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Click the “Up Ampl” button. - **Expected Result:** The marker should detect the next higher amplitude signal compared from the previous point within the channel 1’s spectrum. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. Open the marker setting and select channel 2. Enable marker 1,2,3,4 or 5. - **Expected Result:** The marker is enabled when the number box is filled with color. The initial position of the marker is on the center frequency of the window. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. Click the peak button. - **Expected Result:** The marker highlighted should detect the fundamental frequency of the channel 2’s signal which is on 750kHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Click the “← peak” button. - **Expected Result:** The marker highlighted shouldn’t detect the fundamental frequency of the channel 1’s signal which is on 250kHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. Click the “Dn Ampl” button. - **Expected Result:** The marker should detect the next lower amplitude signal compared from the previous point within the channel 2’s spectrum. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Click the “Up Ampl” button. - **Expected Result:** The marker should detect the next higher amplitude signal compared from the previous point within the channel 2’s spectrum. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 15. Testing channel 1 and 2 simultaneously 16. On channel 1 and 2’s setting, set Type to Sample, Window Function to Flat-top and Averaging to 1. 17. Connect Scope ch1+ to W1 and Scope ch1- to GND. Connect Scope ch2+ to W2 and Scope ch2- to GND 18. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 500 Hz, set the Resolution BW to 488.28 mHz. On signal Generator, Set Channel 1’s Amplitude: 10V, Frequency: 100 Hz, Offset: 0V and Phase: 0 degrees. Amplitude: 10V, Frequency: 300 Hz, Offset: 0V and Phase: 0 degrees 19. Run the Signal Generator and Spectrum Analyzer. Set Marker Table on to monitor marker values. - **Expected Result:** The fundamental frequency should be on 100 Hz for channel 1 and 300 Hz for channel 2. The signals shouldn’t be interfering the other. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Repeat Testing the marker function for channel 1 and 2 from steps 5. to 14. - **Expected Result:** The behavior should be the same. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 21. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1k Hz, set the Resolution BW to 976.56 mHz. On signal Generator, Set Channel 1’s Amplitude: 10V, Frequency: 200 Hz, Offset: 0V and Phase: 0 degrees. Amplitude: 10V, Frequency: 600 Hz, Offset: 0V and Phase: 0 degrees 22. Run the Signal Generator and Spectrum Analyzer. - **Expected Result:** The fundamental frequency should be on 200 Hz for channel 1 and 600 Hz for channel 2. The signals shouldn’t be interfering the other. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Repeat Testing the marker function for channel 1 and 2 from steps 5. to 14. - **Expected Result:** The behavior should be the same. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 24. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 1k Hz, set the Resolution BW to 976.56 mHz. On signal Generator, Set Channel 1’s Amplitude: 10V, Frequency: 300 Hz, Offset: 0V and Phase: 0 degrees. Amplitude: 10V, Frequency: 700 Hz, Offset: 0V and Phase: 0 degrees 25. Run the Signal Generator and Spectrum Analyzer. - **Expected Result:** The fundamental frequency should be on 300 Hz for channel 1 and 700 Hz for channel 2. The signals shouldn’t be interfering the other. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 26. Repeat Testing the marker function for channel 1 and 2 from steps 5 to 14. - **Expected Result:** The behavior should be the same. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 27. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 10 kHz, set the Resolution BW to 4.88 Hz. On signal Generator, Set Channel 1’s Amplitude: 10V, Frequency: 4 kHz, Offset: 0V and Phase: 0 degrees. Amplitude: 10V, Frequency: 7k Hz, Offset: 0V and Phase: 0 degrees 28. Run the Signal Generator and Spectrum Analyzer. - **Expected Result:** The fundamental frequency should be on 4 kHz for channel 1 and 7 kHz for channel 2. The signals shouldn’t be interfering the other. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 29. Repeat Testing the marker function for channel 1 and 2 from steps 5 to 14. - **Expected Result:** The behavior should be the same. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 30. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 20 kHz, set the Resolution BW to 9.77 Hz. On signal Generator, Set Channel 1’s Amplitude: 10V, Frequency: 10 kHz, Offset: 0V and Phase: 0 degrees. Amplitude: 10V, Frequency: 15 kHz, Offset: 0V and Phase: 0 degrees 31. Run the Signal Generator and Spectrum Analyzer. - **Expected Result:** The fundamental frequency should be on 10 kHz for channel 1 and 15 kHz for channel 2. The signals shouldn’t be interfering the other. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 32. Repeat Testing the marker function for channel 1 and 2 from steps 5 to 14. - **Expected Result:** The behavior should be the same. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 33. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 50 kHz, set the Resolution BW to 24.41 Hz. On signal Generator, Set Channel 1’s Amplitude: 10V, Frequency: 25 kHz, Offset: 0V and Phase: 0 degrees. Amplitude: 10V, Frequency: 35 kHz, Offset: 0V and Phase: 0 degrees 34. Run the Signal Generator and Spectrum Analyzer. - **Expected Result:** The fundamental frequency should be on 25 kHz for channel 1 and 35 kHz for channel 2. The signals shouldn’t be interfering the other. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 35. Repeat Testing the marker function for channel 1 and 2 from steps 5 to 14. - **Expected Result:** The behavior should be the same. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 36. On Spectrum Analyzer’s Sweep setting, Set Start Frequency at 0Hz and Stop frequency at 100 kHz, set the Resolution BW to 61.04 Hz. On signal Generator, Set Channel 1’s Amplitude: 10V, Frequency: 50 kHz, Offset: 0V and Phase: 0 degrees. Amplitude: 10V, Frequency: 70 kHz, Offset: 0V and Phase: 0 degrees 37. Run the Signal Generator and Spectrum Analyzer. - **Expected Result:** The fundamental frequency should be on 50 kHz for channel 1 and 70 kHz for channel 2. The signals shouldn’t be interfering the other. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 38. Repeat Testing the marker function for channel 1 and 2 from steps 5 to 14. - **Expected Result:** The behavior should be the same. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 4: Additional Features -------------------------------------------- @@ -263,25 +727,86 @@ Test 4: Additional Features 5. Test Peak hold Continuous 6. On channel 1’s setting, set the detector type to Peak hold continuous. Run Spectrum Analyzer and Signal Generator. - **Expected Result:** The noise floor of the signal should move up to the peak of the noise floor. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. On Signal Generator’s channel 1, change the frequency to 250 kHz. - **Expected Result:** The signal should be able to capture the fundamental frequency at 250kHz while retaining the previous fundamental frequency from 500kHz signal + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. Test Min hold Continuous 9. Repeat the steps of testing detector types. On channel 1’s setting, set the detector type to Min hold continuous. Run Spectrum Analyzer and Signal Generator. - **Expected Result:** The noise floor of the signal should move down to the minimum value of the noise floor while retaining the fundamental frequency at 500kHz. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. On Signal Generator’s channel 1, change the frequency to 250 kHz. - **Expected Result:** The fundamental frequencies shouldn’t be detected but the noise floor’s should still be moving to the minimum + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. Testing channel 2’s trace detector type 12. Repeat the steps in channel 1's trace detector using channel 2. - **Expected Result:** The response should be the same + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. Testing the marker table 14. On channel 1’s setting, set Type to Sample, Window Function to Flat-top and Averaging to 1. 15. Connect Scope ch1+ to W1 and Scope ch1- to GND. Connect Scope ch2+ to W2 and Scope ch2- to GND 16. Set Signal Generator’s channel 1 to the following parameter: Waveformtype: Square Wave, Amplitude: 5V, Frequency: 50kHz, Offset: 0V and Phase 0 degrees. For channel 2 set the following parameters: Waveform type: Triangle , Amplitude: 5V, Frequency: 100kHz, offset: 0V and Phase: 0 degrees 17. Set Spectrum Analyzer’s channel 1 and 2’s type to sample and Window to Flat top. For the Sweep setting set Start: 0Hz, Stop: 1MHz , Resolution BW: 61.04Hz. Run both Signal Generator and Spectrum Analyzer. - **Expected Result:** The spectrum analyzer now displays the FFT signal of both signals with the fundamental frequency and harmonics. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 18. On the marker menu, enable the marker table feature. - **Expected Result:** The interface should look like the image in the step resource picture. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 19. Enable 5 markers for the two channels and distribute each markers on the fundamental frequency or harmonic frequency of the signal by pressing “Up Ampl” or “Dn Ampl” - **Expected Result:** For channel 1 the fundamental frequency is on 50kHz and the succeeding harmonics are at 150kHz, 250kHz, 350kHz and 450kHz. For channel 2, the fundamental frequency is on 100kHz and the succeeding harmonics is on 300kHz, 500kHz, 700kHz and 900kHz. See Step resource picture for reference. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). + diff --git a/docs/tests/plugins/m2k/voltmeter_tests.rst b/docs/tests/plugins/m2k/voltmeter_tests.rst index fec1b7a18..c3a7d5e7b 100644 --- a/docs/tests/plugins/m2k/voltmeter_tests.rst +++ b/docs/tests/plugins/m2k/voltmeter_tests.rst @@ -7,6 +7,23 @@ M2K Voltmeter - Test Suite User guide: :ref:`Scopy Overview `. + +.. note:: + .. list-table:: + :widths: 50 30 30 50 50 + :header-rows: 1 + + * - Tester + - Test Date + - Scopy version + - Plugin version (N/A if not applicable) + - Comments + * - + - + - + - + - + Setup environment: ------------------------------------------------------------------------------- @@ -33,55 +50,188 @@ Test 1: Channel 1 Operation 1. Checking the DC Mode of channel 1 2. Set channel 1 in DC Mode - **Expected Result:** The numerical value should indicate that it’s in VDC mode. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 3. Connect scope ch1+ to positive supply and ch1- to gnd 4. Set the positive power supply voltage level to 3.3V - **Expected Result:** The voltage displayed in the voltmeter should be around 3.2V to 3.4V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Connect scope ch1+ to negative supply and ch1- to gnd 6. Set the negative power supply voltage level to -3.3V - **Expected Result:** The voltage displayed in voltmeter should be around -3.2V to -3.4V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Connect scope ch1+ to positive power supply and scope ch1- to negative supply 8. Set the positive power supply voltage level to 5V and negative power supply to -5V - **Expected Result:** The voltage displayed in the voltmeter should be around 9.9V to 10.1V and the history graph should follow + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. In step 2 replace scope ch1+ with scope ch1- and scope ch1- with scope ch1+ then repeat step 1.3 - **Expected Result:** The voltage displayed in voltmeter should be around -3.2V to -3.3V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. In step 4 replace scope ch1+ with scope ch1- and scope ch1- to scope ch1+ then repeat step 1.5 11. In step 6 replace scope ch1+ with scope ch1- and scope ch1- with scope ch1+ then repeat step 1.7 - **Expected Result:** The voltage displayed in voltmeter should be around -9.9V to -10.1V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Checking the AC Mode of channel 1 for low frequencies (20Hz to 800Hz) 13. Set channel 1 in AC Mode (20Hz to 800Hz) - **Expected Result:** The numerical value should indicate that it’s in AC mode by showing that it’s reading the VRMS of the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Connect scope ch1+ to AWG Ch1 and scope ch1- to gnd 15. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 2.828V, Offset: 0V, Frequency: 20Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 16. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 5V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 1.66Vrms to 1.86Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 17. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 2.000V, Offset: 0V, Frequency: 20Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 18. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 5V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 2.4Vrms to 2.6Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 19. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 3.464V, Offset: 0V, Frequency: 20Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 7V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 1.9Vrms to 2.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 21. Checking the AC Mode of channel 1 for high frequencies (800Hz to 40kHz) 22. Set channel 1 in AC Mode (800Hz to 40kHz) - **Expected Result:** The numerical value should indicate that it’s in AC mode by showing that it’s reading the VRMS of the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Connect scope ch1+ to AWG Ch1 and scope ch1- to gnd 24. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 2.828V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 25. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 5V, Offset: 0V, Frequency: 40kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 1.66Vrms to 1.86Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 26. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 2.000V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 27. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 5V, Offset: 0V, Frequency: 40kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 2.4Vrms to 2.6Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 28. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 3.464V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 29. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 7V, Offset: 0V, Frequency: 40kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 1.9Vrms to 2.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 2: Channel 2 Operation ------------------------------------------------------------------------------- @@ -98,56 +248,195 @@ Test 2: Channel 2 Operation 1. Checking the DC Mode of channel 2 2. Set channel 2 in DC Mode - **Expected Result:** The numerical value should indicate that it’s in VDC mode. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 3. Connect scope ch2+ to positive supply and scope ch2- to gnd 4. Set the positive power supply voltage level to 3.3V - **Expected Result:** The voltage displayed in the voltmeter should be around 3.2V to 3.4V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Connect scope ch2+ to negative supply and scope ch2- to gnd 6. Set the negative power supply voltage level to -3.3V - **Expected Result:** The voltage displayed in voltmeter should be around -3.2V to -3.4V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Connect scope ch2+ to positive power supply and scope ch1- to negative supply 8. Set the positive power supply voltage level to 5V and negative power supply to -5V - **Expected Result:** The voltage displayed in the voltmeter should be around 9.9V to 10.1V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. In step 2 replace scope ch2+ with scope ch2- and and scope ch2- with scope ch2+ then repeat step 1.3 - **Expected Result:** The voltage displayed in voltmeter should be around -3.2V to -3.3V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. In step 4 replace scope ch2+ with scope ch2- and and scope ch2- with scope ch2+ then repeat step 1.5 - **Expected Result:** The voltage displayed in voltmeter should be around 3.2V to 3.3V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 11. In step 6 replace scope ch2+ with scope ch2- and and scope ch2- with scope ch2+ then repeat step 1.7 - **Expected Result:** The voltage displayed in voltmeter should be around -9.9V to -10.1V and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Checking the AC Mode of channel 2 for low frequencies (20Hz to 800Hz) 13. Set channel 1 in AC Mode (20Hz to 800Hz) - **Expected Result:** The numerical value should indicate that it’s in AC mode by showing that it’s reading the VRMS of the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Connect scope ch2+ to AWG ch1 and scope ch2- to gnd 15. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 2.828V, Offset: 0V, Frequency: 20Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 16. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 5V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 1.66Vrms to 1.86Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 17. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 2.000V, Offset: 0V, Frequency: 20Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 18. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 5V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 2.4Vrms to 2.6Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 19. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 3.464V, Offset: 0V, Frequency: 20Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 7V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 1.9Vrms to 2.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 21. Checking the AC Mode of channel 2 for high frequencies (800Hz to 40kHz) 22. Set channel 1 in AC Mode (800Hz to 40kHz) - **Expected Result:** The numerical value should indicate that it’s in AC mode by showing that it’s reading the VRMS of the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Connect scope ch2+ to AWG ch1 and scope ch2- to gnd 24. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 2.828V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 25. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 5V, Offset: 0V, Frequency: 40kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 1.66Vrms to 1.86Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 26. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 2.000V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 27. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 5V, Offset: 0V, Frequency: 40kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 2.4Vrms to 2.6Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 28. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 3.464V, Offset: 0V, Frequency: 800Hz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 0.9Vrms to 1.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 29. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 7V, Offset: 0V, Frequency: 40kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter should be around 1.9Vrms to 2.1Vrms and the history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 3: Channel 1 and Channel 2 Operation ------------------------------------------------------------------------------- @@ -164,40 +453,137 @@ Test 3: Channel 1 and Channel 2 Operation 1. Test both channels simultaneously in DC mode 2. Set channel 1 and 2 in DC Mode - **Expected Result:** The numerical value should indicate that it’s in VDC mode. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 3. Connect scope ch1+ to positive supply and scope ch1- to gnd. Connect scope ch2+ to negative supply and scope ch2- to gnd 4. Set the positive power supply voltage level to 3.3V and negative power supply to -4.5V - **Expected Result:** The voltages shouldn’t interfere with each other. Voltage displayed in the voltmeter’s channel 1 should be around 3.2V to 3.4V and for voltmeter’s channel 2 should be around -4.6V to -4.4V. The history graph should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Turn off the history graph of channel 1. Set the positive power supply voltage level to 3.3V and negative power supply to -4.5V - **Expected Result:** Turning off the history graph through the function shown on the picture shouldn’t reset or affect the voltage reading in the numerical display. Voltage displayed in the voltmeter’s channel 1 should be around 3.2V to 3.4V and for voltmeter’s channel 2 should be around -4.6V to -4.4V. The history graph of channel 2 should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Turn off the history graph of channel 2. Set the positive power supply voltage level to 3.3V and negative power supply to -4.5V - **Expected Result:** Turning off the history graph through the function shown on the picture shouldn’t reset or affect the voltage reading in the numerical display. Voltage displayed in the voltmeter’s channel 1 should be around 3.2V to 3.4V and for voltmeter’s channel 2 should be around -4.6V to -4.4V. The history graph of channel 1 should follow in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Turn off the history graph of both channels. Set the positive power supply voltage level to 3.3V and negative power supply to -4.5V - **Expected Result:** Turning off the history graph through the function shown on the picture shouldn’t reset or affect the voltage reading in the numerical display. Voltage displayed in the voltmeter’s channel 1 should be around 3.2V to 3.4V and for voltmeter’s channel 2 should be around -4.6V to -4.4V. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 8. Test both channels simultaneously in AC mode 9. Set channel 1 in low frequency AC mode and channel 2 in high frequency AC Mode - **Expected Result:** The numerical value should indicate that it’s in AC mode by showing that it’s reading the VRMS of the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. Connect scope ch1+ to AWG ch1 and scope ch1- to gnd. Connect scope ch2+ to AWG ch2 and scope ch2- to gnd 11. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 2.828V, Offset: 0V, Frequency: 200Hz and Phase: 0. Set the Signal generator’s channel 2 configuration to the following setting Waveform Type: Square Wave, Amplitude: 3, Offset: 0V, Frequency: 1kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter’s channel 1 should be around 0.9Vrms to 1.1Vrms and the voltage display for voltmeter’s channel 2 should be around 1.4Vrms to 1.6Vrms. The history graph should follow the voltage reading in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 6.928V, Offset: 0V, Frequency: 200 Hz and Phase: 0. Set the Signal generator’s channel 2 configuration to the following setting Waveform Type: Sinewave, Amplitude: 2.828, Offset: 0V, Frequency: 1kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter’s channel 1 should be around 1.9Vrms to 2.1Vrms and the voltage display for voltmeter’s channel 2 should be around 0.9Vrms to 1.0Vrms. The history graph should follow the voltage reading in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 13. Test one channel in DC mode and other channel in AC mode simultaneously 14. Set channel 1 in DC Mode and channel 2 in AC Mode - **Expected Result:** The numerical value should indicate that channel 1 is in VDC mode and channel 2 is in AC mode, channel 2 should measure the Vrms. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 15. Connect scope ch1+ to positive supply and scope ch1- to gnd. Connect scope ch2+ to AWG ch1 and scope ch2- to gnd 16. Set the positive power supply voltage level to 3.3V. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 2.828V, Offset: 0V, Frequency: 10kHz and Phase: 0. - **Expected Result:** The voltage displayed in the voltmeter’s channel 1 should be around 3.2V to 3.4V and the voltage display for voltmeter’s channel 2 should be around 0.9Vrms to 1.1Vrms. The history graph should follow the voltage reading in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 17. Set the positive power supply voltage level to 5V. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Square Wave, Amplitude: 3, Offset: 0V, Frequency: 10kHz and Phase: 0. - **Expected Result:** The voltage displayed in the voltmeter’s channel 1 should be around 4.9V to 5.1V and the voltage display for voltmeter’s channel 2 should be around 1.4Vrms to 1.6Vrms. The history graph should follow the voltage reading in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 18. Set channel 1 in AC Mode and channel 2 in DC Mode - **Expected Result:** The numerical value should indicate that channel 1 is in AC mode and channel 2 is in DC mode, channel 1 should measure the Vrms. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 19. In step 3.2 replace scope ch1+ and scope ch1- with scope ch2+ and ch2- respectively and replace ch2+ and ch2- with ch1+ and ch1- respectively and repeat step 3.3 - **Expected Result:** The voltage displayed in the voltmeter’s channel 2 should be around 3.2V to 3.4V and the voltage display for voltmeter’s channel 1 should be around 0.9Vrms to 1.1Vrms. The history graph should follow the voltage reading in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. In step 3.2 replace scope ch1+ and scope ch1- with scope ch2+ and ch2- respectively and replace ch2+ and ch2- with ch1+ and ch1- respectively and repeat step 3.4 - **Expected Result:** The voltage displayed in the voltmeter’s channel 2 should be around 4.9V to 5.1V and the voltage display for voltmeter’s channel 1 should be around 1.4Vrms to 1.6Vrms. The history graph should follow the voltage reading in 1s, 10s or 60s setting + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL +.. + The result of the test goes here (PASS/FAIL). + + Test 4: Additional Features ------------------------------------------------------------------------------- @@ -214,56 +600,195 @@ Test 4: Additional Features 1. Test Peak hold feature 2. Set channel 1 and 2 in DC Mode - **Expected Result:** The numerical value should indicate that it’s in VDC mode. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 3. Connect scope ch1+ to positive supply and scope ch1- to gnd. Connect scope ch2+ to negative supply and scope ch2- to gnd 4. Turn on the Peak hold feature of the voltmeter - **Expected Result:** The voltmeter window should now show the min and max indicator for both channels. See image for reference. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 5. Set +power supply to 2.5V and –power supply to -3V then turn on the power supply first before the voltmeter - **Expected Result:** The voltage displayed in channel 1’s max voltage should be around 2.4V to 2.6V and the min should still be 0V. The voltage displayed on channel 2’s min voltage should be around -3.1V to -2.9V and the max voltage should be 0V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 6. Following step 4 Set +power supply to 5 V and –power supply to -5V - **Expected Result:** The voltage displayed in channel 1’s max voltage should be around 4.9V to 5.1V and the min should still be 0V. The voltage displayed on channel 2’s min voltage should be around -5.1V to -4.9V and the max voltage should be 0V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 7. Connect scope ch1+ to negative supply and scope ch1- to gnd. Connect scope ch2+ to positive supply and scope ch2- to gnd 8. Set +power supply to 2.5V and –power supply to -3V then turn on the power supply first before the voltmeter - **Expected Result:** The voltage displayed in channel 2’s max voltage should be around 2.4V to 2.6V and the min should still be -5V. The voltage displayed on channel 1’s min voltage should be around -3.1V to -2.9V and the max voltage should be 5V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 9. Following step 7 Set +power supply to 5 V and –power supply to -5V - **Expected Result:** The voltage displayed in channel 2’s max voltage should be around 4.9V to 5.1V and the min should still be -5V. The voltage displayed on channel 1’s min voltage should be around -5.1V to -4.9V and the max voltage should be 5V + - **Actual Result:** + +.. + Actual test result goes here. +.. + 10. Test the reset instrument feature 11. Stop Voltmeter instrument then click the reset instrument button for the peak hold features - **Expected Result:** The max and min reading for both channels should return to 0V. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 12. Test Data logging feature 13. Set channel 1 in low frequency AC mode and channel 2 in high frequency AC Mode - **Expected Result:** The numerical value should indicate that it’s in AC mode by showing that it’s reading the VRMS of the signal. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 14. Connect scope ch1+ to AWG ch1 and scope ch1- to gnd. Connect scope ch2+ to AWG ch2 and scope ch2- to gnd 15. Testing Append mode 16. Turn on the Data logging feature and choose Append 17. For the timer choose 5 seconds 18. Open a .csv file where the data will be logged - **Expected Result:** The voltmeter reading should be recorded on the .csv file with 5 second interval. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 19. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Sine Wave, Amplitude: 2.828V, Offset: 0V, Frequency: 200Hz and Phase: 0. Set the Signal generator’s channel 2 configuration to the following setting Waveform Type: Square Wave, Amplitude: 3, Offset: 0V, Frequency: 1kHz and Phase: 0. Run both the Signal generator and voltmeter - **Expected Result:** Wait for about 1 minute to record at least 6 readings. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 20. Stop the voltmeter and open the .csv file using MS Excel. - **Expected Result:** The voltmeter reading should be recorded on the .csv file with 5 second interval. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 21. Change the timer for 20 seconds - **Expected Result:** The voltmeter reading should be recorded on the .csv file with 20 second interval. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 22. Set the Signal generator’s channel 1 configuration to the following setting Waveform Type: Triangle Wave, Amplitude: 6.928V, Offset: 0V, Frequency: 200 Hz and Phase: 0. Set the Signal generator’s channel 2 configuration to the following setting Waveform Type: Sinewave, Amplitude: 2.828, Offset: 0V, Frequency: 1kHz and Phase: 0 - **Expected Result:** The voltage displayed in the voltmeter’s channel 1 should be around 1.9Vrms to 2.1Vrms and the voltage display for voltmeter’s channel 2 should be around 0.9Vrms to 1.0Vrms. Wait for about 1 minute to record at least 3 readings + - **Actual Result:** + +.. + Actual test result goes here. +.. + 23. Stop the voltmeter and open the .csv file using MS Excel. - **Expected Result:** The voltmeter reading should be recorded on the .csv file in continuation with the previous reading and should now record with 20 second interval. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 24. Testing overwrite mode 25. Turn on the Data logging feature and choose Overwrite - **Expected Result:** Refer to the image for reference + - **Actual Result:** + +.. + Actual test result goes here. +.. + 26. Repeat steps 17 to 23 - **Expected Result:** The results should be the same but every run and stop of the voltmeter should replace the data on the .csv file chosen completely with the new readings. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 27. Test range feature 28. Set channel 1 and 2 in DC Mode with range for both channels set to +-25V. Turn on the Peak hold feature of the voltmeter - **Expected Result:** The numerical value should indicate that it’s in VDC mode. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 29. Connect scope ch1+ to positive supply and scope ch1- to gnd. Connect scope ch2+ to negative supply and scope ch2- to gnd 30. Set the positive power supply to 3.3V and the negative supply to -3.3V. - **Expected Result:** The voltmeter readings should be around [3.2V, 3.4V] for channel 1 and [-3.4V, -3.2V] for channel 2. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 31. Without disabling the power supply, change the range for both voltmeter channels to +-2.5V instead of +-25V. - **Expected Result:** “Out of range” should be raised for both channels. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 32. Still with range set to +-2.5V for both channels, set the power supply to output +100mV and -100mV. - **Expected Result:** The voltmeter readings should be around [0.097V, 0.103V] for channel 1 and [-0.103V, -0.097V] for channel 2. + - **Actual Result:** + +.. + Actual test result goes here. +.. + 33. Without disabling the power supply, change the range for both voltmeter channels to +-25V instead of +-2.5V. - **Expected Result:** “Out of range” should be raised for both channels. + - **Actual Result:** + +.. + Actual test result goes here. +.. + +**Tested OS:** + +.. + Details about the tested OS goes here. + +**Comments:** + +.. + Any comments about the test goes here. **Result:** PASS/FAIL + +.. + The result of the test goes here (PASS/FAIL). +