All,
I need to write to a timer preset and am getting an 'object' error using the .net driver.
I'm sort of between a rock and a hard place...
THanks in advance.
Below is the 'function' that attempts to write -
Public Function Write_TimerPreset(ByVal tmrIndex As Int16, ByVal TmrValue As integer) As Boolean
Dim values As Object() = New Object(2) {}
Try
values(0) = DirectCast(TmrValue, Object)
Catch
System.Windows.Forms.
MessageBox.Show("One of more of the values are not valid")
Return False
Exit Function
End Try
Dim wo As WriteOperands = New WriteOperands()
With wo
.NumberOfOp