MCPcopy Create free account
hub / github.com/Beckhoff/ADS / Write

Method Write

AdsLib/AdsFile.cpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void AdsFile::Write(const size_t size, const void *data) const
140{
141 auto error = m_Route.ReadWriteReqEx2(SYSTEMSERVICE_FWRITE, *m_Handle, 0,
142 nullptr, size, data, nullptr);
143 if (error) {
144 throw AdsException(error);
145 }
146}

Callers 6

RunFileFunction · 0.45
RunPLCFunction · 0.45
ExportMethod · 0.45
VerifyMethod · 0.45
testBytesFreeMethod · 0.45
testWriteChunkMethod · 0.45

Calls 2

AdsExceptionClass · 0.85
ReadWriteReqEx2Method · 0.80

Tested by

no test coverage detected