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

Re: Running teststand sequence on windows terminal withought opening testastand and getting all report on ternimal only

$
0
0

Yes - see the help document here:

Configuring Sequence Editor and User Interface Startup Options

 

 The command and response will look something like this:

C:\Users\Public\Documents\National Instruments\TestStand 2016 (64-bit)\UserInter
faces\Simple\CVI\Source Code\x64>TestExec /runEntryPoint "Single Pass" "C:\Users
\Public\Documents\National Instruments\TestStand 2016 (64-bit)\Examples\Demos\Co
mputer Motherboard Test\CVI\Computer Motherboard Test Sequence.seq" /outputToStd
IO /quit

C:\Users\Public\Documents\National Instruments\TestStand 2016 (64-bit)\UserInter
faces\Simple\CVI\Source Code\x64>Execution 'Single Pass - Computer Motherboard T
est Sequence.seq [4]' ended
Status: Passed

Note that you'll need to take a little extra work to suppress any dialogs (like the log-in log out dialog).

 

It's also possible to send custom commands if you need to - I wrote a few examples of this a while back:

CVI Example

.NET Example

LabVIEW Example

 

Another option is to write a basic command line app that doesn't use the TestStand UI Controls, and just use the TestStand API to call Engine.NewExecution().

 

Hope this helps!

Trent


Re: Create local variable from default input of a module

$
0
0

Hi 1984,

 

Correct me if I am misunderstanding, but why don't you use a LabVIEW vi with the cluster as an output, and place it in the setup part of TestStand. Then create the variable like described here:

 

How Do I Pass Data Between a TestStand Container and a Cluster in a LabVIEW VI?

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019OUCSA2

 

Then after creating the variable pass that it as the parameter for the LabVIEW VI. I tried this and it passed all my constants just fine.

 

Hope this helps!

 

Re: How to add custom tools menu items to LabVIEW OI?

$
0
0

No - sorry. I have not seen any updates on this.

Re: Setting up Teststand and MySQL

$
0
0

Hi inniwhoni,

thank you for the answer.

Below some screenshots of the process I used to create the connection string with the "Build.." button.

 

1.PNG2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

First I created, and successfully tested, an ODBC data source, using Windows administrative tools.

Then I just follow the wizard from TestStand.

 

 

3.PNG4.PNG5.PNG

 

The result string let me show the database structure, with all tables and fields, but it does not allow me to view the stored recors (see my previous post).

I'm not sure if this is actually the correct procedure to configure the connection string, but the wizard is quite straightforward and I think I used it as supposed.

 

 

How to stop TestStand taking control of other desktop programs while running

$
0
0

Hi All,

 

I am using TestStand 2014, LabView 2015 & Windows 7 OS

 

When I run TestStand I like to keep one or 2 LabView VI's open (a graph or result file to show indicator values) to track the progress of my run. I also need VI's to open from TestStand steps (In LabView VI: File/VI Properties/Category:Window Appearance->Customize.../'Show front panel when called' & 'Close afterwards if originally closed' options selected) when the step is run and close when I enter control values.

 

My issue is if I am working on another desktop program (i.e. typing an email of writing a word document) while my TestStand sequence is running then TestStand pulls control from the other program I am using. This is very counter productive when a hour long TestStand sequence is constantly preventing a user from typing on another program in parallel. 

 

I have scrolled through TestStand settings in vain to resolve this issue. Please can anyone provide me with a solution to allow me to run TestStand where the LabView VI's don't constantly take precedence over other Desktop programs?

Any help much appreciated.

Regards,

Sean

Re: Create local variable from default input of a module

$
0
0

Yes, this works, its just a pain in the back, because you have to create the datatype, then create a variable, then create a VI with the just the cluster as an output, add a new step to teststand and running it.

 

Its somewhat hard to believe that there are no more straightforward way doing this Smiley Sad

Assigning VI result to certain teststand socket

$
0
0

Hi all,

I have a VI getting user response for visual inspection on all 4 LEDs.

Since the results for all 4 sockets are obtained from only one VI, i would like to assign each of the result to be at their own socket. For example, the output result "Socket 0" is belongs to socket 0, output result "Socket 1" is belongs to socket 1 and so on..

 

Capture.PNGIs there any way in achieving this?

 

Best regards,

Crystal

TestStand runs a copy of my VI

$
0
0

Hi Community,

 

I have noticed that TS seems to execute a memory copy of one of my VIs instead of executing the VI itself. Poorly phrased, but what I want to say is that if I open that VI and then execute my sequence then when TS executes that step then my VI does not execute, just turns to "Run mode", like if I have pressed Ctrl+M.

 

This is only a problem with a VI or two, but I have no clue whats causing it. I'd like my VI to run in a normal way so I can debug it runtime when TS calls it.

 

Let me know if you have an idea.

Thx.


Re: TestStand runs a copy of my VI

$
0
0

Most likely, your VI is setup to be reentrant.

Re: TestStand runs a copy of my VI

$
0
0

Yeah, I was thinking about this and it is not reentrant, at least not the VI I directly call from TS.

 

Would I see this effect if any of the subVIs of my VI is reentrant? If so, is there a way to quickly find which subVI is set to reentrant?

TestStand 2013 issue on Windows 10 computer.

$
0
0

Hi,

 

We have installed two Windows 10 machines and are trying to run sequences on TestStand 2013 as we do on Windows 7 systems. Unfortunately, when executing any sequence from the Sequence Editor, after analysing it and pre-loading the necessary modules, the Sequence Editor gets stuck forever (hourglass) and does not show the execution window, so we have to abort the execution. We believe that it has something to do with the Model Plugin sequence call within "ModelSupport.seq". The Station Options settings, Search Directories and Result Processing are the same as on the other Windows 7 machines. Are we missing something?

 

Thanks in advance,

Enrique

Re: How to stop TestStand taking control of other desktop programs while running

$
0
0

Hi,

It is unclear to me what you mean by TestStand "pulling controll" from your other applications. Could you describe in a bit more detail what you are experiencing? Do your other non-TestStand applications stop responding? 

It could be that TestStand is hogging CPU cycles. Have you checked the CPU usage of TestStand or your LabVIEW instances using windows task manager?


Isak

Re: How to stop TestStand taking control of other desktop programs while running

$
0
0

I believe the terminology you're looking for is "Active Window" - in other words, when one of the LabVIEW VIs is launched from TestStand with show front panel enabled, the launched window becomes active and gets focus instead of the previously active window.

 

So it seems like the overall question is - in LabVIEW, is there a way to show front panel when called, but not get window focus?

 

-Trent

Re: How to stop TestStand taking control of other desktop programs while running

$
0
0

Hi Isak and Trent,

 

Thanks for replying. Apologies if I wan't very clear in my description.

 

Trent has summed up the situation perfectly "in LabVIEW, is there a way to show front panel when called, but not get window focus?"

 

I am looking for an option to allow me to work on another program in parallel with TestStand i.e typing up a Microsoft Word document. My issue is that the LabView front panel takes focus from the currently selected program when called from TestStand. I then have to select the other program (Word) again to give it focus to continue typing. 

 

I am aware that this is a TestStand forum so if the answer lies within a LabView property option I may have to ask my question elsewhere! I am hoping that there is a magic switch in TestStand to help me resolve this issue.

 

Thanks,

Sean

Re: TestStand 2013 issue on Windows 10 computer.


Re: TestStand runs a copy of my VI

$
0
0

Has the step been set to run 'Always in the RTE engine'?

 

 

Re: TestStand runs a copy of my VI

$
0
0

Hmm... maybe its just me not knowing how TS handles the situation... So if I start running the sequence then open the VI after TS started to execute it then should I see it running or should I see it in the "run mode"?

 

Cause right now I had the VI open before TS started the sequence and now the VIs running, as I expected.

 

thanks.

Re: How to stop TestStand taking control of other desktop programs while running

$
0
0

Judging by the looks of this VI Server method, it looks like it can be specified with the "Activate" property:

http://zone.ni.com/reference/en-XX/help/371361M-01/lvprop/vi_open_front_panel/

 

That's not ideal because it would require changing your code rather than just updating a property or setting. If you only have a handful of VIs that you need to do this with, it's probably not as much of a problem then.

 

Edit: There may be a better way to do this that i'm not aware of. I asked around and it seems like the general consensus is there isn't a way to do this outside of using a VI Server reference. I think it's worth posting on the LV Idea exchange an idea to expose the activate property via the VI properties when 'Show Front Panel when called' is selected.

 

-Trent

Re: TestStand 2013 issue on Windows 10 computer.

$
0
0

Hi Jay,

 

Thanks for your quick reply and the information. We finally managed to fix the issue. For some reason, the "System Exec" function did not return after launching OpenSSL in one of the VIs, so the rest of the VI did not execute. We had to set the "wait until completion?" input to FALSE. The funny thing is that it's set to TRUE for all the Windows 7 machines.

 

Best regards,

Enrique

How to get or Set the Container Values using For loop index ?

$
0
0

Hi All,

 

How to get or set the value from container in test stand using index value (for loop method),

 

thanks in advance,

 

saran

Viewing all 24460 articles
Browse latest View live


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