Admin Production ni-theme
Current Publication

CA_VariantError

LabWindows/CVI

CA_VariantError

VARIANT CA_VariantError (SCODE errorValue);

Purpose

Converts an SCODE value into a variant that contains the SCODE value.

SCODE is the data type for an error value. Use CA_VariantError to pass an SCODE value as a variant parameter.

Parameters

Input
Name Type Description
errorValue SCODE Value to store in the variant.

Return Value

Name Type Description
variant VARIANT Variant that contains the value in errorValue.

Additional Information

Library: ActiveX Library

Include file: cviauto.h

LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later