Returns True if the channel is connected to a valid device.
Boolean Channel.IsConnected(); |
oBoolean = Channel.IsConnected(); |
Application.Devices.enable = true set oDevice = Application.Devices.Item("PC1600") If TypeName (oDevice) = "Nothing" Then set oDevice = Application.Devices.AddDevice( "PC1600" ) End If set oChannel = oDevice.Channel(1) logmessage "The channel 1 is connected? " & oChannel.isConnected |