niHWS_GetNumberOfWaveforms

NI-HWS C Function Reference

niHWS_GetNumberOfWaveforms

C Function Prototype

tHWS_Status niHWS_GetNumberOfWaveforms  (tHWS_FileHandle fileHandle, const char groupName[], long* numberOfWaveforms);

Purpose

Reports the number of waveforms in the group specified by groupName.

If there is only one group in the HWS file, the groupName parameter can be NULL or the empty string.

Parameters

Name Type Description
fileHandle tHWS_FileHandle Refers to an open HWS file.
groupName const char[] The name of the group. Groups are identified by name for purposes of setting and getting group attributes.

If only one group is in the file groupName can be NULL or the empty string.

numberOfWaveforms long* Returns the number of waveforms in the group specified by groupName.

Return Value