beautypg.com

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

Page 154

background image

daqCvtHardwareType

Format

daqCvtHardwareType (HwType, HwSubType, pHwTypeStr, HwTypeStrSize)

Purpose

daqCvtHardwareType converts a hardware type and sub type to a string.

Parameter Summary

Parameter Type

Description

HwType DaqHardwareVersion

Hardware

type

HwSubType DaqHardwareSubType Hardware

sub

type

pHwTypeStr

LPSTR

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

HwTypeStrSize DWORD

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

Parameter Values

HwType: see DaqHardwareVersion of the daqGetHardwareInfo function
HwSubType: see DaqHardwareSubType of the daqGetHardwareInfo function
pHwTypeStr: pointer to a string large enough to hold the hardware type string
HwTypeStrSize: Size of the hardware type string in bytes

Returns

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

Function Usage

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

Prototypes

C/C++

daqCvtHardwareType(DaqHardwareVersion HwType, DaqHardwareSubType HwSubType, PCHAR
pHwTypeStr, DWORD HwTypeStrSize);

Visual BASIC

VBdaqCvtHardwareType$(ByVal HwType&, ByVal HwSubType&)

Program References

None

4.3-28 Daq API Command Reference

908494

Programmer’s

Manual