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

not reporting after deploying

$
0
0

My seq is working fine on my development computer, both via the development editor and the simple/full-featured userintyerface.

I have setup reporting in ATML, Access DB and offline report format.

Reports are located on a server inhouse.

 

When i deploy my system, and install in on my production machine, and run it via the Simple or Full-featured UI, it says "no result from main seq", and none of the 3 reports are being updated !

I store files via my teststequence, on the same server,  during the test, and those files are updated. I.E. the test-station see the server and folder ok 

 

any ideas ?


database query tool

$
0
0

Does there exist some kind of common teststand database query tool/gui/form or do all testengineers have to develop their own application for retrieving data ?

I'm using standard TS schema, and Access DB.

I'm sure there are 100's of homemade tools out there, but are any of them free to use, or can i purchase something from NI ?

Bigger companies make their own systems i guess, but this should be a common requirement for everybody using TS

 

Callexecutable pass key to close executable

$
0
0

Hello,

 

I use TS2014. When i try to use " callexecutable " step to execute  an .exe application , after application is finnished  it is made to wait for key to exit. 

How I can automaitically close this step and get standard output hidden for operator ? (Without asking operator to press a key)

 

Thank you in advance!

Sequence File Converter Help

$
0
0

Example and command line usage is different in Sequence File Converter Help

 

The File <file or directory path> should not have a "-" in Example.

 

cc.png

Use networked Users.ini in deployed simple user interface

$
0
0

I'm using the  Simple LabVIEW UI that comes with TestStand 2014. I have customised it to my requirements, but have a small issue. I want to deploy the interface to numerous production PC's but cannot workout how to get the interface to use a networked Users.ini, at Login on those PC's. Does anyone know how to make the user interface use a networked Users.ini? I know that in TestStand 2014 you can use the menus Configure>Station Options>User Manager to tell it where to find a networked Users.ini. I don't know how to make the Simple LabVIEW UI do the same thing. Hopefully I've missed something obvious and will soon be felling rather stupid.

 

Thanks

Colin

TestStand 64 bits feebacks ....

$
0
0

Hello,

 

Has some one any feedbacks about using TestStand 64 bits.

Before installing this version, i would like to have your opinion.

 

I would like to have your opinion about ...

 

  • Is it easy to use ? (As the TestStand 32 bits) ?
    • Is the 64 bits usage transparent ?
  • How is it about User interfaces ?
    • Is there examples in LabVIEW 64 bits ? DotNet 64 bits ?
  • How is it about custom steps ?

 

Thanks a lot for your feedback.

 

Manu.net

API Method to display LabVIEW Adapter Configuration Dialog Box?

$
0
0

Hi,

 

I'm looking for an API method to display LabVIEW Adapter Configuration Dialog Box programmatically. There is the method Engine.DisplayAdapterConfigDialog to display the higher-level dialog but I didn't find an API method which displays the LabVIEW Adapter Configuration Dialog Box directly.

 

Kind regards

 

Christian Dietz

About Module Load / Unload ...

$
0
0

Hello,

 

Is there any technical documentation about module Load/unload other than the TestStand reference manual ?

 

I would like to understand what is really Load and Unload ?

 

  • For Packed Libraries
    • What is a module for a packed library ? The whole library, only a VI interface ?
    • Can a VI be unloaded and not others VI in the same Library ?
  • For VI calls
  • For DLL
      • What is a module for a DLL call ? The whole Dll, only a function interface ?
      • Can a function be unloaded and not others functions in the same DLL ?
  • For Dot net calls
      • What is a module for a packed library ? The whole assembly, only a function interface ?
      • Can a function be unloaded and not others functions in the same assembly ?
  • How does the global variables (FGV, Singletons, static membres ... ) behave in case of a module unload )

My question is to understand a little more the memory management of modules, in order to create reusable step types, without having to manage the memory !

For DLLs, packed libraries and dotNet assemblies, is it better to create a big library containing everything, or multiple libraries per functionnal familly ?

=> Does a big library takes less space in memory than multiple little libraries ?

 

For step creation, what is the best for memory management ? (The less memory consumer)

 

  • Packed libraries
  • Dlls
  • Direct VI calls
  • DotNet assemblies

 

It would be interresting to be abble to folow the memory used by the loaded modules : Trace toolKit for TestStand

In the Teststand API, is there a way to follow the memory taken by the loaded modules ? Get the list of the loaded modules ? .... a way to create my own memory debugger ?

 

Thanks.

Sorry for my bad english !

 

Manu.

 


API Property or Method to determine Position and Size of TestStand UI

$
0
0

Hi,

 

I'm looking for an API property or method which returns currently position and windows size of UI.

 

Thank you in advane.

 

Kind regards

 

Christian Dietz

Pass / Fail step post action - option to retest step / fail step / abort sequence on fail.

$
0
0

Hi there....

 

In my main sequence there are a number of Pass / Fail steps, preceeding this an instruction telling an operator to connect cables etc.

 

What I would like to do;

 

If after executing a step the result is a Fail, we would like the option to retest, or, fail step and continue, or, abort  the sequence (incase of operator forgetting to connect a UUT correctly etc)

 

I'm a little out of my depth here in terms of how we could configure this in the "Step > Properties > Post Action" to give us these sort of options, or indeed if there is a different / better way of doing this altogether.

 

TIA.

 

Jim.

How can I copy and paste a local variable into a custom type?

$
0
0

I have a container variable that I want to copy and paste into a custom data type. So I open TestStand's Type window, expand Custom Data Types then right click on <Right click to insert Type> and the Paste option in my popup menu is disabled. How do I get my exact data type there?

 

Bug in Teststand 2014 Simple UI Example ?

$
0
0

Hi,

 

I am using Teststand 2014 and LabVIEW 2013 SP1.

 

I would like to create a UI for a Teststand sequence that I have created.

I have started with the Simple UI example (Source Code) shipped with NI.

Located at  - C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\UserInterfaces\Simple\LabVIEW\Source Code

 

I have encountered with an unexpected behaviour - when running the User Interface VI and selecting a Sequence, it works fineat first, but if I Exit the application (the VI return to edit mode), I cannot run the application again until I close LabVIEW completely.

There seems to be more resources that are open.\\

 

Steps to reproduce - 

1. Create an Empty VI (called 1.vi for example)

2. Create a Sequence that only calls the 1.vi in the Main Group. (called 1.seq for example)

3. Open 'Build Script.lvproj' located at "C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\UserInterfaces\Simple\LabVIEW\Source Code"

4. Open and run Top-Level.vi.

5. Click on 'Open Sequence File' and Select the 1.seq, Click on 'Single Pass' and the application should finish running the sequence (with the one VI in it) very fast.

6. Exit the application.

7. repeat on steps 4 and 5.

 

Am I missing something ?

When using the compiled application (exe), it works fine when called repeatedly.

I would like to be able to add changes to the VI and to be able to run it again and again... 

 

Amitai.

 

Sql Steptype write to Excel

$
0
0

Hi

 

Since a long time i am using Sql Step type for reading excel spreadsheets.

Now i like to do this the opposite way. - just writing to excel.

 

Set and Put new Record is getting an Error:

 

ADODB.Recordset (0x800A0CB3)
 Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.

 

Has anyone eperience with that. or will that not work with TS here?

 

Regards

 

Juergen

error -19050

$
0
0

I am trying to build a deployment and I get a -19050 error

 

The bitness of LabVIEW does not match the bitness of the deployment utility.

 

I can run the same .tsd file on a different machine and not get this error

both machines have:

 

[Test Executive]
Application:Name=TestStand.exe
Application:Version Number=2014 (14.0.0.274) 32-bit

 

[Programming Language]
Application:Name=LabVIEW.exe
Application:Version Year=2014
Application:Version Number=14.0.1
ApplicationSmiley Frustratedave Version=14.0

regular expression


out of threads

$
0
0

After doing almost 10,000 of 33,000 loops of a long test sequence this started popping up.

 2015-07-07 10_40_34-NI TestStand - Sequence Editor [Running...].png

The first few times (5 or 6times) it would allow the user to retry and continue.

 

When it finally would not continue, run cleanup was selected. During cleanup, all calls that went through the labview connector got an ActiveX error.

 

After cleanup had completed, a few clicks around the TS GUI and TS crashed.

Any ideas on how to trouble shoot?

 

 

Regards,

Mac

Trouble integrating PostgreSQL database into TestStand

$
0
0

Hi all,

I have been having some trouble integrating PostgreSQL (v9.4) database into TestStand. I have installed the PgOleDB (v1.0.0.20) driver and this registers in the 'Data Link Properties' dialog box when building the connection string as 'PostgreSQL OLE DB Provider' (see Postgres_connect1.png) and I think I have got the connection string correct as can test it and it passes (see Postgres_connect2.png). I also had some luck using the built in database step types - modifying the connection string in the 'Database Step Types.seq' example provided. I used the same connection string in the 'Open Database' step and it connects ok. Then I modified the SQL commands in the 'Drop Table' and 'Create Table' and checked that they were created in my postgres database (see Database Example 1 and 2 attached. So I know the connection string must be right. But when I go back to turning on the integrated database logging and run a simple sequence I get the following error:  

 

"An error occurred calling 'LogResults' in 'ITSDBLog' of 'zNI TestStand Database Logging' An error occurred initializing a connection to a data link. Connection String: Provider=PostgreSQL OLE DB Provider; Data Source=localhost; Location=teststand; User ID=postgres; Item cannot be found in the collection corresponding to the requested name or ordinal.  Source: TSDBLog   -2146825023; User-defined error code.  Step 'Log Results to Database' of sequence 'LogToDatabase' in 'NI_DatabaseLogger.seq'"  

 

So it seems like a problem connecting to the database now when connecting using the integrated logging. I have tried to debug the sequence but it gets to the 'LogToDatabase' step in 'NI_DatabaseLogger.seq' and this is an Active X object which you can't step into. So I'm not sure what the difference here is or how to debug it? I know it's not a directly supported DBMS but just wondering if anyone has had some experience with this or could give me some advise on how to debug it?  

Thanks

Daniel

Get individual test socket execution reference

$
0
0

Hi All,

 

Versions used: LV 2014, TS 2014, Parallel model with each DUT independently tested, Custom OI built as per need

 

I have an application where at most 8 test sockets can run at a time, independent of each other. Each DUT must be independently started, paused or aborted from LabVIEW custom OI. How do I get the individual test socket execution reference so that I can send the pause/abort command from LabVIEW Operator Interface? I tried using the FileGlobals.TestSocketExecutions array from the Parallel model (by setting "Shared at Run-time" flag), but these references seems to be changing constantly.

 

What I want to do is have a unique execution reference for each testsocket that can be obtained when the DUT is started/ even when the testsocket is spawned, store that reference in my LabVIEW code and use this execution reference when I want to pause/abort the testing in that particular socket from LabVIEW OI.

 

Thanks in advance,

Saranya

Test Stand IF-ELSE IF Statement Not Working As Expected

$
0
0

Hi everyone, I am using the IF and then ELSE IF statement Flow Control functions that come with Test Stand.

 

I have a numeric local variable in Test Stand.  If this number = 0 or 1, I want it to do code A and else if the number = 2, I want it to run code B.

 

This is how I have it written in TestStand

 

IF STATEMENT -> EXPRESSION: Locals.Number == 0 || 1

 

THEN DO Code A

 

ELSE IF -> EXPRESSION: Locals.Number == 2

 

THEN DO Code B

 

My issue is when Locals.Number = 2 it still runs Code A block.  What am I doing wrong?

 

Thanks so much!

Report Failure Chain list all failure

$
0
0

Hello ,

 

I am using TestStand 2013 and Sequence Editor Version 5.1

TestStand lists only the first failed step and it's sub steps in the Failure Chain under header section of the Report.

I wish to list all the failed steps under Failure Chain.

 

The following link did not help me.

http://www.ni.com/tutorial/4563/en/

 

Has any one had similar requirement and able to implement it ?

Eagerly waiting for your support  Smiley Happy

 

Regards,

MK

Viewing all 6530 articles
Browse latest View live