Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Support Questions
»
result of Write function
« previous
next »
Print
Pages: [
1
]
Author
Topic: result of Write function (Read 1136 times)
andreaboschetti71
Jr. Member
Posts: 61
result of Write function
«
on:
November 26, 2017, 01:07:22 PM »
I want to know what the function EthernetIPforSLCMicroCom1.Write return in case of success. I want discriminate when the function fail to write tag in PLC.
thank you in advance
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: result of Write function
«
Reply #1 on:
November 26, 2017, 02:50:22 PM »
Write is a synchronous call that waits for the write to complete or fail. If it fails, it should throw an exception. You should be able to test this by writing to an elements that does not exist.
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Support Questions
»
result of Write function