Skip to main content
Open topic with navigation

TestGetByteInput

CAPL Functions » Test Feature Set » TestGetByteInput Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

TestGetByteInput(byte[] result, dword resultSize);

Description

After a dialog with byte input is closed you can use this function to get the input.

Parameters

  • result: Some byte array you can save the input

Return Values

  • resultSize: Size of the byte array

Example

handle = TestWaitForByteInput("Test Text", "Test Caption", "Test Byte Input", 0);
TestGetByteInput(resultByte, elcount(resultByte));