I've created a 'Test Device' for this example with the following settings:
I'm using the following code:
I'd expected the 'TestDevice' would get a value of 0,1,2,3... to 255 but something strange happened; the value wasn't be increased by 1, but by 4.
Am I doing something wrong, or is this a problem in HS3?
Thanks in advance.
Jaco
I'm using the following code:
Code:
Sub Main(params As Object) dim i as integer = 0 for i = 1 to 255 hs.CAPIControlHandler(hs.CAPIGetSingleControl(hs.GetDeviceRefByName("TestDevice"),false,i,false,true)) next End Sub
Am I doing something wrong, or is this a problem in HS3?
Thanks in advance.
Jaco
Comment