VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Replay (StimulusProfileEditor)

Solved!
Go to solution

hello All,
I'm using VeriStand 2010 and from the stimulus profile editor I created a generator "XY Replay" that loads a file.csv with a profile that lasts 10s
Is there a way to send the stimulus continues running and then play my profile all the time?
thank you very much

monica

0 Kudos
Message 1 of 4
(5,572 Views)
Solution
Accepted by topic author scmm

The XY Replay generator cannot be looped. It will only run once and then stop.

 

You could, however, use a Step-based generator and use the Replay step to play back your data. You can then use a Conditional step to go back to the beginning and start over. This approach has two caveats to keep in mind:

 

1. The Replay step expects data to be sampled evenly with a fixed dt. It is not XY replay. So your CSV file will have to have regular timestamps.

2. The conditional step takes one time step to execute, so the period at which you repeat your replay will have one extra time step at the end. So if your replay is N samples long, the total period of your playback is N+1.

 

FYI: VeriStand 2011 just came out, and the main new feature is an enhanced Stimulus Profile Editor. The new stimulus profiles have a lot more flexibility and power. They can play back CSV files just like the 2010 legacy stimulus profiles (which still exist in 2010), but it's also really easy to do things like loop them, pause them, etc. There's a free evaluation you can check out if you like.

Jarrod S.
National Instruments
0 Kudos
Message 2 of 4
(5,565 Views)

Thank You very much Jarrod!

About VeriStand 2011, is it possible to migrate a project directly from VeriStand 2010 to 2011 or are known compatibility issues?

Thanks Again

Monica

0 Kudos
Message 3 of 4
(5,538 Views)

Projects from VeriStand 2010 can be opened directly in 2011. Make sure to make a backup copy to be safe, however, because once saved in 2011, the projects generally can't be loaded in 2010 anymore.

 

The only compatibility issue to be aware of is that there is no way to migrate legacy stimulus profiles from 2010 to the new Stimulus Profile system in 2011. You have to create them from scratch. However, the legacy stimulus profile system is still there in VeriStand 2011, so you can still edit and run any legacy stimulus profiles.

 

 

Jarrod S.
National Instruments
0 Kudos
Message 4 of 4
(5,464 Views)