Example Code

Read Historical Trace with Extrapolation

Code and Documents

Attachment

Overview:

This example reads an historical trace and extrapolates the data to the start and end time interval. When the maximum number of points per trace is set, DSC's Read Historical Trace.vi ignores extrapolation thus returning missing start and end points (in some cases only 1 data point). This VI always extrapolates and adjusts for the last recorded value in the citadel database in order to always extrapolate between the time interval specified.

ReadHistoricalTraceExtrap.png

Software & Toolkits:

LabVIEW 2010

Datalogging and Supervisory Control (DSC) Module 2010

Attachments:

Read_Historical_Trace_Extrapolate.vi attached.

Created By:

Ryan Pacini

rcpacini@gmail.com

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Larry_H
Member
Member
on

This is an awesome work-around to helping an application meet the expected extrapolation results

Applications Engineer
National Instruments
Pascal75
Member
Member
on

Very inspiring work.

I working on an .exe VI that  traces several Instruments and has the possibility to extract several traces of one library at once to a spreadsheet.

Like you do with MAX but from a Runtime only Computer.

 

This example is very helpful!

 

Thanks for sharing.

 

Pascal

Contributors