Welcome
Guest
, you are in:
<root>
Elements
•
Login
EventIDE Wiki
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
Administration
File Management
Create Account
Search the wiki
Back
NI Analog Port Element
Modified on 2018/08/02 23:13
by
Administrator
Categorized as
Communications
,
Elements
<div style="margin-right: 10px; margin-left: 16px; margin-bottom:10px; float: right; width: 500px; overflow: hidden; height: auto; padding: 0px; background: #fafafa; background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));background: -moz-linear-gradient(top, #fbfbfb, #fafafa);border: 1px dashed #ddd;box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ddd, 0 0 0 10px #fff, 0 0 2px 10px #eee;"> == Summary == {s:Element Info Panel | title=NI Analog Port | category=Communication | icon=[image|Element Icon|{UP(NI-Analog-Port-Element)}NI-Analog-Port-Element-Icon.png] | author= OkazoLab | addin= AddIn_NI | scope= Parent event | usage= Snippets | ownsnippets= None } == Properties == {| |- ! Name ! Description ! Constraints ! Type ! On<br/>runtime<br/>change |- | colspan="5" bgcolor="#AADDDDD" | Port Settings |- | Analog Port | Selected port on the NI board | {s:atDesign} | String | |- | Sample Rate | Define a analog sampling rate in number of samples per second | {s:atDesign} | 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. | {s:atDesign} | stPara.. | |- | colspan="5" bgcolor="#AADDDDD" | 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 | {s:atNormal} | clRange | |- | colspan="5" bgcolor="#AADDDDD" | Output |- | Signal Profile | Defines the time-amplitude profile of the output signal.'Level Change', 'Pulse' and 'TTL' profiles are available | {s:atDesign} | 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. | {s:atNormal} | Double | |- | Pulse Duration | Duration of a single output pulse in ms. The value is applied only if the Pulse signal profile is selected | {s:atNormal} | 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 | {s:atNormal} | clTime | |- | Pulse Number | Defines a number of pulses in the pulse train. The value is applied only if the Pulse signal profile is selected | {s:atNormal} | 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; | {s:atNormal} | 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. | {s:atRuntimeAction} | Boolean | |- | colspan="5" bgcolor="#AADDDDD" | Control |- | Is Enabled | If set to false the element is completely omitted when the experiment is run | {s:atDesign} | Boolean | |- | Title | Title of the element | {s:atDesign} | String | |- |} == == </div> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> '''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). <br><br> {TOC} == Description == ... == Snapshots == {| | [imageleft|Snapshot 1 <br/>|{UP(page - name)}*-sm.png |{UP(page - name)}*.png] || [imageleft|Snapshot 2 |{UP(page - name)}*-sm.png |{UP(page - name)}*.png] |} == Practical Use == ... === Technique 1 === # Step 1 # Step 2 ... === Technique 2 === # Step 1 # Step 2 ... <div style="margin-left:0px; margin-right:10px; margin-top:10px; width: auto; overflow: hidden; height: auto; background: #fafafa; background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));background: -moz-linear-gradient(top, #fbfbfb, #fafafa);border: 1px dashed #ddd;box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ddd, 0 0 0 10px #fff, 0 0 2px 10px #eee;"> @@ csharp // Check the trial outcome. Result and RT just other user variables // insert code snippet here.. @@</div> ... == Notes == ... * Insert Notes here.. * Insert Notes here..
Meta Keywords:
Meta Description:
Change Comment:
ScrewTurn Wiki
version 5.2.0.8. Some of the icons created by
FamFamFam
.