NMX_Sampling_Reset_1

<< Click to Display Table of Contents >>

Navigation:  NmxDLL Reference Guide > API (programming interface) > Sampling LowLevel (Time-Triggered Realtime Measurement) >

NMX_Sampling_Reset_1

Reset the whole sampling configuration. If sampling is active, stop it.

This function must be called before a new list of sampling elements is created via NMX_Sampling_Add...

See also the HowTo-Guide.

 

Definition


NMX_STATUS NMX_Sampling_Reset_1(

 NMX_PHANDLE pHandle);

 

Parameter


pHandle

Connection Handle.

 

Typical function call (C example)


NMX_Sampling_Reset_1(pHandle, &ulMinSamplePeriod);

 

.Net DLL specific implementation


NMX_MSTATUS Sampling_Reset_1(System::IntPtr pHandle);

 

Comments


If an active sampling is stopped via NMX_Sampling_Stop_1 and then shall be restarted with the same sampling elements, there is no need for calling NMX_Sampling_Reset_1.

However, if a new list of sampling elements shall be created, an existing list must be cleared by calling NMX_Sampling_Reset_1.