Quantcast
Channel: All NI TestStand posts
Viewing all 24455 articles
Browse latest View live

change the run selected button and loop selected button caption name in teststand stand user interface.

$
0
0

Hi,

 

I need to change the teststand buttons caption name . For ex: i want to change  "Run selected steps" button to Run steps. i could able to change in property browser button of the teststand buttons, but when i run the user interface ,teststand again reassign the "Run selected steps" name only.

 

How to change this, Is there any config.xml file for this.

 

Regards,

Anand


Re: SQL query executes but returns no results

Re: Is there a user guide section for 'Data Operation'?

$
0
0

Hi St3venA,

 

After reading some of the post I'm not entirely sure what you are looking for, but I believe this example may be of some assistance:

 

Retrieve Data in TestStand From an SQL Statement If Multiple Columns Have the Same Name

http://digital.ni.com/public.nsf/allkb/6F07F6CF24D0912586256E92007F6D08

 

If this is not what you are looking for. I would recommend creating a new post with exactly what you are looking for to help get me eyes on it, and help explain what you are looking for.

Re: Create local variable from default input of a module

$
0
0

Not sure how much this helps, but you can right click and create a variable of your custom type:

CreateType.gif

In an ideal world - what would you want that is different from above?

 

Thanks,

Trent

Re: Sequence Editor Crash

$
0
0

You should open up a ticket with NI Support if you have a problem like this.

 

A few general troubleshooting steps i'll mention:

  • Try to narrow down what step is causing the crash
  • If you can narrow down what step it's crashing on, that's indicative of a bug in the code module called by the step (or the drivers used by the code module)
    • Does it call any C/C++ dlls? If so, whoever developed those dlls is probably the best suited to help troubleshoot
  • Check the known issues list for your versions of TestStand & LabVIEW (if applicable)

Another thing worth noting is that features were added to TestStand 2017 to help troubleshoot issues like this.

 

Hope this helps!

Trent

Using Labview NXG VI in Teststand 2017

$
0
0

Hi,

I am trying to run a LabVIEW NXG VI asynchronously from Teststand 2017. It is asking me to locate a .gll file which I couldn't find. Can anyone help me with this? 

How to get a Running TS Sequence file reference in LabVIEW

$
0
0

Hi,

I am using TestStand 2016(32 bit) - LabVIEW 2016(32 Bit) - Windows 7 Enterprise

 

I am trying to get the runtime properties of TestStand Sequence File which is already Executing. I am trying to get the reference of the sequence file from LabVIEW. So I am using GetEngine property with TestStand UI Application Manager reference. From GetEngine reference I am getting the Sequence file reference by giving the Sequence file path. With this property node, I am able to access Sequence name, Step Name, Number of Sequences etc.. But When I am trying to display, Is Sequence File Executing? its showing 'False' but actually my sequence file is executing. Also for some runtime property like 'Number of Sequences Executed' it showing the wrong result in my VI Front panel.  

 

What I am thinking is when I try to get the TS Engine reference from LabVIEW(which is already running) it getting a new instance of reference, not the already running reference.

If I am launching the VI from TestStand itself by Dynamic Launch VI and passing the ThisContext reference to Connector Pane of the VI, I can use the Runtime Properties Like 'IsExecuting?'. Is there any way to get the Run Time properties of TestStand Sequence File from LabVIEW without launching the VI from TestSTand?

Re: How to get a Running TS Sequence file reference in LabVIEW

$
0
0

What I am thinking is when I try to get the TS Engine reference from LabVIEW(which is already running) it getting a new instance of reference, not the already running reference.


This is correct - The Engine is per-process. The LabVIEW and CVI adapters have some features built in that handle this for you, but if you aren't going through the adapter, you're stuck with other methods for cross process communication (TCP, reading/writing to a file, network variable, etc..).

 

Take a look at my post here for another option. Re: Check if a Specific Seq File Is Executing 

 

-Trent


Re: Using Labview NXG VI in Teststand 2017

$
0
0

When set to runtime engine, the LabVIEW NXG adapter can only execute code from .glls. You'll either need to change the adapter settings to use the development environment, or build the code into a GLL:

Creating G Linked Libraries

 

As long as your project has a .gcomp with the sub-type set to .gll, the adapter will automatically build the GLL for you when you execute the sequence.

 

Hope this helps!

Trent

Re: How to get a Running TS Sequence file reference in LabVIEW

$
0
0

Hi Trent,

Thanks for the Information you gave.

But still, I cannot find any built-in feature in LabVIEW to access the TestStand Engine Reference which is running. Instead, I can only get the new Engine Reference. I should not add steps(to do Notifications or Storing Reference) to the TestStand tool because in my application TestStand is entirely independent on LabVIEW. Is there any way to get the Running TestStand Sequence File reference without disturbing the flow of the TestStand.

XML reports in Windows 10.

$
0
0

Hi,

We have trouble viewing TestStand XML reports on Windows 10 machines. We are using ATML 6.01 report format and "tr6_expand.xsl" style sheet. The reports are shown on Windows 7 machines with no problem.  We have already tried using Office XML Handler, Microsoft Edge and lately Opera and Firefox browsers to no success (see attached captures with the errors). Any help would be appreciated.

 

Best regards,Enrique

Re: XML reports in Windows 10.

$
0
0

TestStand XML reports are currently only supported in Internet Explorer, which should still be available on Windows 10.

 

One trick I've used to get around this is using the MSXSL Command Line Transformation Utility to transform the XML to HTML, which works in Chrome & Firefox. Command to run the utility looks something like this:

msxsl <report path> <stylesheet path> -o <html report path>

Since it's a command line utility, it's not hard to modify one of the reporting plugins to automatically run this command and generate both XML and HTML reports. On a similar note, you could also enable both the HTML and XML reporting plugins to generate both reports, but this uses more resources on your PC.

 

Limited browser support for the default stylesheets is something that the TestStand team is aware of and is keeping in mind for future developments.

 

Hope this helps!

Trent

National Instruments

Re: XML reports in Windows 10.

$
0
0

Hi Trent,

 

Thanks a lot for your quick reply! We just implemented your solution and it works awesome. I appreciate your kind, valuable support!

 

Best regards,

Enrique

Exporting Fileglobals to excel or txt

$
0
0

I have a sequence that loads tests limits  from a database everytime it runs. It saves these limits as fileglobals.

Because now the sequence needs to work remotely, without access to the database, I was thinking of exporting them into a file from which they could be loaded locally. Then I could send the file (and a modified sequence that loads from it) and that would work for people that need to run it without having access to our network. 

 

I'm not having success with the property loader, is there a way to do this?

 

Thanks

Re: Exporting Fileglobals to excel or txt

$
0
0

Hi jcarellanov1

Sounds to me like the Limit Loader is the way to go, can you explain what problems you are having using it?  Alternatively you could store your data in any format you like and write a code module to read from it into your FileGlobals when required.

Steve


Re: Assigning VI result to certain teststand socket

$
0
0

Hi WireWeaver,

 

This method works. Thank you.

Re: Exporting Fileglobals to excel or txt

$
0
0

Hi, 

So the Property Loader is only used for importing,  correct? I did a sample sequence trying to export my fileglobals to file, but the resulting txt file was empty. 

 

Edit: also, to be clear I need to be able to export during runtime (after the load from database step) else all my fileglobals will be in their default state.

 

Thanks!

Use enums to index an array?

$
0
0

Hi,

 

I have a teststand enumerated type (locals.myEnum) and a string array (locals.myArray). I'd like to retreive the "locals.myEnum"-th value of the array, but the following expression doesnt work:

 

locals.myArray[locals.myEnum]

 

What is the right way to index an array with an enum in teststand?

 

thx!

 

Re: Error in step: instrument reserve (-6 user defined code)

$
0
0

Hi cristina.lopez,

 

this happens when the reference to the instument has not been properly closed.

 

When this error occurs, select Run Clean UP instead of Abort to make TestStand close the opened references properly.

 

Regards,

Re: Use enums to index an array?

$
0
0

Ah OK, so its the Val function:

 

locals.myArray[Val(locals.myEnum)]

Viewing all 24455 articles
Browse latest View live