Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
university:tools:m2k:scopy:test-cases:pattern-generator [06 Jun 2019 07:44] – edited flow of test, removed unnecessary steps Trecia Agoylouniversity:tools:m2k:scopy:test-cases:pattern-generator [07 Apr 2021 10:20] (current) – Updated for new features Trecia Agoylo
Line 12: Line 12:
 {{:university:tools:m2k:scopy:test-cases:PG-initialsetup.JPG?700|}} {{:university:tools:m2k:scopy:test-cases:PG-initialsetup.JPG?700|}}
  
-Press multiple times on the "Run" button to check if the instrument works.+Enable a channel and press multiple times on the "Run" button to check if the instrument works.
  
 ===== Test Title ===== ===== Test Title =====
Line 20: Line 20:
 ^ Description ^ Test Steps ^ Steps Resources ^ Expected Results ^ ^ Description ^ Test Steps ^ Steps Resources ^ Expected Results ^
 |Checking Individual Channels: Use PP as output |1. Connect DIO-0, CH0 to Scope CH1+, GND to Scope CH1-. | {{:university:tools:m2k:scopy:test-cases:PG-A1.JPG?100|}} | | |Checking Individual Channels: Use PP as output |1. Connect DIO-0, CH0 to Scope CH1+, GND to Scope CH1-. | {{:university:tools:m2k:scopy:test-cases:PG-A1.JPG?100|}} | |
-|:::|2. Enable CH0. By default, CH0 will generate a 5 KHz clock signal with duty cycle of 50%. Run instrument.|{{:university:tools:m2k:scopy:test-cases:PG-A2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|+|:::|2. 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.|{{:university:tools:m2k:scopy:test-cases:PG-A2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 |:::|3. Monitor CH0 through oscilloscope. Open built-in measurement feature for frequency, amplitude and duty cycle.|{{:university:tools:m2k:scopy:test-cases:PG-A3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side). In the oscilloscope, Frequency: 5 KHz, Amplitude: 3.2V to 3.4 V, Duty+: 50 %, Duty-:50%| |:::|3. Monitor CH0 through oscilloscope. Open built-in measurement feature for frequency, amplitude and duty cycle.|{{:university:tools:m2k:scopy:test-cases:PG-A3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side). In the oscilloscope, Frequency: 5 KHz, Amplitude: 3.2V to 3.4 V, Duty+: 50 %, Duty-:50%|
 |:::|4. Change frequency: 100 KHz, duty cycle: 30%. |{{:university:tools:m2k:scopy:test-cases:PG-A4a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-A4b.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side). In the oscilloscope, Frequency: 100 KHz, Amplitude: 3.2V to 3.4 V, Duty+: 30 %, Duty-: 70%| |:::|4. Change frequency: 100 KHz, duty cycle: 30%. |{{:university:tools:m2k:scopy:test-cases:PG-A4a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-A4b.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side). In the oscilloscope, Frequency: 100 KHz, Amplitude: 3.2V to 3.4 V, Duty+: 30 %, Duty-: 70%|
Line 37: Line 37:
 <hidden> <hidden>
 ^ Description ^ Test Steps ^ Steps Resources^ Expected Results ^ ^ Description ^ Test Steps ^ Steps Resources^ Expected Results ^
-|Checking Group Channels and Patterns: Use PP as output. Binary Counter|1.1 Enable and select channels DIO0 to DIO3. Then click “Group with selected”. Change pattern to Binary Counter. |{{:university:tools:m2k:scopy:test-cases:PG-B1.1.PNG?100|}}|The interface should look like in the "Step Resources" picture (left side).| +|Checking Group Channels and Patterns: Use PP as output. Binary Counter|1.1 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. |{{:university:tools:m2k:scopy:test-cases:PG-B1.1.PNG?100|}}|The interface should look like in the "Step Resources" picture (left side).| 
-|:::|1.2 Open logic analyzer. Make a group with channels DIO0 to DIO3. Once grouped, choose parallel for the decoder.|{{:university:tools:m2k:scopy:test-cases:PG-B1.2.JPG?100|}}|The plot in the logic analyzer should resemble the plot seen in the pattern generator.|+|:::|1.2 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.|{{:university:tools:m2k:scopy:test-cases:PG-B1.2.JPG?100|}}|The plot in the logic analyzer should resemble the plot seen in the pattern generator.|
 |:::|1.3 Check the frequency of each channel through oscilloscope. Connect DIO0 to scopech1+. Enable built-in measurement for frequency. |{{:university:tools:m2k:scopy:test-cases:PG-B1.3.JPG?100|}}|Frequency shown should be 2.4 KHz to 2.6 KHz, corresponding to set clock frequency/2.| |:::|1.3 Check the frequency of each channel through oscilloscope. Connect DIO0 to scopech1+. Enable built-in measurement for frequency. |{{:university:tools:m2k:scopy:test-cases:PG-B1.3.JPG?100|}}|Frequency shown should be 2.4 KHz to 2.6 KHz, corresponding to set clock frequency/2.|
 |:::|1.4 Connect DIO1 to scopech1+. Enable built-in measurement for frequency. |{{:university:tools:m2k:scopy:test-cases:PG-B1.4.JPG?100|}}|Frequency shown should be 1.24 KHz to 1.27 KHz, corresponding to set clock frequency/4.| |:::|1.4 Connect DIO1 to scopech1+. Enable built-in measurement for frequency. |{{:university:tools:m2k:scopy:test-cases:PG-B1.4.JPG?100|}}|Frequency shown should be 1.24 KHz to 1.27 KHz, corresponding to set clock frequency/4.|
Line 47: Line 47:
 |:::|2.3 Change frequency: 100 KHz|{{:university:tools:m2k:scopy:test-cases:PG-B2.3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side). There should be new set of data and hexadecimal equivalents. | |:::|2.3 Change frequency: 100 KHz|{{:university:tools:m2k:scopy:test-cases:PG-B2.3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side). There should be new set of data and hexadecimal equivalents. |
 |:::|2.4 Monitor through logic analyzer. Use parallel as decoder.|{{:university:tools:m2k:scopy:test-cases:PG-B2.4.JPG?100|}}|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.| |:::|2.4 Monitor through logic analyzer. Use parallel as decoder.|{{:university:tools:m2k:scopy:test-cases:PG-B2.4.JPG?100|}}|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.|
-|:::|2.5 Change frequency: 10 MHz|{{:university:tools:m2k:scopy:test-cases:PG-B2.5.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side). There should be new set of data and hexadecimal equivalents.| +|Number pattern |3.1 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.|{{:university:tools:m2k:scopy:test-cases:PG-B3.1.PNG?100|}}|The interface should look like in the "Step Resources" picture (left side).| 
-|:::|2.6 Monitor through logic analyzer. Use parallel as decoder.|{{:university:tools:m2k:scopy:test-cases:PG-B2.6.JPG?100|}}|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.| +|:::|3.2 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. |{{:university:tools:m2k:scopy:test-cases:PG-B3.2.JPG?100|}}|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|
-|Number pattern |3.1 Change pattern to Number pattern. Set number to 3.|{{:university:tools:m2k:scopy:test-cases:PG-B3.1.PNG?100|}}|The interface should look like in the "Step Resources" picture (left side).| +
-|:::|3.2 Monitor through logic analyzer. Use parallel as decoder.|{{:university:tools:m2k:scopy:test-cases:PG-B3.2.JPG?100|}}|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|+
 |:::|3.3 Change number to 14. In the plot, it will show the hexadecimal equivalent which is E.|{{:university:tools:m2k:scopy:test-cases:PG-B3.3a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-B3.3b.JPG?100|}}|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 | |:::|3.3 Change number to 14. In the plot, it will show the hexadecimal equivalent which is E.|{{:university:tools:m2k:scopy:test-cases:PG-B3.3a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-B3.3b.JPG?100|}}|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 |
 |:::|3.4 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.|{{:university:tools:m2k:scopy:test-cases:PG-B3.4a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-B3.4b.JPG?100|}}|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 | |:::|3.4 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.|{{:university:tools:m2k:scopy:test-cases:PG-B3.4a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-B3.4b.JPG?100|}}|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 |
-|Gray Counter |4.1 Change pattern to Gray Counter. |{{:university:tools:m2k:scopy:test-cases:PG-B4.1.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| +|Gray Counter |4.1 Change pattern to Gray Counter. Disable DIO 8. |{{:university:tools:m2k:scopy:test-cases:PG-B4.1.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| 
-|:::|4.2 Monitor through logic analyzer. Choose parallel for the decoder.|{{:university:tools:m2k:scopy:test-cases:PG-B4.2.JPG?100|}}|The plot in the logic analyzer should resemble the plot seen in the pattern generator. One bit change per clock cycle.| +|:::|4.2 Monitor through logic analyzer. Choose parallel for the decoder. Set Clock line as X. |{{:university:tools:m2k:scopy:test-cases:PG-B4.2.JPG?100|}}|The plot in the logic analyzer should resemble the plot seen in the pattern generator. One bit change per clock cycle.| 
-|UART |5.1 Dissolve current group channel. Enable and select DIO0 channel and click “Group with selected”. Change pattern to UART. Set parameters: Baud: 9600, Stop bit: 1, no parity, Data to send: ‘HELLO’.|{{:university:tools:m2k:scopy:test-cases:PG-B5.1.JPG?100|}}| The interface should look like in the "Step Resources" picture (left side).|+|UART |5.1 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’.|{{:university:tools:m2k:scopy:test-cases:PG-B5.1.JPG?100|}}| The interface should look like in the "Step Resources" picture (left side).|
 |:::|5.2 Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 9600, Data bits: 8, no parity.|{{:university:tools:m2k:scopy:test-cases:PG-B5.2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| |:::|5.2 Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 9600, Data bits: 8, no parity.|{{:university:tools:m2k:scopy:test-cases:PG-B5.2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
-|:::|5.3 Change set parameters: Baud: 115200, Stop bit: 2, even parity, Data to send: ‘HI’.|{{:university:tools:m2k:scopy:test-cases:PG-B5.3.JPG?100|}}| The interface should look like in the "Step Resources" picture (left side).|+|:::|5.3 Change set parameters: Baud: 115200, Stop bit: 1, even parity, Data to send: ‘HI’.|{{:university:tools:m2k:scopy:test-cases:PG-B5.3.JPG?100|}}| The interface should look like in the "Step Resources" picture (left side).|
 |:::|5.4 Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 115200, Data bits: 8, even parity.|{{:university:tools:m2k:scopy:test-cases:PG-B5.4.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| |:::|5.4 Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 115200, Data bits: 8, even parity.|{{:university:tools:m2k:scopy:test-cases:PG-B5.4.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 |::: |5.5 Change set parameters: Baud: 115200, Stop bit: 1, odd parity, Data to send: ‘HI’.|{{:university:tools:m2k:scopy:test-cases:PG-B5.5.JPG?100|}}| The interface should look like in the "Step Resources" picture (left side).| |::: |5.5 Change set parameters: Baud: 115200, Stop bit: 1, odd parity, Data to send: ‘HI’.|{{:university:tools:m2k:scopy:test-cases:PG-B5.5.JPG?100|}}| The interface should look like in the "Step Resources" picture (left side).|
 |:::|5.6 Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 115200, Data bits: 8, odd parity.|{{:university:tools:m2k:scopy:test-cases:PG-B5.6.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| |:::|5.6 Monitor the channel in the logic analyzer. Use UART as decoder. Set Baud: 115200, Data bits: 8, odd parity.|{{:university:tools:m2k:scopy:test-cases:PG-B5.6.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
-|SPI |6.1 Dissolve current group channel. Enable and select DIO5 to DIO7 to create a 3-channel group. Click “Group with selected”. Change pattern to SPI. Set the following parameters: Bytes per frame: 2, inter frame space: 3, Data: ABCD1234.|{{:university:tools:m2k:scopy:test-cases:PG-B6.1.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|+|SPI |6.1 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.|{{:university:tools:m2k:scopy:test-cases:PG-B6.1.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 |:::|6.2 Monitor the channel through logic analyzer. Use SPI as decoder. Refer to steps resources picture for the configuration of logic analyzer. |{{:university:tools:m2k:scopy:test-cases:PG-B6.2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| |:::|6.2 Monitor the channel through logic analyzer. Use SPI as decoder. Refer to steps resources picture for the configuration of logic analyzer. |{{:university:tools:m2k:scopy:test-cases:PG-B6.2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 |:::|6.3 Change the following parameters: Bytes per frame: 1, inter frame space: 4, Data: ABCD1234.|{{:university:tools:m2k:scopy:test-cases:PG-B6.3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| |:::|6.3 Change the following parameters: Bytes per frame: 1, inter frame space: 4, Data: ABCD1234.|{{:university:tools:m2k:scopy:test-cases:PG-B6.3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 |:::|6.4 Monitor the channel through logic analyzer. Use SPI as decoder. Refer to steps resources picture for the configuration of logic analyzer. |{{:university:tools:m2k:scopy:test-cases:PG-B6.4.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| |:::|6.4 Monitor the channel through logic analyzer. Use SPI as decoder. Refer to steps resources picture for the configuration of logic analyzer. |{{:university:tools:m2k:scopy:test-cases:PG-B6.4.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
-|I2C|7.1 Dissolve current group channel. Enable and select DIO0 and DIO1 to create a 2-channel group. Click “Group with selected”. Change pattern to I2C. Set the following parameters:  Address: 72, Inter frame space: 3, Data: ABCD1234.|{{:university:tools:m2k:scopy:test-cases:PG-B7.1.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|+|I2C|7.1 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.|{{:university:tools:m2k:scopy:test-cases:PG-B7.1.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 |:::|7.2 Monitor the channel through logic analyzer. Use I2C as decoder. Refer to steps resources picture for the configuration of logic analyzer. |{{:university:tools:m2k:scopy:test-cases:PG-B7.2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| |:::|7.2 Monitor the channel through logic analyzer. Use I2C as decoder. Refer to steps resources picture for the configuration of logic analyzer. |{{:university:tools:m2k:scopy:test-cases:PG-B7.2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 +|Pulse Pattern|8.1 Change pattern to Pulse Pattern. Set the following parameters:  Low: 5, High: 1, Counter Init: 0, Delay: 10, Number of Pulses: 5.|{{:university:tools:m2k:scopy:test-cases:PG-B8.1.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 +|:::|7.2 Monitor the channels through logic analyzer. Refer to steps resources picture for the configuration of logic analyzer. |{{:university:tools:m2k:scopy:test-cases:PG-B8.2.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
 +
 </hidden> </hidden>
 ==== C. Simultaneous Group and Individual Channels Operation====  ==== C. Simultaneous Group and Individual Channels Operation====
Line 73: Line 74:
 |Checking Group and Individual Channels Simultaneously: Use PP as output.|1. 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.|{{:university:tools:m2k:scopy:test-cases:PG-C1.JPG?100|}}| The interface should look like in the "Step Resources" picture (left side).| |Checking Group and Individual Channels Simultaneously: Use PP as output.|1. 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.|{{:university:tools:m2k:scopy:test-cases:PG-C1.JPG?100|}}| The interface should look like in the "Step Resources" picture (left side).|
 |:::|2. Monitor DIO4 through oscilloscope. And at the same time monitor the group channel through logic analyzer.|{{:university:tools:m2k:scopy:test-cases:PG-C2a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-C2b.JPG?100|}}|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.| |:::|2. Monitor DIO4 through oscilloscope. And at the same time monitor the group channel through logic analyzer.|{{:university:tools:m2k:scopy:test-cases:PG-C2a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-C2b.JPG?100|}}|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.|
-|:::|3. Do not dissolve group channel. Rename previous group as Group BC, for binary counter. Add another group channel.  Enable and select DIO5, create a 1-channel group for UART. Change pattern to UART.  Baud: 19200, stop bit: 1, no parity, Data: ‘HI’. Name this group as Group UART. Also, individual DIO4 channel remains enabled.|{{:university:tools:m2k:scopy:test-cases:PG-C3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| +|:::|3. 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.|{{:university:tools:m2k:scopy:test-cases:PG-C3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| 
-|:::|4. Monitor DIO4 through oscilloscope. And at the same time monitor the 2 groups through logic analyzer.|{{:university:tools:m2k:scopy:test-cases:PG-C4a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-C2b.JPG?100|}}|On logic analyzer, the plot should resemble the plot seen in pattern generator, the group channels as well as the individual channel DIO4. On oscilloscope, frequency can be viewed by enabling measurement feature, frequency: 5KHz.|+|:::|4. Monitor the 2 groups and DIO4 through logic analyzer.|{{:university:tools:m2k:scopy:test-cases:PG-C4.JPG?100|}} |On logic analyzer, the plot should resemble the plot seen in pattern generator.|
 |:::|5. 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.|{{:university:tools:m2k:scopy:test-cases:PG-C5.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| |:::|5. 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.|{{:university:tools:m2k:scopy:test-cases:PG-C5.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).|
-|:::|6. Monitor DIO4 through oscilloscope. And at the same time monitor the groups through logic analyzer.|{{:university:tools:m2k:scopy:test-cases:PG-C6a.JPG?100|}} {{:university:tools:m2k:scopy:test-cases:PG-C2b.JPG?100|}}|On logic analyzer, the plot should resemble the plot seen in pattern generator, the group channels as well as the individual channel DIO4. On oscilloscope, frequency can be viewed by enabling measurement feature, frequency: 5KHz.|+|:::|6. Monitor the groups and DIO4 through logic analyzer.|{{:university:tools:m2k:scopy:test-cases:PG-C6.JPG?100|}} |On logic analyzer, the plot should resemble the plot seen in pattern generator.|
 </hidden> </hidden>
 ==== D. Other Features====  ==== D. Other Features====
Line 82: Line 83:
 ^ Description ^ Test Steps ^ Steps Resources ^ Expected Results ^ ^ Description ^ Test Steps ^ Steps Resources ^ Expected Results ^
 |Checking UI: Changing Channel Name |1.1 Open individual channel DIO. On its channel manager, modify its name to ‘CH 0’.|{{:university:tools:m2k:scopy:test-cases:PG-D1.1.JPG?100|}}|The name should change as shown in steps resources picture.| |Checking UI: Changing Channel Name |1.1 Open individual channel DIO. On its channel manager, modify its name to ‘CH 0’.|{{:university:tools:m2k:scopy:test-cases:PG-D1.1.JPG?100|}}|The name should change as shown in steps resources picture.|
-|:::|1.2 Select DIO1 and DIO2 and create a channel. On the group’s channel manager, modify its name as ‘Group 1and2’. .|{{:university:tools:m2k:scopy:test-cases:PG-D1.2.JPG?100|}}|The name should change as shown in steps resources picture.| +|:::|1.2 Enable DIO 1 and change its name to 'CH 1'Create a group with 'CH 0' and 'CH 1'.|{{:university:tools:m2k:scopy:test-cases:PG-D1.2.JPG?100|}}|The list of names under the group shoul also correspond to the names of the channels as should change as shown in steps resources picture.| 
-|Thickness |2.1 Open channel ‘CH 0’. On its channel manager, change thickness to 3.|{{:university:tools:m2k:scopy:test-cases:PG-D2.1.JPG?100|}}|The thickness of the plot should now be more imposing as shown in steps resources picture, compared to previous.| +|Trace Height |2.1 Open channel ‘CH 0’. On its channel manager, change trace height to 50.|{{:university:tools:m2k:scopy:test-cases:PG-D2.1.JPG?100|}}|The trace height should now be twice as shown in steps resources picture, compared to previous.| 
-|:::|2.2 Change thickness again to 5.|{{:university:tools:m2k:scopy:test-cases:PG-D2.2.JPG?100|}}|The thickness of the plot should now be more imposing as shown in steps resources picture, compared to previous.+|:::|2.2 Change height again to 10.|{{:university:tools:m2k:scopy:test-cases:PG-D2.2.JPG?100|}}|The height should now be lower as shown in steps resources picture| 
-|:::|2.Open group channel ‘Group 1and2’. On group’s channel manager, change thickness to 3.|{{:university:tools:m2k:scopy:test-cases:PG-D2.3.JPG?100|}}|The thickness of the plots, DIO1 and DIO2, should now be more imposing as shown in steps resources picture, compared to previous.| +|Knobs|3.1 Checking frequency knob. Set the knob to large increment. No orange dot on the center. Change frequency value using the ± button.|{{:university:tools:m2k:scopy:test-cases:PG-D4.1.JPG?100|}}|The frequency value should change accordingly with a high increment/decrement from 5 KHz to 10 KHz.| 
-|:::|2.4 Open group channel ‘Group 1and2’. On group’s channel manager, change thickness to 5.|{{:university:tools:m2k:scopy:test-cases:PG-D2.4.JPG?100|}}|The thickness of the plots, DIO1 and DIO2, should now be more imposing as shown in steps resources picture, compared to previous.| +|:::|3.2 Set the knob to ±1 unit interval. With orange dot on the center. Change frequency value using the ± button.|{{:university:tools:m2k:scopy:test-cases:PG-D4.2.JPG?100|}}|The frequency value should change accordingly with ±1 unit interval.| 
-|Color |3. Open channel ‘CH 0’. In its color settings, change the following colors,  Edge: Blue, Low: orange, High: Yellow |{{:university:tools:m2k:scopy:test-cases:PG-D3.JPG?100|}}|The interface should look like in the "Step Resources" picture (left side).| +|Checking the output: PP mode | 4.1 Connect the DIO0 to oscilloscope ch1+, and oscilloscope ch1- to gnd. This is to monitor the output from the pattern generator. | | | 
-|Knobs|4.1 Checking frequency knob. Set the knob to large increment. No orange dot on the center. Change frequency value using the ± button.|{{:university:tools:m2k:scopy:test-cases:PG-D4.1.JPG?100|}}|The frequency value should change accordingly with a high increment/decrement from 5 KHz to 10 KHz.| +|:::| 4.2 Enable DIO0 in pattern generator. Set pattern to clock with 5 kHz frequency. Set output as PP. Run instrument and monitor on Oscilloscope|{{:university:tools:m2k:scopy:test-cases:PG-D5.2.PNG?100|}}| The oscilloscope should show clock pulses from logic 0 to 1. It should look like in steps resources picture. | 
-|:::|4.2 Set the knob to ±1 unit interval. With orange dot on the center. Change frequency value using the ± button.|{{:university:tools:m2k:scopy:test-cases:PG-D4.2.JPG?100|}}|The frequency value should change accordingly with ±1 unit interval.| +|:::| 4.3 Try other patterns such as random pattern and monitor on oscilloscope. | {{:university:tools:m2k:scopy:test-cases:PG-D5.3.PNG?100|}} | The oscilloscope should show random pulses from logic 0 to 1. It should look like in steps resources picture. | 
-|Checking the output: PP mode | 5.1 Connect the DIO0 to oscilloscope ch1+, and oscilloscope ch1- to gnd. This is to monitor the output from the pattern generator. | | | +|:::| 4.4 Repeat steps 4.2 and 4.3 for all channels. ||| 
-|:::| 5.2 Enable DIO0 in pattern generator. Set pattern to clock with 5 kHz frequency. Set output as PP. Run instrument and monitor on Oscilloscope|{{:university:tools:m2k:scopy:test-cases:PG-D5.2.PNG?100|}}| The oscilloscope should show clock pulses from logic 0 to 1. It should look like in steps resources picture. | +|OD mode| 5.1 Change output to OD. Monitor output in oscilloscope. |{{:university:tools:m2k:scopy:test-cases:PG-D6.1.PNG?100|}}| Oscilloscope should only show logic 0 since output is now in OD mode. | 
-|:::| 5.3 Try other patterns such as random pattern and monitor on oscilloscope. | {{:university:tools:m2k:scopy:test-cases:PG-D5.3.PNG?100|}} | The oscilloscope should show random pulses from logic 0 to 1. It should look like in steps resources picture. | +|:::| 5.2 Do 5.1 to other channels. ||| 
-|:::| 5.4 Repeat steps 5.2 and 5.3 for all channels. ||| +|:::| 5.3 To output two logic levels when operating in OD, a pull up resistor is needed. Connect the breadboard connection shown in steps resources. | {{:university:tools:m2k:scopy:test-cases:PG-D6.3.PNG?100|}}| | 
-|OD mode| 6.1 Change output to OD. Monitor output in oscilloscope. |{{:university:tools:m2k:scopy:test-cases:PG-D6.1.PNG?100|}}| Oscilloscope should only show logic 0 since output is now in OD mode. | +|:::|5.4 Set power supply to 5V. Run power supply, pattern generator and monitor in oscilloscope.| {{:university:tools:m2k:scopy:test-cases:PG-D6.4.PNG?100|}}| 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.| 
-|:::| 6.2 Do 6.1 to other channels. ||| +|:::| 5.5 Repeat step 5.3 and 5.4 for all channels. ||| 
-|:::| 6.3 To output two logic levels when operating in OD, a pull up resistor is needed. Connect the breadboard connection shown in steps resources. | {{:university:tools:m2k:scopy:test-cases:PG-D6.3.PNG?100|}}| | +|Print6.1 Click on Print button and save file as sample.pdf | {{:university:tools:m2k:scopy:test-cases:PG-Dn6.1.JPG?100|}}| Upon saving, the prompt window should look like the steps resources picture. | 
-|:::|6.4 Set power supply to 5V. Run power supply, pattern generator and monitor in oscilloscope.| {{:university:tools:m2k:scopy:test-cases:PG-D6.4.PNG?100|}}| 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.| +|:::| 6.2 Open the saved file. | | The file should show the waveform that you have saved.| 
-|:::| 6.5 Repeat step 6.3 and 6.4 for all channels. ||| +|See more info| 7.1 Click the 'See more info' icon on the upper left of the pattern generator window. | | It should lead to the wiki page of pattern generator.|
-|Mix Indicator7.1 Disconnect current connections. Set channel output to the following: DIO0=OD, DIO1=PP, DIO2=PP, DIO3=OD. Then group DIO0 to DIO3. |{{:university:tools:m2k:scopy:test-cases:PG-D7.1.PNG?100|}}| Output of the group should indicate “Mix” since output of the channels are not uniform.| +
-|:::| 7.2 Monitor configuration for each channel from the group |:::Each channel under the group should work according to its output configuration (use steps from 5 and 6). | +
-|:::| 7.3 Change group output to PP. |{{:university:tools:m2k:scopy:test-cases:PG-D7.2.PNG?100|}} | Each channel under the group should have output automatically selected as PP. | +
-|:::| 7.4 Monitor configuration for each channel from the group |:::| Each channel under the group should work according to its output configuration (use steps from 5). | +
-|:::| 7.5 Change group output to OD. |{{:university:tools:m2k:scopy:test-cases:PG-D7.3.PNG?100|}}| Each channel under the group should have output automatically selected as OD. | +
-|:::| 7.6 Monitor configuration for each channel from the group |:::| Each channel under the group should work according to its output configuration (use steps from 6). |+
  
  
Line 113: Line 108:
 \\ \\
 **Return to Test Cases [[university:tools:m2k:scopy:test-cases|Table of Contents]]** **Return to Test Cases [[university:tools:m2k:scopy:test-cases|Table of Contents]]**
- 
  
  
university/tools/m2k/scopy/test-cases/pattern-generator.txt · Last modified: 07 Apr 2021 10:20 by Trecia Agoylo