|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
send data to OPCmy 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 nizargerm***@hotmail.de wrote:
Show quoteHide quote > hello i will send data to a slave but i can't: I'd like to help, but you don't give much to go on. First of all, I'm> > 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 not familar with this socket library your using - where did it come from? Do you get an error? What is it? It might be helpful if you enumerated some of these things... -- Tom Shelton
How do you translate your WinForms app? (outsourcing localization)
How to recognize a Command Line parameter? Attaching multiple files of any type to a mail message? Looking for a simple explanation of how to walk through a dataset in .net 2.0 Need pre-built report administration application Logic Troubles - reading in a difficult textfile Its Urgent: I have export database into excel file if office not installed then it gives me error Where is the VS mru list file stored? Add new record to database how sql xml query to get empty element tag |
|||||||||||||||||||||||