Hi ALL
I've used the code snippet provided by Ultra to toggle an output via a script.
Sub Main(ByVal parm As Object)
Dim strResults As String = ""
' Toggle Output 17
strResults = hs.plugin("UltraM1G").ControlOutput("017","Toggle","0")
If strResults.Length > 0 Then
Call hs.WriteLog("Error", strResults)
End If
End Sub
I put this into a text file and am calling this from an event. I get the following error:
6/10/2007 8:34:04 PM - Error - Running script, script run or compile error in file: Output017_toggle.txt1006:Expected ')' in line 1 More info: Expected ')'
Could someone please point out what I'm missing....
Many thanks..Peter
I've used the code snippet provided by Ultra to toggle an output via a script.
Sub Main(ByVal parm As Object)
Dim strResults As String = ""
' Toggle Output 17
strResults = hs.plugin("UltraM1G").ControlOutput("017","Toggle","0")
If strResults.Length > 0 Then
Call hs.WriteLog("Error", strResults)
End If
End Sub
I put this into a text file and am calling this from an event. I get the following error:
6/10/2007 8:34:04 PM - Error - Running script, script run or compile error in file: Output017_toggle.txt1006:Expected ')' in line 1 More info: Expected ')'
Could someone please point out what I'm missing....
Many thanks..Peter
Comment