02-17-2015 11:05 AM
Eisuke,
The Stimulus Profile is very similar to a light TestStand. Both run on the host pc, but TestStand is far more powerful. In addition, Stimulus Profiles cannot be called in a parameterized way, so they cannot be reused in a modular way.
Using variables is a workaround that might add some parameter passing capability to calling Stimulus Profiles, but as you said it is cumbersome.
The way we normally recommend is to use TestStand steps for most of the logic, and have TestStand call RT Sequences for deterministic tasks. Since the Stimulus Profile is less flexible, we recommend using TestStand instead of it if you can. The combination of TestStand and the Stimulus Profile should allow the greatest amount of functionality with the least pain in setting it up.
If your customer already has a library of Stimulus Profiles he wants to call from TestStand, there are two ways to go forward. One is to use the method he is using, of using user channels to pass values to and from the Stimulus Profile (or more likely to the RT Sequences that the Stimulus Profile calls). The other method is to rewrite the logic in TestStand.
Will this work for your customer? If not, please explain more about what he is wanting to do, and I can give more specific recommendations.
Best Regards,
Andrew
02-17-2015 11:02 PM
Hi Andrew.
Thank you.
Very Clear to me.
I guess the customer as well.
Thank you for your very kind support.
Best regards.
Eisuke Ono
02-17-2015 11:23 PM
Hi Andrew.
Thank you for your kind support.
Let us confirm one more things.
>>The other method is to rewrite the logic in TestStand.
I am very happy if you tell us how to concretely rewrite the "logic"?
Best regards.
Eisuke AE at NIJ.
02-26-2015 03:59 AM
Hi Andrew.
Our customer's in Japan, have following system requirements.
- A test system which runs during night or even on holidays.
- They would like to log the test results per test unit
- ATML file is generated per a stimulus profile so they would like to run stimulus profile from teststand.
They have following questions regarding the veristand steps.
1. Is it possbile to pass the return value from "RT Sequence Pass Fail Test" to Teststand variable? If possible, how?
2. Is there a parameter which determines the logging period (delta-t) for Start VS logging?
As a background, Start Logging Step for stimulus profile step could determine logging period (once a sec or 10 times a sec etc.) for logging steps so they compare it to teststand.
3.Is it possible to run several logging period using "Start VS logging"?
4. If "3." is possible, there should be a way to control which logging steps should be stopped using Stop VS logging?
5. "Open and Deploy RT sequence" is the recommended way to run Real time sequence?
They are asking the usage of "Pause RT Sequence" and "Abort RT Sequence" and "Stop RT Sequence".
6. "Get Sequence Return Value" steps get return value from Real time sequence.
Is this getting value from the Real time sequence, executed right before "Get Sequence Return Value"?
7. Is it possible to pass from "Get Sequence Return Value" to teststand variable?
I really appreicate your cooperation though, I understand you are busy.
Best regards.
Eisuke Ono
NIJ AE.
02-26-2015 10:42 AM
Hello Eisuke,
Best Regards,
Lynn
02-26-2015 04:50 PM
I realize this is a very new Step Type Library and most of the functionality is pretty straight forward, however I have parsed through the discussions but have found nothing clear on how to get the "start stimulus profile session" to work.
I have seen discussions where someone said it works and others where someone said it won't work. I've tried the "NI VeriStand - Run Stimulus Profile.vi" from the "Run Stimulus Profile.llb" and the "Start Stimulus Profile Session" step type from the "Low-Level RT Sequence Controls" of the "NI VeriStand Step Types" for VeriStand 2013 SP1.
I am using VeriStand 2013 SP1, TestStand 2013 SP1, and LabVIEW 2013 (32-bit).
I can start my profile, which consists only of a VeriStand sequence which waits for a logging flag to be asserted and a set of parameters to log, and run it manually without issue.
02-27-2015 10:39 AM
Hi tfelber,
The step you are needing to use is the Run Stimulus Profile (or the async version) step in the Low-Level Stimulus Profile Control folder in the Advanced section. This will allow you to run a stimulus profile.
One item to understand is that TestStand was meant to replace the need for creating Stimulus Profiles. Instead it is recommended that you generate all non deterministic portions of your test in a TestStand sequence. Then, for any deterministic actions, use a real-time sequence to define this behavior. This will then allow you to RT Sequence Numeric Limit Test, RT Sequence Pass Fail Test (both in the VeriStand Tests folder), or the RT Sequence Action step (in the RT Sequence folder).
Best Regards,
Lynn
03-01-2015 06:11 PM
Hi Sarci1.
Thank you for your quick response and kind support.
Our customer added some comments on the questions 1.
Instead of our customers, I asked following questions.
>>1. Is it possbile to pass the return value from "RT Sequence Pass Fail Test" to Teststand variable? If possible, how?
Sorry I misunderstood customer's intention. So the questions above "1." is a bit differenet than they thought.
Actually they were asking if they can control to run stimulus profile from Teststand and pass data to Teststand.
Is it possible to control to run stimulus profile from Teststand and pass data to Teststand?
I noticed that the comments above.
"One item to understand is that TestStand was meant to replace the need for creating Stimulus Profiles. Instead it is recommended that you generate all non deterministic portions of your test in a TestStand sequence."
But, I am a bit confused.
If the customer have already created many stimulus profiles, they can not re-use them.
Is there a way to control to run stimulus profile from Teststand and pass data to Teststand?
Best regards.
Eisuke.
03-02-2015 10:12 AM
Hi Eisuke,
Like I mentioned in the previous post you can use the Run Stimulus Profile step to run an already existing stimulus profile. At this point we don't have support for passing the execution results for stimulus profiles back to TestStand. The customer has the option to work with their local support engineers to modify the existing step to add this feature.
Best Regards,
Lynn
03-02-2015 02:20 PM
I have tried the Run Stimulus Profile step with no success. What I am trying to do in the stimulus profile is log a bunch of channels I. Realtime. I can't think of a way to do this from TestStand. I also want the ability to start/stop logging, which I implemented using a discrete trigger. Since there is no looping functionalty in the stimulus profile and the veristand sequence can't start logging I have just created a multitude of "Wait for Trigger (True)", "Start Logging", "Wait for Trigger (False)" statements.
I have also noticed some annoying behavior within the stimulus profile editor, such as:
- Shift Select doesn't select block of lines, only the first line and the current line
- Ctrl Select selects a combination of lines but when you paste they are pasted in the order they were selected rather than the order in the selected block.
- Paste can only be done at the beginning of a section.
Thanks,
Tony