ConvertArrayType
void ConvertArrayType (void *sourceArray, int sourceDataType, void *targetArray, int targetDataType, size_t numberOfArrayElements);
Purpose
Converts an array of one data type to an array of another data type.
Parameters
| Input | ||||||||||||||||||
| Name | Type | Description | ||||||||||||||||
| sourceArray | void * | The source array. The data type must be of the same type selected by the Source Data Type control: character short integer integer float double–precision unsigned short integer unsigned integer unsigned character |
||||||||||||||||
| sourceDataType | int | Specifies the data type of the sourceArray. Valid Data Types:
|
||||||||||||||||
| targetDataType | int | Specifies the data type of the targetArray. Valid Data Types:
|
||||||||||||||||
| numberOfArrayElements | size_t | The number of points to be converted from the source array to the target array. | ||||||||||||||||
| Output | ||||||||||||||||||
| Name | Type | Description | ||||||||||||||||
| targetArray | void * | The target array. The data type must be of the same type selected by the Target Data Type control: character short integer integer float double–precision unsigned short integer unsigned integer unsigned character |
||||||||||||||||
Return Value
None.
Additional Information
Library: Programmer's Toolbox
Include file: toolbox\toolbox.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later