nScopeAPI  v0.8
nScopeAPI_sampleTiming.h
Go to the documentation of this file.
1 /*******************************************************
2  nScopeAPI - Multi-Platform library for
3  communication with nScope devices.
4 
5  David Meyer
6 
7  10/23/2014
8 
9  Copyright 2014, All Rights Reserved.
10 
11 ********************************************************/
12 
18 #ifndef NSCOPEAPI_SAMPLETIMING_H__
19 #define NSCOPEAPI_SAMPLETIMING_H__
20 
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
40 
53 
66 
79 
92 
104  NSCOPE_API ErrorType nScope_get_time_between_samples_in_minutes(ScopeHandle nScope, double* sample_time_minutes);
105 
118 
131 
144 
157 
158 #ifdef __cplusplus
159 }
160 #endif
161 
162 #endif
NSCOPE_API ErrorType nScope_get_time_between_samples_in_seconds(ScopeHandle nScope, double *sample_time_seconds)
get the time between samples in seconds
#define NSCOPE_API
Definition: nScopeAPI_defs.h:29
NSCOPE_API ErrorType nScope_get_time_between_samples_in_ms(ScopeHandle nScope, double *sample_time_ms)
get the time between samples in milliseconds
ErrorType
Definition: nScopeAPI_defs.h:42
NSCOPE_API ErrorType nScope_set_sample_rate_in_hz(ScopeHandle nScope, double sample_hz)
set the sample rate
NSCOPE_API ErrorType nScope_get_time_between_samples_in_us(ScopeHandle nScope, double *sample_time_us)
get the time between samples in microseconds
NSCOPE_API ErrorType nScope_set_time_between_samples_in_minutes(ScopeHandle nScope, double sample_time_minutes)
set the time between samples in minutes
NSCOPE_API ErrorType nScope_set_time_between_samples_in_us(ScopeHandle nScope, double sample_time_us)
set the time between samples in microseconds
NSCOPE_API ErrorType nScope_set_time_between_samples_in_ms(ScopeHandle nScope, double sample_time_ms)
set the time between samples in milliseconds
struct scopeDev_ * ScopeHandle
Definition: nScopeAPI_defs.h:32
NSCOPE_API ErrorType nScope_get_time_between_samples_in_minutes(ScopeHandle nScope, double *sample_time_minutes)
get the time between samples in minutes
NSCOPE_API ErrorType nScope_get_sample_rate_in_hz(ScopeHandle nScope, double *sample_hz)
get the sample rate
NSCOPE_API ErrorType nScope_set_time_between_samples_in_seconds(ScopeHandle nScope, double sample_time_seconds)
set the time between samples in seconds