Summary
|
NI Analog Port
|
Info |
Category: |
Communication |
|
AddIn: |
AddIn_NI |
Creator: |
OkazoLab |
|
Scope: |
Parent event |
Owns Snippets: |
None |
|
Usage: |
Snippets |
Properties
Name | Description | Constraints | Type | On runtime change |
---|
Port Settings |
Analog Port | Selected port on the NI board | | String | |
Sample Rate | Define a analog sampling rate in number of samples per second | | Double | |
Working Mode | Defines a working mode for the element.Select the 'AutoOutput on event onset' mode for sending signals synchronously with an onset of the parent event,or 'Triggering on input' mode for catching the particular pattern in port input. For custom reading/writing scenarios use the 'Manual IO' mode, in which port communication can be controlled by your code. | | stPara.. | |
DAQ settings |
Voltage Range | Defines the voltage range (in volts) for the port output. The chosen range must be supported by the NI board, otherwise the port communications will fail. The standard range is 0..5 | | clRange | |
Output |
Signal Profile | Defines the time-amplitude profile of the output signal.'Level Change', 'Pulse' and 'TTL' profiles are available | | stPara.. | |
Preface Duration | Defines the duration (ms) of the guarantied zero preface interval for the TTL or Pulse signals. Increase the preface duration marginally, if your recording hardware does not detect port signals. Note that a non-zero preface delays the onset of the actual signal. | | Double | |
Pulse Duration | Duration of a single output pulse in ms. The value is applied only if the Pulse signal profile is selected | | UInt64 | |
Interpulse Duration | Defines a duration of the inter-pulse interval in ms. The value is applied only if the Pulse signal profile is selected | | clTime | |
Pulse Number | Defines a number of pulses in the pulse train. The value is applied only if the Pulse signal profile is selected | | Int32 | |
Output Value | Value to be sent through the port. Can be defined in integer or binary format, e.g. Output='01010000'; or Output=255; | | clBina.. | |
Send Output Now | Runtime action initiating an instant output communication through the port. Call this action in snippets by 'SendNow=true;', but only if the element works in the 'Manual I/O' mode. | | Boolean | |
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 Analog Port Element allows sending signals via the analog ports on the National Instruments DAQ cards. The element can be used for triggering external hardware, which is connected to the DAQ card. Note that this element does not support reading the analog input (the Input Listener mode).
Description
...
Snapshots
Snapshot 1
| Snapshot 2 |
Practical Use
...
Technique 1
- Step 1
- Step 2
...
=== Technique 2 === - Step 1
- Step 2
...
// Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
...
== Notes ==
... - Insert Notes here..
- Insert Notes here..