-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
122 additions
and
2,004 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RealTimeSequence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<FileFormatVersion Major="2012" Minor="0" Fix="0" Build="0" /> | ||
<Version Major="1" Minor="0" Fix="0" Build="26" /> | ||
<References> | ||
<Reference> | ||
<Path><VeriStand>:\nivs.lib\Sequence Library\Standard\Timing\Wait.nivsseq</Path> | ||
<Alias>Wait</Alias> | ||
</Reference> | ||
</References> | ||
<Variables> | ||
<ReturnType> | ||
<Identifier>Pass</Identifier> | ||
<DefaultValue xsi:type="BooleanValue"> | ||
<Value>false</Value> | ||
</DefaultValue> | ||
</ReturnType> | ||
<Parameters> | ||
<ParameterDeclaration> | ||
<Identifier>EnginePower</Identifier> | ||
<DefaultValue xsi:type="BooleanValue"> | ||
<Value>false</Value> | ||
</DefaultValue> | ||
<EvaluationMethod>ByReference</EvaluationMethod> | ||
<DefaultAssignment Path="Aliases/EnginePower" /> | ||
</ParameterDeclaration> | ||
<ParameterDeclaration> | ||
<Identifier>DesiredRPM</Identifier> | ||
<DefaultValue xsi:type="DoubleValue"> | ||
<Value>0</Value> | ||
</DefaultValue> | ||
<EvaluationMethod>ByReference</EvaluationMethod> | ||
<DefaultAssignment Path="Aliases/DesiredRPM" /> | ||
</ParameterDeclaration> | ||
<ParameterDeclaration> | ||
<Identifier>EngineTemp</Identifier> | ||
<DefaultValue xsi:type="DoubleValue"> | ||
<Value>0</Value> | ||
</DefaultValue> | ||
<EvaluationMethod>ByReference</EvaluationMethod> | ||
<DefaultAssignment Path="Aliases/EngineTemp" /> | ||
</ParameterDeclaration> | ||
</Parameters> | ||
<LocalVariables /> | ||
<ChannelReferences /> | ||
</Variables> | ||
<Code> | ||
<Setup> | ||
<Body> | ||
<Statement xsi:type="Block" Name="Turn on engine"> | ||
<Statement xsi:type="Expression"> | ||
<ExpressionString>EnginePower = true</ExpressionString> | ||
</Statement> | ||
<Statement xsi:type="Expression"> | ||
<ExpressionString>DesiredRPM=1000</ExpressionString> | ||
</Statement> | ||
</Statement> | ||
</Body> | ||
</Setup> | ||
<Main> | ||
<Body> | ||
<Statement xsi:type="WhileLoop"> | ||
<AutoYield>true</AutoYield> | ||
<Body> | ||
<Statement xsi:type="Expression"> | ||
<ExpressionString>DesiredRPM=DesiredRPM+1000</ExpressionString> | ||
</Statement> | ||
<Statement xsi:type="Expression"> | ||
<ExpressionString>Wait(5)</ExpressionString> | ||
</Statement> | ||
</Body> | ||
<LoopTest> | ||
<ExpressionString>EngineTemp<85</ExpressionString> | ||
</LoopTest> | ||
</Statement> | ||
</Body> | ||
</Main> | ||
<CleanUp> | ||
<Body> | ||
<Statement xsi:type="Block" Name="Turn off engine"> | ||
<Statement xsi:type="Expression"> | ||
<ExpressionString>EnginePower = false</ExpressionString> | ||
</Statement> | ||
<Statement xsi:type="Expression"> | ||
<ExpressionString>DesiredRPM = 0</ExpressionString> | ||
</Statement> | ||
</Statement> | ||
</Body> | ||
</CleanUp> | ||
</Code> | ||
</RealTimeSequence> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<StimulusProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<FileFormatVersion Major="2012" Minor="0" Fix="0" Build="0" /> | ||
<Version Major="1" Minor="0" Fix="0" Build="0" /> | ||
<Setup Name="Setup"> | ||
<Step xsi:type="OpenWorkspaceStep" /> | ||
</Setup> | ||
<Main Name="Main"> | ||
<Step xsi:type="RealTimeSequenceCallStep"> | ||
<ParameterAssignments> | ||
<ParameterAssignment Name="EnginePower"> | ||
<Value xsi:type="SystemDefinitionChannelResource" Path="Aliases/EnginePower" /> | ||
</ParameterAssignment> | ||
<ParameterAssignment Name="DesiredRPM"> | ||
<Value xsi:type="SystemDefinitionChannelResource" Path="Aliases/DesiredRPM" /> | ||
</ParameterAssignment> | ||
<ParameterAssignment Name="EngineTemp"> | ||
<Value xsi:type="SystemDefinitionChannelResource" Path="Aliases/EngineTemp" /> | ||
</ParameterAssignment> | ||
</ParameterAssignments> | ||
<SequencePath>jiahui_stimu_while.nivsseq</SequencePath> | ||
<Target /> | ||
<OutputEvaluation xsi:type="BooleanEvaluation"> | ||
<Invert>false</Invert> | ||
</OutputEvaluation> | ||
</Step> | ||
</Main> | ||
<CleanUp Name="Clean Up" /> | ||
<ResultsDirectory>Test Results</ResultsDirectory> | ||
</StimulusProfile> |
Binary file not shown.
Binary file not shown.