I use the batch model in Teststand 2014 and in the cleanup of the mainsequence i want to show pupup message depending on the stauts ("Failed, Passed, Terminated or Error") of the mainsequence at that moment.
How can i do this ?
Thanks in advance.
I use the batch model in Teststand 2014 and in the cleanup of the mainsequence i want to show pupup message depending on the stauts ("Failed, Passed, Terminated or Error") of the mainsequence at that moment.
How can i do this ?
Thanks in advance.
Hey guys
I use a plugin to retrieve some data in hex as shown in the report.
I use a CSP String Value Test. What must I do in order to convert this HEX number to Decimals? Something with the DataSource tab?
Thanks in advance!
Hi,
I found the menu bar (it has some menu such like "File", "Edit" ... "Help") in TestStand 2014 are missing and no matter what I did it just won't show up, I tried alt + C, and the options in below picture, could anyone help me on this? Thanks!
Hey guys
I'm seeking guidance for a problem of this scale;
"Verify if the PCBA is special unit by looking at word 0 in the KeyPath. If it is 0000, STOP sequence, else continue to next step"
I'm using an external plugin to extract this data. How do I save this data in a local or global variable? Then I think I am able to write something like "Locals.Test = 0000" then STOP/BREAK or something?
How would I do so? Please advice. Thank you in advance! 🙂
BR Andedam
Hi All,
I couldn't find clear instruction how to connect to remote TestStand engine from C#?
Thanks
Mike
Hello folks
I am currently trying to implement an IF condition for my sequence.
I use a function to extract this byte, which I save in a fileglobal as "Word0", as shown here:
I then want to take this IF condition, but it seems like I am using the wrong syntax
Neither of this seems to be working, as the IF statement evaluates FALSE in the report.
What am I doing wrong? I saved the Word0 as a FileGlobal and String.
Thank you in advance! BR Andedam 🙂
Hello folks
I am currently stuck with a task, where I must convert a HEX output to a decimal value.
In example I receive this string from my function, which I save as a local variable:
locals.SoftwareVersion = step.result.string
I now need to convert this hex value to the decimal value 0.05.26 with DOTS, and print it to the report. What is the procedure?
Thank you in advance!
Hi guys
I don't understand why my IF statement is not working. From the function I declare the variable "Word0 = Step.Result.String"
Which yields "CAFE" in HEX
I then use an IF statement to check the first two HEX of the Word0;
Why is my IF statement returning false? As far as I understand, the syntax yields "no errors" and should check the Word0 for the First Two letters, to see if the word has 'CA' in the beginning, which it does
If Statement should yield "true"
BR Andedam. Really hope some1 can enlighten me
Hi,
We have several custom steps in different folders under Templates (TestStand 2019). When a user drops a step from the template onto the sequence, I want to be able to run code that verifies that the name of the step dropped into the sequence is not used anywhere else in the sequence. Is there a call back sequence I can use to do the same and then have code in the callback to do this? Or some other method?
For example: I have StepType1 in the Templates folder, when I drag and drop this into the sequence, the name of the step will be StepType1.
If I put another instance of this step in the sequence, it should be renamed to StepType1_Something.
Thanks
Hi,
I am trying to execute a sequence using the TestStand API using javascript.
My html code is as follows:
<!DOCTYPE html>
<html>
<head>
</head>
<body onload="CreateTestStandEngine()">
<p>
<object classid="clsid:B2794EF6-C0B6-11D0-939C-0020AF68E893" id="TSEngine" height="300" width="300"></object>
<button type="button" onclick="RunSeq()">Run Sequence</button>
</p>
</body>
<script type="text/javascript">
var TestStand_Engine;
function CreateTestStandEngine(){
try{
TestStand_Engine = document.getElementById("TSEngine");
console.log('TestStand Engine version >> ' + TestStand_Engine.VersionString);
console.log('TestStand Engine UniqueEngineID >> ' + TestStand_Engine.UniqueEngineId);
}
catch(e){
alert(e.message);
}
return (TestStand_Engine);
}
function RunSeq(){
try{
var Seq = TestStand_Engine.GetSequenceFileEx('C:\\Users\\Public\\Documents\\National Instruments\\Seq1.seq',107,1)
var Exec = TestStand_Engine.NewExecution(Seq,'MainSequence',null,false,0x10,null,null,null);
Exec.WaitForEndEx(-1);
TestStand_Engine.ReleaseSequenceFileEx(Seq, 0x0);
}
catch(e){
alert(e.message);
}
return
}
</script>
</html>
I am using Internet Explorer as browser and TestStand Engine Version 2019 f2 (19.0.0.170) 32-bit
The issue arises when I execute the javascript function 'RunSeq()'.
error code -2147352571
Thanks in advance for any help.
Regards
Hello all,
We are holding the 5th iteration of UKTAG - the user group that focuses on TestStand as much as LabVIEW on Friday, the 28th of August.
Agenda and further details can be found at https://lnkd.in/dMJRQzv
To join online please use http://bit.ly/UK_TAG5
We hope to see you there!
Regards,
Vikas
Is there a way to get all dependencies (dll's, vi's,...) of a sequence file in c# without workspaces?
Hello,
I have been using ActiveX Excel(16.0) in teststand(2016 SP1) for several years. Except that for a few days it no longer works.
There is an error message:
"Create New Object" in automation call failed (see attached file)
I did the test on another PC it works perfectly
Do you have any idea?
thank you
I may application i have 5 testsockets. The user can enable/disable testsockets. Which variable holds the total number of enabled testsockets ? I seen only the Runstate.TestSockets.Count (total number of testsockets) and RunState.TestSockets.MyIndex (current active testsocket number)
For an application i use the batch model with 7 testsockets
A few sub sequences use the batch option "One thread only". When this sequence fails/error i get this error message from the other testsockets
-17500 - Error message: An error occurred while performing batch synchronization on the step. The thread that entered the One Thread Only synchronized section that this thread is waiting on reported a run-time error while inside of the section.
How can i avoid this errormessage and what exactly does this mean ?
Hello Team,
Facing an issue while bursting patterns dynamically from NI test stand sequence and getting below error for all the patterns even though those patterns don’t have that label.
Error Code: -1074118589
Actions taken:
Issue got resolved after controller restart and unloading all modules from NI test stand.
Observations:
Getting the same error whenever loading the patterns dynamically first time from NI test stand.
Please find the below error snapshot
Hello everybody,
is it possible to get all the step types used by a sequence already in the PreUUTLoop?
Thanks for your help.
Hi. How to set Caller's ReportText in TS2019? RunState.Caller.Step.Result.ReportText from older versions doesn't work...
Hi Sir,
My teststand will generate the xml test report, can see the total test time.
But i want to breakdown the test time, and see it for each step.
How to config it, then the test report will record the test time for each step ?
Thanks
Error -1073807343 occurred at VISA Open in LeCroy Wave Series.lvlib:Initialize.vi
Possible reason(s):
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
I get this error when i am trying to connect to Lecroy scope with TestStand.
I have installed VI Passport application and Xstream browser after looking into some of the earlier posts, but I am still having trouble connecting it.