Hi All,
I like to assign array values to container in teststand
kindly help me to solve
thanks in advance
saran
Hi All,
I like to assign array values to container in teststand
kindly help me to solve
thanks in advance
saran
Not sure I understand the question but here goes.
If you have a TestStand Container (Locals.MyContainer) which has two fields, Num1 and Num2 which are Numbers and you also have a TestStand Array of Numbers.
To pass the element0 of the array to Num1 of the container use
Locals.MyContainer.Num1 = Locals.MyArray[0]
Hope this answers your question.
To set the value to (from Container).
If you have a Container which has two fields Num1 and Num2 and you want to pass data from an array
Use:
Locals.MyContainer.SetValNumber("Num"+Str(Locals.Index+1),0, Locals.MyArray[Locals.Index]) (I have made the assumption that my types are numbers)
Now I have made my field names and types easy for me to do this.
You can use
Locals.PropName = Locals.MyContainer.GetNthSubPropertyName("", Locals.Index, 0)
Then use Locals.MyContainer.SetValNumber(Locals.PropName,0, Locals.MyArray[Locals.Index]). Again I am making the assumption that my types match.
hope this helps
Hello,
I'm new in testStand, and I'm doing the developing test programs using teststand course. And I'm trying to do the solar secuence test.seq.
I have : setup / main / cleanup.
And when I execute> rain main secuence, I obtain this error: (image)
I have already run the setup.bat how the exercices file says.
Could you help me please?
Hello
I have the same problem for the same exercice. (Solar test Sequence)
I have done the stepts that the link says , but when i execute the .seq in teststand I'm obtaining the error again.
I'm using testsstand 32 bits and Labview 32 bits.
I have already obtained my answer.
In this item
https://forums.ni.com/t5/NI-TestStand/Problem-with-Labview-VI-s/m-p/3570671
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8XnSAK
I have already solved
Thanks for your help.
Hi Community,
I have a VI which I'd like to call hundreds of time with different parameters. The parameters are:
So I have the following structure:
MAIN_TEST_CLUSTER
--------------------------------[0] TEST 01
----------------------------------- Switching_Cluster
----------------------------------- Limits_Cluster
--------------------------------[1] TEST 02
----------------------------------- Switching_Cluster
----------------------------------- Limits_Cluster
etc.
The problem I have is that the limits cluster is not completely unique for each test, but it is actually one of the 10 predefined set of limits. Instead of hardcoding the limits into Test 01, Test 02 etc I'd like create a reference to an array outside of my main test cluster to LimitSet[x].
Having this makes sure that I can easily roll out a change in the limitset because I have to change it at one place only. What would be the right approach to do this in TestStand?
thanks!
ps: I only can hope that my description was clear enough, but let me know if not.
I am trying to query by a model number which I know exists in my SQL table. When I run the query in SQL management studio and in the NI Database viewer the result is returned as expected but when I try and execute the same query via an open SQL statement in teststand no results are returned in the following Get Data Operation
Hey Daniel did you ever resolve this? It sounds like a similar issue to the one I’m experiencing where my data operation returns no results but I know it should.
is this test case for old NI test executive?
but I still could not find any Doc. talk about this.
I think it is control. like cmd field maybe is for calling each vi.
but I did not understand each "; " means inside the cmd.
Thanks
There is a new feature in TS 2017 called Data Streams that would probably be useful for this:
https://zone.ni.com/reference/en-XX/help/370052W-01/tshelp/infotopics/2017whatsnew/#Data
Hope this helps!
Trent
Hi 1984-
The TestStand Property Loader Step would also be a reasonable approach (see a simple example attached - saved in TestStand 2016). There are also several good shipping examples demonstrating its use (located in the <TestStand Public>\Examples\Built-In Step Types\Property Loader Step Type directory).
-Jeff
Is there a way to copy an existing .tsd deployment file to save time from having to reconfigure a new full deployment but reset the version number to 1.0.0? It seems the deployment when copied will only let you start from an incremented state, 1.0.1 for example. If I've released a build and made a quick fix, wanted to rebuild at 1.0.0, is this possible without having to totally reconfigure the deployment from scratch?
There's not any way to do this currently. Part of the reason for this is that reverting back to a previous version of an installer can cause installers to have potentially unexpected behavior. See this doc for more specific details:
Upgrade Codes That Affect Installer Behavior
In short, the generated installer would have the same upgrade code by default, but an earlier installer version than the one you've already released.... meaning you can't run the installer without first uninstalling the existing one.
You could get around this by generating a new upgrade code, but unfortunately TSDU still has the limitation of not being able to revert versions.... so the current answer to this is to use version control (SCC, SVN, etc..) to keep the 1.0.0 version of the TSD file, and make sure you use a different upgrade code if you reuse the TSD file for multiple installers.
-Trent
I'm doing the training couse of teststand.
Could anybody help me with this error please?
Thanks so much.
Hi Trent,
Thanks for giving up your time to look into this, much appreciated. I only have 3 VI's in my sequence that I need to edit so the "Activate" property solution will work in my case.
I will look into posting on the LabView idea exchange as you suggested.
Best Regards,
Sean
It's possible to do this using a combination of Batch Synchronization steps and some kind of shared variable. I've attached a simple proof of concept.
Only one socket will actually run the code inside of the Batch section, which retrieves values for all sockets and stores them in a local variable that has the shared flag set:
Each Socket runs the next step and publishes results based off of the socket index:
This probably isn't the only way (or the best way) to do this. For Example: TestStand Semiconductor Module has similar functionality built into its custom step types, effectively doing the same as above, but abstracting it away from the user because it's done in pre-step and post-step substeps of the step type.
Hope this helps!
Trent
zy6,
It's hard to answer your questions with the limited information given in the VI. I would suggest trying to reach out to the software engineer who developed this VI for those answers.
Hi,
I am using simple user interface and customized for my requirement. I have issue when i click the exit buttons. The user interface hangs and it will go to not responding state. How to fix this error and what is the cause for this issue.
Regards,
Anand