Get the number of samples, transformation speed, and repeats.
Ret = LoggerGetSamplingSetting ( AppId , SamplingTimes , ScanClock , RepeatTimes , StartTrigger , StopTrigger , DelayTime )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
SamplingTimes [ VB.NET: UInteger ] [ C++: unsigned long * ] [ C#: out uint ]
Specify the address where the sampling count is stored.
If infinite sampling is set, SamplingTimes returns 0.
ScanClock [ VB.NET: Single ] [ C++: float * ] [ C#: out float ]
Specify the address where the scan clock is stored in μsec units.
RepeatTimes [ VB.NET: Double ] [ C++: double * ] [ C#: out double ]
Specify the address where the repeat count is stored.
If SamplingTimes =0, RepeatTimes returns 1.
StartTriggerType [ VB.NET: UShort ] [ C++: unsigned short * ] [ C#: out ushort ]
Specify the address where the type of start trigger should be stored.
StopTriggerType [ VB.NET: UShort ] [ C++: unsigned short * ] [ C#: out ushort ]
Specify the address where the type of stop trigger should be stored.
DelayTime [ VB.NET: UInteger ] [ C++: unsigned long * ] [ C#: out uint ]
Specify the address where the delay count is stored.
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return code [Dec] |
Description |
LOGGER_ERR_SUCCESS |
0 |
Normal completed |
LOGGER_ERR_INVALID_ID |
10010 |
Invalid AppId was specified. |
The others (See also: Error Code List)
Nothing in particular.
Get the number of samples, transformation speed, and repeats.
Get the sampling times, scan clock, repeat times, start trigger, stop trigger, and delay times.
VB.NET |
Dim Ret As Integer
|
C++ |
long Ret;
|
C# |
int Ret; Ret = logger.GetSamplingSetting(AppId, out SamplingTimes, out ScanClock, out RepeatTimes, out StartTrigger, out StopTrigger, out RepeatTimes);
|