N
nizargermany
hello i will send data to a slave but i can't:
my first code:
private datasocket as cwlib.cwdatasocket
datasocket= New CWDSLib.CWDataSocket
datasocket.ConnectTo("URL",
CWDSLib.CWDSAccessModes.cwdsReadWriteAutoUpdate)
datasocket.Data.Value = System.Convert.ToByte(1)
my second code:
private datasocket as cwlib.cwdatasocket
datasocket= New CWDSLib.CWDataSocket
datasocket.ConnectTo("URL",
CWDSLib.CWDSAccessModes.cwdsReadWriteAutoUpdate)
Dim v(32) As Byte
v(0) = CByte(1)
datasocket.Data.Value = v
please help!!!!
thanks
my first code:
private datasocket as cwlib.cwdatasocket
datasocket= New CWDSLib.CWDataSocket
datasocket.ConnectTo("URL",
CWDSLib.CWDSAccessModes.cwdsReadWriteAutoUpdate)
datasocket.Data.Value = System.Convert.ToByte(1)
my second code:
private datasocket as cwlib.cwdatasocket
datasocket= New CWDSLib.CWDataSocket
datasocket.ConnectTo("URL",
CWDSLib.CWDSAccessModes.cwdsReadWriteAutoUpdate)
Dim v(32) As Byte
v(0) = CByte(1)
datasocket.Data.Value = v
please help!!!!
thanks