Skip to main content

memoryAreaIsNotUnkown

Short summary​

This assertion method checks if pointer is not at memory area unknown

Parameters​

NameTypeCommentKind
addressPVOIDmemory addressinput
sizeInBytesUDINTnumber of bytesinput
messageAssertMessagemessage if the assertion is falseinput

Code​

Declaration​

METHOD memoryAreaIsNotUnkown
VAR_INPUT
(* memory address *)
address :PVOID;
(* number of bytes *)
sizeInBytes :UDINT;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR