NMX_Sampling_AddChannelsAll_1

<< Click to Display Table of Contents >>

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

NMX_Sampling_AddChannelsAll_1

Use this function to add all measurement channels to the list of sampling elements.

See also the HowTo-Guide.

 

Definition


NMX_STATUS NMX_Sampling_AddChannelsAll_1(

 NMX_PHANDLE pHandle,

 unsigned long* pulNElementsTotal);

 

Parameter


pHandle

Connection Handle.

pulNElementsTotal

Total number of sampling elements, which have already been added since the last call of NMX_Sampling_Reset_1.

 

Typical function call (C example)


NMX_Sampling_AddChannelsAll_1(pHandle, &ulNElements);

 

.Net DLL specific implementation


NMX_MSTATUS Sampling_AddChannelsAll_1(

                 System::IntPtr pHandle,

                 System::UInt32 %pulNElementsTotal);

 

Comments


It is also possible to add only a selection of measurement channels to the list of sampling elements (see NMX_Sampling_AddChannel_1).

This may

allow for higher sampling speed with endless sampling or

shorten the transfer time of the samples with time-limited sampling.

Please note: the same measurement channel cannot be added twice. Thus you can either use NMX_Sampling_AddChannelsAll_1 or NMX_Sampling_AddChannel_1, but not both of them.