Driver.SupportsChannel



SupportsChannel(ChannelType As tpKanaltypes,ObVarType As VarType) As Boolean

Parameters

ChannelType As tpKanaltypes
ChannelType (constant) to be checked.
ObVarType As VarType
VarType object to be checked.
ED
avaliable
RT
not used

Remarks

Returns "True" when the actual driver object support the given VarType and ChannelType combination.

Sample:


Sub Channelsupport()
	Dim zDRV As Driver
	Dim zVTP As VarType
	'get a Driver object for Simulation-Driver
	Set zDRV = MyWorkspace.ActiveDocument.Drivers.Item("SIMUL_WIZ")
	'get a VarType object for UINT
	Set zVTP = MyWorkspace.ActiveDocument.VarTypes.Item("UINT")

	If zDRV.SupportsChannel(tpSPSMerker, zVTP) = True Then
		Debug.Print "This combination is supported by the driver."
	Else
		Debug.Print "NOT supported by this driver!"
	End If
End Sub

See Also

Driver, VarType