Copyright © 2006-2019 MultiMedia Soft

Spectrum.GetTable method

Previous pageReturn to chapter overviewNext page

Remarks

 

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.

 

 

Syntax

 

[Visual Basic]

Public Function GetTable (

tableValues() as Int16,

nTableLength as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes GetTable (

Int16 [] tableValues,

Int32 nTableLength

);


 

[C++]

public: enumErrorCodes GetTable (

unsigned Int16 __gc[] tableValues,

Int32 nTableLength

);


 

 

Parameter

Description

 

 

tableValues

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.

nTableLength

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

 

Value

Meaning

 

 

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.