LabWindows/CVI

TDMS_CloseChannel

int TDMS_CloseChannel (TDMSChannelHandle channel);

Purpose

Closes a channel handle.

Channel handles are automatically closed when the containing file handle is closed. You should only call this function if you want to close a channel handle explicitly.

Parameters

Input
Name Type Description
channel TDMSChannelHandle The handle of the channel to be closed.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. Unless otherwise stated, zero represents successful execution and a negative number represents the error code.

Error codes are defined in cvi\include\cvitdms.h.

Additional Information

Library: TDM Streaming Library

Include file: cvitdms.h

LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later

© 2016 National Instruments. All rights reserved.