Quantcast
Channel: NI TestStand topics
Viewing all 6527 articles
Browse latest View live

logging custom UUT to Database in TS2012

$
0
0

Hi :

 

    Because user required more information such as  PCB version,Process ID... in UUT container , so I creat a custom datatype My_UUT to replace UUT default. After  modified UUT in NI_databaselogger.seq in TS41 and TS2010, I can add PCB Version and Process ID in "Database Option dialog:Columns and Parameters"  and in the "Expression Borrows" dialog, logging.uut has been changed as My_UUT.

 

    But in TS2012, after modified UUT in NI_databaselogger.seq,  the logging.uut  was still kept as default UUT. How can I change it???


Add PostUUT callback programatically ?

$
0
0

Hi there. 

 

I want to ocassionally add a PostUUT callback override sequence to a client sequence however I need to do this programatically from within an operator interface.

 

Anyone tried this or know if it can be done ?

 

Regards

Chris

How to add checkmark to menu item

$
0
0

I am using TestStand 2012 and LabVIEW 2012. 

I am modifying the Full UI.  I have added a Menu item to the Debug menu (Activate Debug Mode).

 

The user should click on this menu item to activate the "Debug Mode" and then click on this menu item again to deactivate the "Debug Mode"

I would like to have a checkmark appear next to the menu item when the "Debug Mode" has been activated. I don't see this in any of the documentation or the knowledge base articles I have found thus far.  How do I accomplish this? Are there any examples?

 

Thanks,

D Johnson

customizing test step types

$
0
0

I'm wanting to add some custom step types such that they're seen when I right-click (in TestStand) in a sequence and select "Insert Step",  So right now, when I do this, I see "Tests" and "Action", then "Sequence Call", then "Statement", etc.  There is a little grouping bar between 'Action' and 'Sequence Call'.  What I would like to do is add some custom step types above 'Tests' and 'Action' that would be in their own grouping. 

 

I noticed that TestExec.ini has some of the information I'm looking for, i.e. TypeGroups[1] below, but I'm thinking that I'm not supposed to directly modify this file (or am I?).  What's the best way to go about this cusomization?

 

[DEF, Config.TypeGroups[0]]
ForSubsteps = Bool
SuperGroup = Str

[DEF, Config.TypeGroups[1]]
SuperGroup = Str
IsSubMenu = Bool
DisplayName = Str
Hidden = Bool
Separator = Bool
Types = Objs
%NAME = "Tests"

[Config.TypeGroups[1]]
IsSubMenu = True
DisplayName = "ResStr(\"NI_STEPTYPES\", \"TEST_TYPE_MENU_NAME\") "
%HI: Types = [3]

[DEF, Config.TypeGroups[1].Types]
%[0] = Obj
%[1] = Obj
%[2] = Obj
%[3] = Obj

[DEF, Config.TypeGroups[1].Types[0]]
Hidden = Bool
%NAME = "PassFailTest"

[DEF, Config.TypeGroups[1].Types[1]]
Hidden = Bool
%NAME = "NumericLimitTest"

[DEF, Config.TypeGroups[1].Types[2]]
Hidden = Bool
%NAME = "NI_MultipleNumericLimitTest"

[DEF, Config.TypeGroups[1].Types[3]]
Hidden = Bool
%NAME = "StringValueTest"

[DEF, Config.TypeGroups[2]]
SuperGroup = Str
IsSubMenu = Bool
DisplayName = Str
Separator = Bool
Hidden = Bool
Types = Objs
%NAME = "Action"

[Config.TypeGroups[2]]
DisplayName = "ResStr(\"NI_STEPTYPES\", \"ACTION_MENU_ITEM_NAME\")"
%HI: Types = [0]

[DEF, Config.TypeGroups[2].Types]
%[0] = Obj

[DEF, Config.TypeGroups[2].Types[0]]
Hidden = Bool
%NAME = "Action"

Additional Results - ASCII Report Format

$
0
0

Hello All,

 

When using "Additional Results", and having an ASCII Report Format, how do you increase the "Name" beyond 26 characters?

 

Its like there are 2 invisible columns, to accomodate for "Name" and "Value to log", but you can only use a 26 character Name, before you enter the second column.

 

Any ideas?

TestStand Operator Interface keeps locking up on me after a successful thread test

$
0
0

I have an application that now locks up on me when it executes. It is a mutiple position test set, that uses a batch model that now hangs after a position completes its execution, but only seems to happen with the executable. I can't call up the sequence because as you can see in the picture I have attached the entire operator interface is 'not responding'. Please note in the second attachment the 2nd instance of the application (HFTR60-2)???

 

Has anyone seen this type of behavior before??

Issue with Deployment package finding my file in SupportVIs directory and not the specified Destination directory

$
0
0

I have a small issue with a teststand installation package.  I have wrote some VIs to provide a wrapper around a custom DLL to provide error handling. These VIs use the following call library functions like shown below.

 

VIcall.jpg

 

After installing my application some of my VIs are finding my custom DLL in the correct destination directory and other parts are finding this in the Support VIs directory that the deployment creates. The issue is that the DLL must be installed in a specific directory because it uses other files that are in relative directories to this location.

 

Currently I get around this issue by running the installer and then manualy deleting the DLL file from the SupportVIs dirctory.

 

Does anyone have any suggestions on how to resolve this issue ?.

 

 

 

 

Deployment Screen shot

Deployment2.jpg

 

Disable Popup confirmation on station globals modified externally

$
0
0

Hi,

 

Is there any way to Disable the Popup confirmation Message saying the staiton globals are modified externally from TestStand?

 

Regards,

Ramjee V


Station Globals modified externally are not reflected

$
0
0

Hi,

 

I am having an UI developed in CVI(EXE1) which runs a teststand sequence. The flow of sequence is controlled by Station Globals.

 

The Station Globals i am trying to control from another user interface so that the flow in EXE1 will be exrcised. But some reason the updated station globals are not reflected in EXE1.

In the sequence i have used Engine.ReloadGloabls() but some reason the values are not reflected.

 

Anyone can help me out on this.

Accessing Build Version through API

$
0
0

I'm trying to find a way access the build version of my deployment through the API.  Currently I'm using TS 2011 but I plan to migrate to TS 2013 so I can wait until this migration if it is easier to achieve in 2013.  Has anybody done anything like this in TS?

Does TestStand ignore the mechanical action of Front Panel buttons?

$
0
0

Hello All,

 

  I have a previously created test VI that has several buttons on the front panel to initiate certain commands manually.  I would like to use this VI as a Code Module in TestStand so that I can automate the tests.  The parameters for each of the buttons are, of course, imported as Booleans.  I understand how to change the value of the parameter (from true to false) within the step setttings of TestStand, but it is unclear to me if setting the value to true is the same as clicking the button, or if it just ignores the button and sets the status of the Boolean to true.  If the former is true, do I need to go in and adjust the mechanical action of the buttons?  If the latter is true, would I need to create an additional action step to return the boolean value to the default, or is there another way to change it back within the same step?  Please advise.  Thanks in advance.

 

GSinMN    

Requirements Gateway OT-Script example

$
0
0

Hi,

 

I have written my own TestStand NIRG intermidiate file generator as a COM compontent.
Now i would like to integrate it in NIRG via the OT-Script.

I have created a new .br file placed a new Method inside there.

Well at the moment i see my Teststand convert tool in the convert tool's drop-down list in types editor panel.

 

Of course i am not famous with this kind of scripts.
In the other br files there is a lot of code, but there are no comments.
Is there a suitable example or documentation on OT-Scripts ?

 

Regards
Juergen

Requirements Gateway OT-Script example

$
0
0

Hi,

 

I have written my own TestStand NIRG intermidiate file generator as a COM compontent.
Now i would like to integrate it in NIRG via the OT-Script.

I have created a new .br file placed a new Method inside there.

Well at the moment i see my Teststand convert tool in the convert tool's drop-down list in types editor panel.

 

Of course i am not famous with this kind of scripts.
In the other br files there is a lot of code, but there are no comments.
Is there a suitable example or documentation on OT-Scripts ?

 

Regards
Juergen

Use the same code module for several steps in the sequence

$
0
0

Hello All,

 

  I have been trying to set up a sequence that uses the same code module for all of the steps in the sequence, but am having trouble referring back to it when I need to send it commands.  I have gotten as far as calling the VI in a new thread so that it can be run asynchronously.  I can run the simple sequence and it will indeed open the VI, and move on to the next step.  When I close the VI manually from the front panel, the sequence in TestStand completes, as expected.  So it appears that I have that much working. 

 

  My question is how to call the separate thread from the main sequence or other sub sequences when I need to edit the parameters.  If I insert an Action step, I am required to select a VI file, but from what I can tell, it opens a different instance of the file, and does not provide an interface with the other instance running asycronously.  My next guess was to use a Statement step, but I was not able to figure out how to configure the lookup string to call the VI parameters.  Beyond that, I'm not sure how to proceed.  Please advise.   

 

  My intention is to start the code module VI (asynchronously), run several different subsequences within the main sequence that call that same VI and edit it's parameters, close everything and report on the results.  If I am misunderstanding how TestStand is supposed to work, please let me know. 

 

Thanks,

GSinMN    

NI_VISA

$
0
0

Hello and let me thank anyone who might be able to help me.

 

Fisrt I was trying to follow the example in this link http://www.ni.com/example/29925/en/ to set an sequence that basically is a Serial port that may be reused by many different projects. When I follow the read me doc in the zip file I get alot of errors. Now I.m not sure if this is due to version incompatability or I'm missing something all together. The TestStand  Engine Ver is 2013(5.1.0.226) then Sequence Editor Ver is 5.1.0.226. Again any help would be aprreciated.


Reading the value of the "WaitForTarget" attribute of the Wait step

$
0
0

I am trying to access the  "Step.WaitForTarget" attribute for the Wait step but can't find the correct syntax to use in an expression or the correct API calls to use in an action step.  I intend to use this in an expression as I am looking for a specific value.

 

I have a object reference to the step that I am testing  (Locals.StepRef) and from that I have no issues reading the standard attributes like name, step type, preconditions, etc...

 

How do we access the special additional properties of the wait step ?

step into step over step out disabled while running

$
0
0

Hello all,

 

Step into, Step over and Step out are getting disabled whenever I run the sequence. Also Run Button is getting disabled after the execution breaks at break point.

Its very difficult to debug the code because of these isssues.

 

Is that anything to do with custom process model ? I use a third party process model. But in other PCs which are also using the same process model dont have these issues.

 

 

Correct way to include user.lib VIs in TestStand 2013 deployment

$
0
0

Hello,

 

I followed the instructions at http://www.ni.com/white-paper/9923/en/ to create a TestStand deployment. Step #3 says to set my Adapter to the LabVIEW RTE, which I did.

 

Unfortunately, TestStand is now unable to find the VIs in user.lib. My test sequence works fine when I use the LabVIEW Development System instead of the RTE.

 

What's the correct way to tell TestStand where to look?

 

Other notes:

  • My VIs are all under the same .lvproj
  • I've included the .lvproj file as a Code Module. I right-clicked the .seq file in the TestStand Workspace and selected "Insert Code Modules", and the .lvproj file appeared in the TestStand Workspace tree.

 

Thanks!

How to edit the Step status text

$
0
0

For example, I want to change the status result which is produced on a report from 'Passed' to 'GO' or 'Failed' to 'NOGO'. I know that you can edit the report colors for the result text in the Report Options menu, but I can't seem to find a way to edit the actual result text. I've also looked in the horizontal.xsl stylesheet to no avail.

"Continue" post action

$
0
0

I have a step in a For loop whose post-action I want to Continue (i.e., jump to the End step of the For block and continue looping [as in the "Continue" step type]) or to Break (i.e., break out of the loop by jumping to the End step and then executing the next step [as in the "Break" step type, not as in breaking execution]).  Is this possible?

 

I tried to put a Continue or a Break step in a subsequence that gets called as a post-action, but that doesn't work because the behavior of the Continue and Break step types is scoped to the sequence in which they reside.  Is there any other way to do this?  To achieve the behavior of a Continue step, I can have a post-action destination of the End step (I can't think of anything equivalent to achieve the behavior of a Break step), but the steps I am trying to configure will be predefined as templates that are dynamically built into a sequence, and the end destination will not be known at edit time.

Viewing all 6527 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>