Hi Sir,
I am not sure there is a tool or method, to control the sourcecode version in teststand.
Just like Git or SVN.
Thanks.
Hi Sir,
I am not sure there is a tool or method, to control the sourcecode version in teststand.
Just like Git or SVN.
Thanks.
I have a SequenceA and a SequenceB and also some SubSequenzes like SetTime, SetGetTime, GetTime
Now I would like to pass a sequence as a parameter such as SetTime
Example:
SequenceB.Parameters.TimeSesequence (TimeSeuqenz is the method call for SetTime, GetTime, SetGetTime)
Ist this possible?
My VeriStand project has a "custom device" in which I can configure "HW name (e.g.)" field in “Custom Device Item Settings” from System Definition using System Explorer window. I would like to configure it from TestStand, not from VS. Is it possible? If so, how? I was looking at some documentation that talks about the .NET APIs and “NationalInstruments.VeriStand.SystemDefinitionAPI.dll”. But there is no real instructions how to do this in TS.
I know how to call a VS project in TS using "Open VeriStand Project" and "ASAM XIL" API. In this way, I can configure the values of the custom device channels. But here, I would like to configure the items in the system definition which is usually done before "Deploy" of a VS project.
Any help/advice appreciated.
Hello everyone,
We are using TS2010 for several years at board manufacturing tests.
A couple of months ago,we started to face with a deadlock at "removefrombatch" step of batchmodel.seq.
The deadlock situation is not repeatable in other words we can say it randomly occurs. If you are lucky and let's say you take 10 full test run, you may never face with the problem. And on the other hand if you have bad luck you can get deadlock 7 out of 10 test runs.
I am calling it as a "luck" to humorize the situation, Actually I am trying to figure out the real reason of this problem.
Is there anyone to give some idea at least I can investigate more.
Not: Although we have using batch model, in this test scenario there is only one UUT.
We are running test on Single PASS execution entry point.
Can I call a Teststand file stored in a folder then add it as a sequence file in already existing set of sequence files.
Good day,
We have two test jig PC's running TestStand, and they started giving a run-time error on the same day.
Here is the information of the run-time error pop-up window:
* Details:
Sequence: MainSequence
The file format is incorrect near the section 'Locals'. Make sure that you are using start and end markers correctly.
* Error Code:
-17100; Incorrect file format.
* Location:
Step 'xxx' of sequence 'MainSequence' in 'yyy.seq'
Could you please assist us? This is crucial for the production of our devices.
Kind regards.
In the example below, you can insert VIs into an interface's subpanel if it's an absolute path or if it's in a project. Does anyone have an example where a VI is in a packed project library and then the VI is inserted into a subpanel?
So in TestStand, the VI path might be c:\ppl.lvlibp\test.vi
How do I get test.vi into my subpanel using similar code to the example?
Hi everybody,
Is possible enable or disable data base results (located in result processing) in PreUTT seq?
I know that in main sequence i can use DataBaseOption callback to change that and it works, but i need select enable or disable in every sequence, this is the resason i want to change option in PreUTT seq of model
Thanks,
I have only Teststand 2017 license. Is there a way to import sequence written in Teststand 2019 into Teststand 2017? Getting below error when opening the sequence in 2017 Teststand
Hi,
I'm getting a strange error I have a few TestStand sequences on a machine. The system has 2 windows accounts on it. One account can run all the sequences in run-time mode while the other has issues loading some of the VIs in run-time. The search directories match up and I already did a mass compile which worked since they run on the other windows account.
Any one run into something like this?
Thanks,
# TestStand 2017 SP1, 64-bit
# OS: Windows 10, 64-bit
I am trying to deploy a test system which uses Python Step Types for TestStand (v.1.0.1). I am able to successfully install the test system on the test machine, but it throws error -17500, exactly as it appears in this KB article:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Wf3SAE&l=sv-SE
I am not using NI hardware, so there is no point (as far as I can see) in "resetting NI hardware" per the above KB article.
I am using Python 3.6.8, 64-bit, which I even tried re-installing per another KB article.
I have deployed Python Step Types for TestStand with the test machine as part of the image generated in TSDU and have run the "NIPythonAnalyzerRegisterUtil.exe" on the test machine as advised by the Python Step Types documentation.
An interesting item is perhaps that when Python is not added to the system path, the test is much quicker to fail with error -17500. If Python _is_ added to the system path, it takes several seconds for error -17500 to appear.
we are developing an application, considering using Compact Rio with LabVIEW and Test stand, will it work ?
Hey guys,
I am quite new in TestStand and I am developing a sequence where I use MQTT protocol. When I lose Internet connection, the MQTT connection step takes too long when there is no connection.
I would like to control the execution time of the step and if it takes more than a specific time introduced by me, just skip the step because it will not connect anyway.
I found the way to see the execution time of the step this way:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8tKSAS&l=en-GB
But I don´t know how to implement it in the step settings.
Thanks
Hi!
I am using TestStand 2019 f2 (19.0.0.170 32 bit), python 3.7 on Windows10.
I am traying to call a tkinter GUI app in python with operation type Call Method.
I get the following:
<class 'IndexError'>
list index out of rangeCall Stack information:
File "c:\users\?\teststand\test-stand-base\teststand\python code modules\monitor\source\monitor.py", line 80, in test_stand_entry
root = tk.Tk()
File "C:\Users\?\AppData\Local\Programs\Python\Python37-32\Lib\tkinter\__init__.py", line 2018, in __init__
baseName = os.path.basename(sys.argv[0])IndexError: list index out of range
The sys.argv[0] should be the script file full path, and is not set by testStand for some reason. My Adapter settings are:
Python Interpreter: Global, without any virtual env.
Best regards
Hi
We are developing a production test system based on:
We already have two MSI deployments for almost all parts (including runtimes for TestStand and LabVIEW), based on NI's best practices:
We are now trying to figure out if we can include the installation of python and pyserial in our MSI deployment.
Specifically, the production machines must have the following installed:
What is the recommended way to achieve this?
Hi,
I am developing a step type where the error information are set via function parameters.
e.g:
int DLLEXPORT DLLSTDCALL Test ( int *iErrorCode, char *sErrorMsg, int *bErrorOccurred )
{
*bErrorOccurred = TRUE;
strcpy(sErrorMsg,"test");
*iErrorCode = iError;
}
The iErrorCode appears but the "test" sErrorMsg is replaced by "Error executing substep 'Post'. User-defined error code." in Run-Time Error popup.
sErrorMsg is passed correctly into TestStand, beacuse I can see the expeted message if *bErrorOccurred is set to False (step status is not Error).
How can I have my custom error message in Details section of te Run-Time Error popup.
Thanks
Hello Community,
I am using TestStand 2017 32-bit.
Is there a way to determine which key was pressed on the keyboard or mouse click in a Post-Expression?
Thank you
Hi all
I want use teststand insert AutoItX3Lib class invoke three-party software and virtual press key for the software,How to fix this issue,and who have work experience for the problem,any point is appreciated,thanks!
こんにちは。
タイトルの通りのエラーが出ます。
[Eoor Code: -18001]: An error occurred accessing the LabVIEW ActiveX automation server.
使用しているTestStandは
User Interface Ver.16.0.0
TestStand Engine Version 2016(16.0.0.185) 32bit
です。
通常のTestStandでは問題なく動作するのですが、
User Interfaceになるとエラーが起こります。
User Interfaceでは使えないモジュールがあるのでしょうか?
(その逆もまたしかり)
ご協力をよろしくお願いいたします。
以上
Hallo zusammen
Ich bin relativ unerfahren was PXIe Systeme und TestStand angeht. Ich habe folgendes Problem:
Ich habe ein PXIe-System mit welchem ich einen digitalen Output generieren möchte. Dazu verwende ich auf Slot 2 eine NI PXIe-6341 Karte. Ich habe das ganze in LabVIEW auf meinem Laptop getestet. In LabVIEW kann ich mich ja realtiv einfach mit dem PXIe verbinden in dem ich in meinem Projekt auf das Target drücke und dann "Connect". Danach kann ich das VI aufrufen und der entsprechende digitale Output schaltet.
Jetzt möchte ich dieses VI mit TestStand aufrufen. Jedoch habe ich da Probleme. Ich habe gelesen, dass man per "Advanced Settings" das VI auf dem Remote Computer laufen lassen kann. Auf dem Laptop sind die Einstellung gesetzt (LabVIEW / Tools / Options / VI Server / TCP/IP aktiviert / Machine Access ist die Addresse vom PXI drinn). Wenn ich den TestStand Schritt nun laufen lasse, dann bekomme ich nen Fehler von wegen: "The network connection was refused by the server".
Hat da jemand Erfahrung ob das Ganze überhaupt möglich ist oder was ich noch konfigurieren muss?
Gruss
Nicolas