Channel.RawMax

説明

入力デバイスによって指定される最大値(Double)を設定したり、戻したりします。

C#構文

// get accessor

Double rtn = Channel.RawMax;

VBScript の例

Application.Devices.enable = true

' first add the device if it is not there yet

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 rawmax is? " & (oChannel.RawMax)