beautypg.com

Daqcvtchanneltype – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 153

background image

daqCvtChannelType

Format

daqCvtChannelType (ChType, ChSubType, pChTypeStr, ChTypeStrSize)

Purpose

daqCvtChannelType converts a channel type and sub type to a string.

Parameter Summary

Parameter Type

Description

ChType DaqAdcExpChType

Channel

type

ChSubType

DaqAdcExpChSubType

Channel sub type

pChTypeStr

LPSTR

C/C++ only: String format of the channel type

ChTypeStrSize DWORD

C/C++ only: Size of the channel type string

Parameter Values

ChType: see DaqAdcExpChType of the daqGetInfo function
ChSubType: see DaqAdcExpChSubType of the daqGetInfo function
pChTypeStr: pointer to a string large enough to hold the channel type string
ChTypeStrSize: Size of the channel type string in bytes

Returns

Nothing in C/C++,
The channel type string in Visual BASIC

Function Usage

This function converts a channel type and sub type to a string.

Prototypes

C/C++

daqCvtChannelType(DaqAdcExpChType ChType, DaqAdcExpChSubType ChSubType, PCHAR
pChTypeStr, DWORD ChTypeStrSize);

Visual BASIC

VBdaqCvtChannelType$(ByVal ChType&, ByVal ChSubType&)

Program References

None

Programmer’s Manual

908494

Daq API Command Reference 4.3-27