NI Change Detector Element

Modified on 2018/08/02 23:16 by Administrator — Categorized as: Communications, Elements

Summary

Element Icon NI Change Detector
Info
Category: Communication AddIn: AddIn_NI
Creator: OkazoLab Scope: Parent event
Owns Snippets: None Usage: Snippets

Properties

NameDescription                              ConstraintsTypeOn
runtime
change
Port Settings
Port Name        Selected port on the NI board                String         
Pin Number        Defines a number of bins on the selected NI port                String         
Buffer Size        Defines a size of the cyclic buffer (in sample) the change detection                Int32         
Input
Old Input        Returns the previous state of the port input. Note that the value is actualized only after the first detected change                clBina..         
New Input        Returns the new state of the port input after each detected change.                clBina..         
Test Input        Open a input monitor window showing real-time port input with the current settings. Use for testing at designtime.                Boolean         
Trigger Once        Defines whether the element can be triggered multiple times, while the parent event is active. If the property value is 'true' only the first triggering is registered                Boolean         
Runtime Status
Is Triggered        Indicates whether the element has been triggered at least once since activation of the parent event.Triggering occurs only in the 'Input Detection' working mode                Boolean         
Triggering Time        Indicates the local event time of the last element triggering. Triggering occurs only in the 'Input Detection' working mode.                clTime         
Control
Is Enabled        If set to false the element is completely omitted when the experiment is run                Boolean         
Title        Title of the element                String         

NI Change Detector Element detects and signals asynchronous changes in an input of a NI digital port.

Description

...

Snapshots

Snapshot 1

Snapshot 1

Snapshot 2

Snapshot 2

Practical Use

...

Technique 1

  1. Step 1
  2. Step 2
    ...
    === Technique 2 ===
  3. Step 1
  4. Step 2
    ...

     // Check the trial outcome. Result and RT just other user variables
    
    // insert code snippet here..
               
    ...
    == Notes ==
    ...
  5. Insert Notes here..
  6. Insert Notes here..