VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Evaluating Channels using CSV file

Hello all,

I am new to Veristand and using Veristand 2021 right now. Recently I have been learning to run CSV files as real-time sequences. I started with the Engine Demo CSV file Replay Example provided with Veristand and it worked fine. But then I changed the "Warm Up Phase 1.csv" file a little and added a channel evaluation column in it. So content of the new file looked like this:

===========================================================================

timestamp, Aliases/EnginePower, Aliases/DesiredRPM, #EXP(10,10,19000)#Aliases/ActualRPM

0,1,0,900

20000,1,2500,2500

===========================================================================

Note that I changed the time stamps as well. This was just because I wanted to give ActualRPM enough time to settle. For zero DesiredRPM value, I evaluated ActualRPM to 900 because the Idle RPM was set as 900 in the Engine Demo example.

What do you guys think the return value will be if above CSV is run as real-time sequence? To my surprise it returned FALSE / FAILED.

But then I did another experiment. I removed the channel evaluation column from the above CSV and created two other CSVs each containing one line of the ActualRPM channel evaluation above. Then I ran the three CSV files together and this time all three CSV files returned TRUE / PASSED.

 

My conclusion up till now is that the channel evaluation only works if a channel is evaluated only once in a CSV file.

 

Since this conclusion does not seem right so I thought I should ask you guys if I am doing something wrong.

 

Thanks in advance

0 Kudos
Message 1 of 2
(729 Views)

No response yet! Someone atleast try it and tell me if they are getting the same results

0 Kudos
Message 2 of 2
(664 Views)