Wiki

This version (27 Apr 2021 13:41) was approved by Antoniu Miclaus.The Previously approved version (28 Aug 2017 14:56) is available.Diff

Digital IO - Test Case

Initial Setup

In order to proceed through the test case, first of all delete the Scopy *.ini file (saves previous settings made in Scopy tool) from the following path on Windows: C:\Users\your_username\AppData\Roaming\ADI .

Open the DigitalIO instrument. The interface should look like the picture below:

Press multiple times on the “Run” button to check if the instrument works.

Test Title

A. IO Operation

Click to display ⇲

Click to hide ⇱

Description Test Steps Steps Resources Expected Results
Checking individual digital pin state 1. Set DIO 0-7 and DIO 8-15 as individual pins The interface should look like in the “Step Resources” picture (left side).
2. Set channel 0 as output The interface should look like in the “Step Resources” picture (left side).
3. Set channel 7 as input The interface should look like in the “Step Resources” picture (left side).
4. Connect digital channel 0 to channel 7 via wires.
5. Change the logic state of channel 0 (0/1) multiple times and monitor channel 7 state. When channel 0 is set to logic one, channel 7 will be automatically set to logic 1. When channel 0 is set to logic one, channel 7 will be automatically set to logic 1.
6. Connect the channel 0 to voltmeter and channel 7 to the positive power supply.
7. Set channel 0 to logic state 0. The interface should look like in the “Step Resources” picture (left side).
8. Monitor the voltage value via voltmeter. On the voltmeter the voltage displayed is be between -0.050V and 0.4V.
9. Set channel 0 to logic state 1. The interface should look like in the “Step Resources” picture (left side).
10. Monitor the voltage value via voltmeter. On the voltmeter the voltage displayed should be between 2.9V and 3.4V.
11. Set positive power supply to voltage level between 0V and 0.8V. The interface should look like in the “Step Resources” picture (left side).
12. Monitor the channel 7 logic state. Channel 7 indicates logic 0 level.
13. Set positive power supply to voltage level between 2V and 3.3V The interface should look like in the “Step Resources” picture (left side).
14. Monitor the channel 7 logic state. Channel 7 indicates logic 1 level.
15. In step 2 replace by turn channel 0 with channels from 1 to 6 and from 8 to 15. Then, for each replacement repeat steps from 3 to 13.
16. In step 2 replace with channel 7 and in step 3 by turn channels from 0 to 6 and from 8 to 15. Then, for each replacement repeat steps from 4 to 13.

B. Group Operation

Click to display ⇲

Click to hide ⇱

Set DIO 0-7 and DIO 8-15 groups as Group pins:

Description Test Steps Steps Resources Expected Results
Checking grouped digital pin states 1. Set DIO 0-7 and DIO 8-15 as Group pins. The interface should look like in the “Step Resources” picture (left side).
2. Connect DIO 0-7 to DIO 8-15 via wires.
3. Set DIO 0-7 as output. The interface should look like in the “Step Resources” picture (left side).
4. Set DIO 8-15 as input. The interface should look like in the “Step Resources” picture (left side).
5. Set DIO 0-7 at value 0. The same value of DIO 0-7 group must be displayed on the DIO 8-15 group.
6. Set DIO 0-7 at value 128. The same value of DIO 0-7 group must be displayed on the DIO 8-15 group.
7. Set DIO 0-7 at value 170. The same value of DIO 0-7 group must be displayed on the DIO 8-15 group.
8. Set DIO 0-7 at value 255. The same value of DIO 0-7 group must be displayed on the DIO 8-15 group.
9. Set DIO 0-7 as input and DIO 8-15 as output. Repeat step 2. For each value set for the DIO 8-15 group, the same value must be displayed on the DIO 0-7 group.

Test Results will be recorded in the following document: Digital IO - Test Case


Return to Test Cases Table of Contents

university/tools/m2k/scopy/test-cases/digitalio.txt · Last modified: 12 Apr 2021 10:28 by Julia Anjanet Pineda