Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.137

mDIO

This chapter describes configuration of pattern generation via mDIO.

 

 

Requirements

 

info-icon

* Please refer to the User Manual if mDIO is available on your Active Probe.

 

 

Features

  • 2 independent generators
  • 2 digital outputs
  • 1 us resolution (max 1000 s duration)
  • max 512 frames per generator
  • Multiple modes of operation:
  • Continuous / Single shot
  • Start active / Start on FNet Trigger
  • Stop immediately / Finish patterns

 

 

Configuration

 

number1

Configure Active Probe.

Perform a hardware configuration via Hardware menu / Options / FNet.

 

number2

Configure mDIO.

Double-click on your Active Probe or select and press Edit to open the configuration dialog.

 

ADIO-mDIO_PatternGenerator

1. Set the Direction of the channel to OUT.

2. Optionally name the mDIO pins according to their use.

 

 

number3

Configure pattern generation.

PatternGenerator-mDIO-2

1. Open Hardware menu / FNet Operation / Active Probe / mDIO1.

2. From the Pattern section, open the individual channel Pattern dialog with click on the three-dots button.

3. Select Channels - active pins, e.g. Square wave, Edge detection via the arrow button. Make sure pins are used only in one pattern generator.

The pins are set in the order as indicated in the Channels field.

 

 

Number4

Select the Operation mode.

PatternGenerator3

Single Shot - Play the pattern once.

Continuous - Loop the pattern.

 

 

Number5

Configure Start and Stop position.

PatternGenerator4

Start active - Play the pattern immediately when the Operation is confirmed and the dialog is closed. If the option is not checked it will start on a selected trigger.

Stop immediately - If this option is set, pattern will stop immediately when TCx is received, otherwise pattern will be played till the end.

 

 

number6

Select the Start and Stop on FNet triggers (optional).

PatternGenerator5

Select the triggers from the drop-down.

  • Start on - The current pattern is finished immediately the generator is stopped.
  • Stop on - The trigger stops the playback. Pattern plays till end if Stop immediately isn't selected.

 

hmtoggle_arrow0 You can inject these triggers manually via Hardware menu / Inject FNet triggers...

 

 

number7

Input the pattern.

Pattern is a sequence of frames (states on the pins - ones and zeros), separated by a semicolon -  ";".

 

Each frame is a pair (comma separated) and it consist:

  • Masked Value
  • Duration (1 us resolution - default)

 

Value is applied to Channels as a binary state and it must contain a digit (0 = low, 1 = high, x = no change) for every Channel.

 

 

Example 1

Assuming 2 channels (D0_1, D0_0) are specified this the pattern description:

 

01,140; x0,10; 1x,50ms; 11,100us

 

Frame 1 will:

  • Set 1 > D0_0
  • Set 0 > D0_1
  • Wait for 140 us

Frame 2 will:

  • Set 0 > D0_0
  • Wait for 10 us

Frame 3 will:

  • Set 1 > D0_1
  • Wait for 50 ms

Frame 4 will:

  • Set 1 > D0_0
  • Set 1 > D0_1
  • Wait for 100 us

 

 

Example 2

Assuming 1 channel (D0_0):

 

 2*(1,1us; 0,2us)

   

1 >D0_0, wait 1 us

0 >D0_0, wait 2 us

1 >D0_0, wait 1 us

0 >D0_0, wait 2 us

 

 

Copyright© iSYSTEM AG Carl-Zeiss-Str.1 85247 Schwabhausen Germany