Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set in a Teststand ActiveX Server Step a CANoe Environment Variable Value in Variant Format for a HexEditor-Control?

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
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..
 
0 Kudos
Message 1 of 3
(5,208 Views)

Try to post this question at the teststand forum. Good Luck.

DirkW

0 Kudos
Message 2 of 3
(5,188 Views)

Thank you!

I hope it will be answered!  Otherwise I will try to do it via LabWindows CVI.

0 Kudos
Message 3 of 3
(5,183 Views)