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
test-and-measurement:guides:waveforms-pattern-generator [2021/05/14 23:07] – ↷ Links adapted because of a move operation Arthur Browntest-and-measurement:guides:waveforms-pattern-generator [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 110: Line 110:
 The **Run** drop-down determines the period of time the pattern generator will generate a pattern for. It also automatically changes the horizontal time axis in the plot (unless manually overridden as shown in [[#pattern_signal_controls|Section 3.2]]), making it so the //Pattern Generator// plot always shows a single period of the pattern (if //continuous// is selected) or the entire pattern that will be generated (if a time period is selected).  The **Run** drop-down determines the period of time the pattern generator will generate a pattern for. It also automatically changes the horizontal time axis in the plot (unless manually overridden as shown in [[#pattern_signal_controls|Section 3.2]]), making it so the //Pattern Generator// plot always shows a single period of the pattern (if //continuous// is selected) or the entire pattern that will be generated (if a time period is selected). 
  
-The **Repeat** drop-down is available when the //Pattern Generator// is set to run for a finite amount of time, and will cause the instrument to generate the pattern the set number of times. In "continuous" mode this option is greyed out and set to "infinite".+The **Repeat** drop-down is available when the //Pattern Generator// is set to run for a finite amount of time and will cause the instrument to generate the pattern the set number of times. In "continuous" mode this option is greyed out and set to "infinite".
  
 </WRAP> </WRAP>
Line 122: Line 122:
 Starting from the top left, the plus ({{:learn:instrumentation:tutorials:analog-discovery-studio-logic-analyzer:symbol_plus.png?nolink}}) and minus ({{learn:instrumentation:tutorials:analog-discovery-studio-pattern-generator:minus.png?nolink}}) buttons can be used to add or remove channels. Starting from the top left, the plus ({{:learn:instrumentation:tutorials:analog-discovery-studio-logic-analyzer:symbol_plus.png?nolink}}) and minus ({{learn:instrumentation:tutorials:analog-discovery-studio-pattern-generator:minus.png?nolink}}) buttons can be used to add or remove channels.
  
-== 3.2.1 Control Types == +== 3.2.1 Types of Channels == 
-When you add a channel to the Pattern Generator by click on the plus ({{:learn:instrumentation:tutorials:analog-discovery-studio-logic-analyzer:symbol_plus.png?nolink}}) symbol, you will notice that there are three options: //Signal//, //Bus//, and //ROM Logic//.  //Signal// lines are just that, the input signal, whereas //BUS// indicates that the I/O pin is a part of a data bus. //ROM Logic// allows you to change the status of an output based on the status of one or more input.  More information about //ROM Logic// can be found in section 3.3 below.  +When you add a channel to the Pattern Generator by click on the plus ({{:learn:instrumentation:tutorials:analog-discovery-studio-logic-analyzer:symbol_plus.png?nolink}}) symbol, you will notice that there are three options: //Signal//, //Bus//, and //ROM Logic//.  //Signal// lines are just that, a one-bit signal, whereas //BUS// indicates that the I/O pin is a part of a data bus. //ROM Logic// allows you to change the status of an output based on the status of one or more inputs.  More information about //ROM Logic// can be found in section 3.3 below.  
  
 The Show icon ({{learn:instrumentation:tutorials:analog-discovery-studio-pattern-generator:show.png?nolink}}) selects which option columns are shown for each channel. The first four columns (**Output**, **Idle**, **Type**, and **Parameter1**) are available for every type of signal, while the last 2 columns are type-dependent.  The Show icon ({{learn:instrumentation:tutorials:analog-discovery-studio-pattern-generator:show.png?nolink}}) selects which option columns are shown for each channel. The first four columns (**Output**, **Idle**, **Type**, and **Parameter1**) are available for every type of signal, while the last 2 columns are type-dependent. 
Line 131: Line 131:
 <WRAP column half> <WRAP column half>
 {{reference:test-and-measurement:guides:romlogic.png?200|}} {{reference:test-and-measurement:guides:romlogic.png?200|}}
- 
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 163: Line 162:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +
 +=== 3.3 ROM Logic ===
  
 <WRAP group> <WRAP group>
 <WRAP column half> <WRAP column half>
-=== 3.3 ROM Logic === 
  
-When you add a channel to the Pattern Generator by click on the plus ({{:learn:instrumentation:tutorials:analog-discovery-studio-logic-analyzer:symbol_plus.png?nolink}}) symbol, you will see the screen as shown to the right.  You can add or remove both input and output signals, or change the order.  When you add a signal to either the input or output, you can give the signal a name and select which of the DIO pins will be used for that input / output.  You can also adjust the frequency (adjustable from 100 mHz to 100 MHz of how often the logic is evaluated. Once you have all of your inputs and outputs added to the table, you can click on the TRUTH TABLE button to create the logic / pattern you want WaveForms to execute.  Note, an X in the Truth Table represents a "Don't Care" while 0 represents logic low or FALSE and a 1 represents logic high or TRUE.+=== 3.3.1 Parameters === 
 + 
 +When you add a channel to the Pattern Generator by clicking on the plus ({{:learn:instrumentation:tutorials:analog-discovery-studio-logic-analyzer:symbol_plus.png?nolink}}) symbol, you will see the screen as shown to the right.  You can add or remove both input and output signals, or change the order.  When you add a signal to either the input or output, you can give the signal a name and select which of the DIO pins will be used for that input or output.  You can also adjust the frequency (adjustable from 100 mHz to 100 MHz of how often the logic is evaluated.  
 </WRAP> </WRAP>
 <WRAP column half> <WRAP column half>
  
 {{reference:test-and-measurement:guides:romlogic2.png?400|}} {{reference:test-and-measurement:guides:romlogic2.png?400|}}
 +</WRAP>
 +</WRAP>
 +
 +<WRAP group>
 +<WRAP column half>
 +
 +=== 3.3.2 Truth Table ===
 +
 +Once you have all of your inputs and outputs added to the table, you can click on the TRUTH TABLE button to create the logic or pattern you want WaveForms to execute.  Note, an X in the Truth Table represents a "Don't Care" while 0 represents logic low or FALSE and a 1 represents logic high or TRUE.
 +</WRAP>
 +<WRAP column half>
 +
 +{{:test-and-measurement:guides:truthtable.png?400|}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 204: Line 220:
 For more information on WaveForms visit the [[software:waveforms:waveforms-3:reference-manual|WaveForms Reference Manual]].  For more information on WaveForms visit the [[software:waveforms:waveforms-3:reference-manual|WaveForms Reference Manual]]. 
  
-For technical support, please visit the [[https://forum.digilentinc.com/forum/8-scopes-instruments/|Scopes and Instruments]] section of the Digilent Forums.+For technical support, please visit the [[https://forum.digilentinc.com/forum/8-test-and-measurement/|Test and Measurement]] section of the Digilent Forums.