Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Regarding defining a datatable


rajabadsha Nov 18, 2010 02:28 PM

I am a little confused when defining a DataTable. How do I know what variables to put when I define a datatable.
Are all the variables in the datatable are considered outputs from sensors? What information do I need to know about sensors when I am formulating a code?
I have noticed that some sensors uses Average keyword, some uses Sample while others uses Totalize or other keywords when they are defined in the datatable. How do I know which keyword do I need to see the sensor output. Is it based on the operation of the sensor?

Any kind help shall greatly be appreciated.

Thanks


SWTech Nov 18, 2010 06:46 PM

Output Processing instructions are executed whenever the DataTable is called. Output Processing instructions do their final processing and store the results to memory; i.e., create a new record of data. Examples of Output Processing include:

Average
CardFlush
CardOut
DataEvent
ETsz
FieldNames
FileMark
FillStop
Histogram
LevelCrossing
Maximum
Minimum
Moment
Sample
SampleFieldCal
SampleMaxMin
StdDev
WindVector

and others...

Each instruction performs a certain task. ie The Minimum instruction is used to save the minimum value of the source variable over the output interval to a DataTable. You define what the output interval is. Its best to have the scan rate and the output interval divisible by one another.

Log in or register to post/reply in the forum.