IStimulus.GetStimulusProfileResult Method
- 已更新2023-02-21
- 閱讀時間為 2 分鐘
Gets the results of the last stimulus profile that ran on the target, including whether it passed, failed, or received an error.
Namespace:
NationalInstruments.VeriStand.ClientAPIAssembly: NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Function GetStimulusProfileResult ( _ <OutAttribute> ByRef result As StimulusResult, _ <OutAttribute> ByRef file_result As String _ ) As Error |
| C# |
|---|
Error GetStimulusProfileResult( out StimulusResult result, out string file_result ) |
| Visual C++ |
|---|
Error^ GetStimulusProfileResult( [OutAttribute] StimulusResult% result, [OutAttribute] String^% file_result ) |
Parameters
- result
- Type:
NationalInstruments.VeriStand.ClientAPI.StimulusResult
%
The StimulusResult of the stimulus profile.
- file_result
- Type:
System.String
%
The file name of a.csvfile containing the results of the last stimulus profile file that ran on the target.
Return Value
Returns an Error object. If no error occurs, the Code property of the Error object is 0.
Remarks
The method is valid for the original version of the NI VeriStand Stimulus Profile Editor only. In NI VeriStand 2011 and later, this method is maintained for compatibility purposes. Use the members of the Stimulus Profile Execution API to interact with stimulus profiles in NI VeriStand 2011 and later.