Description Gets the number of sample points in a sampled spectrum. If the spectrum is not a sampled spectrum, an error is set and the operation is halted.
Syntax sampleCount = SpectrumGetSampledEntryCount( spectNode )
Parameters sampleCount (Long) Number of sample points in the spectrum.
spectNode As Long Node number of the spectrum being queried.
Example The following example gets the number of sample points in a spectrum and prints the results to the output window.
Dim sampleCount As Long
sampleCount = SpectrumGetSampledEntryCount( spectNode ) Print "Number of samples: " & sampleCount
See Also SpectrumGetSampledIthWavelength
|