These functions support multiplexer type operations.
More...
Detailed Description
These functions support multiplexer type operations.
Function Documentation
| ASX32_API ASX_ERROR ASX_Multiplexer_Enumerate |
( |
ASX_HANDLE |
hMux, |
|
|
const int |
nIndex, |
|
|
enum asxNODE * |
peNode, |
|
|
int * |
pnNodeIndex, |
|
|
int * |
pnCount |
|
) |
| |
Enumerate each multiplexer option.
Returns each multiplexer option in terms of a node type and an index. For example, if value selections are Line Ins 1-4, this function will return asxNODE_LINE_IN with the nNodeIndex value set to 0-3. To find all available settings, this function should be called repeatedly with incrememnting values on nIndex until an error is returned.
- Parameters:
-
| hMux | A handle to an ASX multiplexer control. |
| nIndex | The index of the multiplexer option to fetch. |
| peNode | The returned multiplexer node. See asxNODE for available nodes. |
| pnNodeIndex | The returned node index. |
| pnCount | The total number of available multiplexer settings. |
- Returns:
- Returns 0 if there is no error, otherwise one of asxERROR is returned.
- Examples:
- mux/main.c.
Get the current multiplexer setting.
- Parameters:
-
| hMux | A handle to an ASX multiplexer control. |
| peNode | The returned node. See asxNODE for available nodes. |
| pnNodeIndex | The returned node index. |
- Returns:
- Returns 0 if there is no error, otherwise one of asxERROR is returned.
- Examples:
- mux/main.c.
Set the multiplexer.
- Parameters:
-
| hMux | A handle to an ASX multiplexer control. |
| eNode | The node to set the multiplexer to. See asxNODE for available nodes. |
| nNodeIndex | The node index to set. |
- Returns:
- Returns 0 if there is no error, otherwise one of asxERROR is returned.
- Examples:
- dual_mono_record/main.c.