Access of Parameter of Type ‘Data’
How can I access a vTESTstudio parameter of type ‘Data’?
A parameter of type Data represents a byte array. The input format has to be a list of bytes, separated by spaces.
By the use of the test command Set in the Test Table Editor or in one of the graphical editors the entire byte array can be set to a system variable of type Data.
If you want to access single bytes of the array, CAPL or C# has to be used. To access a single byte value of the parameter by CAPL, proceed as follows: Copy the content of the parameter to a byte array buffer by the use of the method sysParGetData. Afterwards you can access a single byte by its index:
Please complete all required fields. Fields marked with * are required.