winIDEA SDK
IHILChannel Struct Reference

Description

This interface provides information about a HIL channel.

#include <i_Connect.h>

Public Types

enum  EPropertyStr { psUnit , psQualifiedName }
 Returns a string property. More...
 
enum  EPropertyInt
 Returns an integer property.
 
enum  EPropertyFlt { pfAMin , pfAMax }
 Returns a double float integer property. More...
 

Public Member Functions

virtual LPCSTR Name () PURE
 Returns name of the channel .
 
virtual DWORD Flags () PURE
 Various channel Info .
 
virtual DWORD Type () PURE
 Returns the channel type. More...
 
virtual DWORD Index () PURE
 Returns the index in the type group .
 

Static Public Attributes

static const DWORD mc_fl_Available = 0x80000000
 the channel is available (on hardware and not disabled)
 
static const DWORD mc_cit_DIN = 0x00000000
 channel type is a digital input
 
static const DWORD mc_cit_DOUT = 0x00000001
 channel type is digital out
 
static const DWORD mc_cit_AIN = 0x00000002
 channel type is analog input
 
static const DWORD mc_cit_AOUT = 0x00000003
 channel type is analog out
 

Member Enumeration Documentation

◆ EPropertyFlt

Returns a double float integer property.

Enumerator
pfAMin 

minimum value for an analog channel

pfAMax 

maximum value for an analog channel

◆ EPropertyStr

Returns a string property.

Enumerator
psUnit 

the unit of measure (e.g. V, W,...)

psQualifiedName 

fully qualified name (e.g. AIN.AIN0)

Member Function Documentation

◆ Type()

virtual DWORD IHILChannel::Type ( )
virtual

Returns the channel type.

mc_cit_ items encode channel type.