Hi everybody!
I'm trying to set in a Teststand ActiveX Server step a CANoe Environment Variable Value in Variant Format
but I don't get yet satisfactory results.
The CANoe Environment Variable is used in a Panel for a HexEditor-Control.
If I write something on the control, I am able to read via ActiveX the values in a local variable of my Teststand sequence.
But I can't write values in TestStand and get the right results on the CANoe Panel.
The function call from Test Stand is like:
Example 1:
Set lEnvironmentVariable2.{FileGlobals.CANoe_for_STS.arrCANoe_En_Variables[0].CANoe_Handle}.Value({0,1,2,3})
The Result on the CANoe Panel shown on the HexEditor is:
00000000 00000000
00000000 0000F03F --> corresponds to the double Value with Hi-Lo Nibble changed (Intel-Format)
00000000 00000040 --> "
00000000 00000840 --> "
Example 2:
Set lEnvironmentVariable2.{FileGlobals.CANoe_for_STS.arrCANoe_En_Variables[0].CANoe_Handle}.Value({255,256,511,512})
00000000 00E06F40
00000000 00007040
00000000 00F07F40
00000000 00008040
The Environment Variable is defined in CANoe as:
Value-Type: Data,
Access: unlimited
Length: 100
Any advice? Thank you..