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
Custom Signal Element
Modified on 2018/08/03 20:58
by
Administrator
Categorized as
Elements
,
Signal Acquisition
<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=Custom Signal | category=Signal Acquisition | icon=[image|Element Icon|{UP(Custom-Signal-Element)}Custom-Signal-Element-Icon.png] | author= OkazoLab | addin= Signal Processing | scope= Experiment | usage= Snippets | ownsnippets= None } == Properties == {| |- ! Name ! Description ! Constraints ! Type ! On<br/>runtime<br/>change |- | colspan="5" bgcolor="#AADDDDD" | Settings |- | Sampling Rate | Defines the output sampling rate of the custom signal | {s:atDesign} | Double | |- | Buffer Size | Defines the size (in samples) of a circular buffer that stores data of custom signal, before it is processed by other element. | {s:atDesign} | Int32 | |- | colspan="5" bgcolor="#AADDDDD" | Overflow Dismissal |- | Overflow Dismiss | Defines whether a part of submitted samples can be dismissed, if the samples are submitted faster than the chosen sampling rate. If the dismissal is not allowed, the signal data can become desynchronized in overflows. | {s:atNormal} | Boolean | |- | colspan="5" bgcolor="#AADDDDD" | Runtime Control |- | Submit Samples Now | in order to submit samples to the custom signal, assign a double value or double array to this property in the snippets. The new values are placed in an accumulative queue, such that the samples go to the signal one by one, in accordance with the chosen sampling rate | {s:atRuntimeAction} | Object | |- | Queue Size | Returns a number of samples awaiting submission to the signal. This property can be used to control overflows with high sampling rates. | {s:atStatus} | Int32 | |- | Clear Queue Now | Assign 'true' in order to forcedly clear a queue of samples that await submission to the signal. The queue may exist, when it was not enough time for processing of previously submitted data. Note that the cleared samples will be lost. | {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> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> '''Custom Signal Element''' creates and maintains an artificial continuous signal with predefined sampling rate. At runtime, custom samples (double numbers) can be submitted to the signal by a user script. The custom signal can be helpful in recording synchronization markers that then can be merged with other online signals.<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
.