Just trying to write a new script and after I'm just trying to read in a value of the device I get this exception.
I've omitted the rest of the script when running and still...
sub main(Parm As Object)
Dim lumValue As Integer = hs.DeviceValue(1418)
end sub
This is just so basic that, I can't even comprehend this.
Any idea?
Jul-05 9:33:35 AM | Warning | VB.Net script exception(0), re-starting: Object reference not set to an instance of an object. |
I've omitted the rest of the script when running and still...

sub main(Parm As Object)
Dim lumValue As Integer = hs.DeviceValue(1418)
end sub
This is just so basic that, I can't even comprehend this.
Any idea?
Comment