I am trying to convert some HS2 scripts to HS3 and seem to stuck with using OpenComPortEx.
This works
e = hs.OpenComPort(25, "9600,n,8,1", 1, "Test.vb", "DataReturn")
but I need to specify a termination character.
None of these work.
e = hs.OpenComPortEx(25, "9600,n,8,1", 1, "Test.vb", "DataReturn",")")
e = hs.OpenComPortEx(25, "9600,n,8,1", 1, "Test.vb", "DataReturn",chr(41))
e = hs.OpenComPortEx(25, "9600,n,8,1", 1, "Test.vb", "DataReturn")
HS3 Pro Edition 3.0.0.147 (Windows)
Any help is appreciated.
StevenE
This works
e = hs.OpenComPort(25, "9600,n,8,1", 1, "Test.vb", "DataReturn")
but I need to specify a termination character.
None of these work.
e = hs.OpenComPortEx(25, "9600,n,8,1", 1, "Test.vb", "DataReturn",")")
e = hs.OpenComPortEx(25, "9600,n,8,1", 1, "Test.vb", "DataReturn",chr(41))
e = hs.OpenComPortEx(25, "9600,n,8,1", 1, "Test.vb", "DataReturn")
HS3 Pro Edition 3.0.0.147 (Windows)
Any help is appreciated.
StevenE
Comment