Copyright © 2006-2018 MultiMedia Soft

Spectrum.GetTable method

Previous pageReturn to chapter overviewNext page



Obtains the table of values related to each band of the spectrum: you can call this method each time you catch the SpectrumValueChange event.


For details about using Visual Feedbacks refer to the How to use embedded Visual Feedbacks section.





[Visual Basic]

Public Function GetTable (

tableValues() as Int16,

nTableLength as Int32

) as enumErrorCodes



public enumErrorCodes GetTable (

Int16 [] tableValues,

Int32 nTableLength




public: enumErrorCodes GetTable (

unsigned Int16 __gc[] tableValues,

Int32 nTableLength









Memory buffer that, on exit, will contain all of the available spectrum values: each value (2 bytes long) is in the range from 0 to 100.


Length of the table that needs to be obtained, expressed in number of values: the maximum number of values generated by the control is 64 and exceeding this limit would be useless.




Return value






Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.