07-20-2015 02:03 PM - edited 07-20-2015 02:23 PM
Versistand version is 2013 sp1.
I am using CSV stimulus expressions in my real-time sequence, and would like a channel to retain its current (last) value until a certain time step is reached. Is there a way to do this?
Example CSV stimulus file:
timestamp,chan1,chan2
0,0,<keep current value>
10,1,<keep current value>
20,1,5
30,2,10
In this example, chan2 would retain its current value until timestamp 20.
Is there any way to implement this functionality?
Regards,
Rick Howard
Solved! Go to Solution.
08-04-2015 10:59 AM
Thanks! This is valuable feedback. I can't think of a way to do this natively with the CSV playback functionality for real-time sequences. Some thoughts on how this might be done:
1. Create your own utility to script real-time sequences based on a CSV file. Extend the functionality to have a special marker in a cell that designates not to change the value for the channel that timestep. You don't have to start from scratch. This open source tool and this one both script real-time sequences and stimulus profiles to playback table-based data sets (though in different ways).
2. Using software fault-insertion to fault the channel value that you want to maintain the initial value for for the first X seconds of playback of the CSV file. You could, for instance, play another sequence at the same time as your CSV file to fault the channel to its current value so that the CSV playback fails to overwrite the value.
08-04-2015 11:14 AM
Jarrod,
Thanks for the response. I considered creating my own sequences, but thought I would wait until I got a definitive answer. This is pretty definitive!
Regards,
Rick Howard