Manual-13
SR 1L ActiveX control
Control Name: Via10Sr1X
Description: Automatic control of SR 1L Remotes
Design Time Parameters:
Addr
Via 10’s IP Address
Port
0 = RS-485, 1 = RS-232
Remote_0_Enabled
0 = Disabled, -1 = Enabled
Remote_1_Enabled
0 = Disabled, -1 = Enabled
Remote_2_Enabled
0 = Disabled, -1 = Enabled
Remote_3_Enabled
0 = Disabled, -1 = Enabled
Remote_4_Enabled
0 = Disabled, -1 = Enabled
Remote_5_Enabled
0 = Disabled, -1 = Enabled
Remote_6_Enabled
0 = Disabled, -1 = Enabled
Remote_7_Enabled
0 = Disabled, -1 = Enabled
Runtime Parameters:
ErrorCount
0
Remote_0
Value of SR 1L Address 0 (0 – 31)
Remote_1
Value of SR 1L Address 1 (0 – 31)
Remote_2
Value of SR 1L Address 2 (0 – 31)
Remote_3
Value of SR 1L Address 3 (0 – 31)
Remote_4
Value of SR 1L Address 4 (0 – 31)
Remote_5
Value of SR 1L Address 5 (0 – 31)
Remote_6
Value of SR 1L Address 6 (0 – 31)
Remote_7
Value of SR 1L Address 7 (0 – 31)
Key Methods:
DoConnect
Initialize a connection to the Via 10;
Automatically sets the proper baud and parity for SR 1L use.
SendMem
Sends a memory change to a Slaved SRM 66
Events:
OnError
Called when an error occurs talking to the Via 10
OnRemote0Change
Remote 0’s value changed
OnRemote1Change
Remote 1’s value changed
OnRemote2Change
Remote 2’s value changed
OnRemote3Change
Remote 3’s value changed
OnRemote4Change
Remote 4’s value changed
OnRemote5Change
Remote 5’s values changed
OnRemote6Change
Remote 6’s values changed
OnRemote7Change
Remote 7’s values changed
Initialization:
DoConnect
must be called to initialize a connection to the Via 10