Jump to content
  • 0

which SDK function provides data time as in WaveForms "Record"


csullender

Question

The WaveForms application "Record" function produces a csv column for Time. See an output from Record below.

Which SDK function returns Time in the same way, per data point?

Or what is the recommended method to reproduce WaveForms "Record" Time using the SDK?

The SDK examples do not have the Time column.

 

Time (s),Channel 1 (V),Channel 2 (V),Channel 3 (V),Channel 4 (V)
-0.4999999544108815,26.84392363579407,26.29621863940303,26.70104799906272,1.08318338340238
-0.4999998744108815,25.62815838045167,25.06719454691014,25.50210167241266,1.032148900661786
-0.4999997944108814,25.5123712132762,24.95171577311886,25.49388971127122,1.03082332968151
-0.4999997144108815,25.55372377298173,25.02595212769897,25.31322656615957,1.02817218772096

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @csullender

The sample distances are 1/AnalogInFrequency
The FDwfAnalogInTriggerPositionStatus provides sub-sable adjustment for T0 based based on trigger crossing interpolation when used with trigger on analog inputs.
The FDwfAnalogInStatusTime returns the absolute data&time for T0. This can be useful with newer devices AD3, ADP3X50... which have a time counter running at system frequency, like at 100Mhz or 125MHz. This is synchronized with the computer on connection with a precision of about 1ms, but provides resolution of 8/10ns for the captures. For older device like AD1,2 a software time stamp is returned.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...