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

the test stand deployment tool is not installing a file clearly listed as a file to be deployed

$
0
0

I am using Labview 2015 SP1 32 Bit and TestStand 2014 SP1 f1 and the Deplyment tool that comes with TestStand.

 

My tsd lists a file called "Query Program Version.lvproj" as a file I want to deploy but it is not getting included.   I have tried using the "Force File to install" option and it doesn't help

as another test I tired adding  "Query Program Version.aliases" to the files to be deployed and that one gets installed.

 

as far as I can tell there are no errors.  but  this file is not listed anywhere in the log.

 

Any ideas on how I can fix this?


LabVIEW Basic Function Generator Waveform giving issues in TestStand Deployment

$
0
0

The error given is -19057 The following VIs do not have the expected qualified name

I'm running into this issue with the Basic Function Generator Waveform from NI_MABase.lvlib.

Also having the same issue with List Top Level VIs__ogTK.vi.

 

Thanks

 

Custom CSV Report

$
0
0

Hi,

I need to create custom CSV report (actually txt file). The report needs to have header and body. All informations are stored in form of columns. For each measurement step new column must be added to the body. Additionally header will need to store first failed step name from the body.

Example:

UUT SN, Machine Name, First Fail, Step 1, Step 2, Step 3

xxx, yyy, Step 2, pass, fail, pass

 

Currently I'm lost in process model file and NI articles. I don't know which path should I take: modify Report Entry Callback or modify ReportGen_txt.seq, or maybe something else?

 

I would be grateful for any guidance on how to approach the topic. I have never customized any report.

 

Thanks in advance Smiley Happy

Transfer Step's related info to a table

$
0
0

Hi, Guys, I'm a newbie to TS but familiar with LabVIEW.

I'd like to transfer StepName, Description, limits, test value, test result (Pass/Fail/Done...) and test duration for every step. There must be some local variables to store them, could you show me how to do this?

 

I wonder if there are big trouble for parallel mode or a sequence calls a SubSequence.

 

Below are my consideration:

1, once finishing loading Seq, I can get all StepName, Description and limits, then display them in the table immediately;

2, while executing or finishing a step, update its relate info to the table, including test value, test result and test duration.

How to auto rename teststep in loop

$
0
0

 

Hello,

in the attached sequence i am renaming a teststep in a loop.

The new stepname should be the old stepname + a prefix which is the loopcounter

So old name is: 123

New names should be

loop: 1 - 123

loop: 2 - 123

loop: 3 - 123

 

But the sequence creates:

loop: 1 - 123

loop: 2 - loop: 1 - 123

loop: 3 - loop: 2 - loop: 1 - 123

 

Any idea how to solve this?

 

Thx

Schema Database Error -2147467259

$
0
0

Hello Community,

 

Using Teststand 2014 32bit.

 

While running my sequence file, a numeric step in my sequence failed.

After the step failed, as a result, my sequence stops the test and runs cleanup.

I am then prompted with the error message, see attached image, when Teststand logs my data to the database.

I opened my SQL database and noticed all the previous "Passed" steps were logged in the database fine, but the failed step was never logged.

My schema is setup to log Passed & Failed steps.

Multiple UUT Result

$
0
0

Hello Community,

 

Teststand 2014 32bit

Using Schema for result processing.

 

I have a Main sequence and a regular sequence used for a message prompt only.

The regular sequence gets called from the Main sequence, displays a message, and the loop waits for the Pass/Fail Test to result true.

Once the Pass/Fail Test completes, then I terminate the Call execution of my regular sequence, which is shown in my database as UUT_STATUS Terminate.

I only want to log my Main sequence, which is the one in the image with a UUT_STATUS of failed.

It shows up as having two Unique IDs in my UUT_RESULT table.

 

How can I keep the regular sequence from being logged in my database?

 

Set expression from variable

$
0
0

Hello,

i have a lot of teststeps that have all the same big preexpression.

How can i put this expression into a StationGlobal variable so that i i have to change only at one position and put the StationGlobal into the preexepression.

Thx


DAQmx, DIO And TestStand

$
0
0

Recently we upgraded our NI TestStand from 4.2.1 to 2014.  Our SW architect is on a trip to China so I'm left to figure out those little issues which can nag you.  For instance, When I drag the DAQmx Server step type to my sequence I'm having difficulty getting help understanding this feature.  All I'm trying to do is close a relay.  I know I have to create, the Write and close.  Where do I get help on the Write?  There isn't any DAQmx help for TestStand that I can find.   

vi's reference subvi's from deployed model

$
0
0

Hi all,

 

We are using about 50 testsequences made with TestStand 4.1.1 and LabVIEW 8.5. Development is done with LabVIEW and TestStand, production uses the TestStand runtime.

 

Our vi's reference vi's from libraries: for example "C:\Program Files (x86)\National Instruments\LabVIEW 8.5\vi.lib\Utility\error.llb\Clear Errors.vi". After development, we deploy our testsequences on a network share, so the production PC's can execute them via the TestStand Runtime. The references from "program files" are deployed to a folder ../SupportVIs so the production PCs can find these references, since they don't have the "C:\Program Files (x86)\National Instruments\LabVIEW 8.5\vi.lib" folder.

 

Some vi's are reused in new testsequences and copied in the /NI_Labview folder of the testsequence. To check for errors before deploying, I run the "mass compile" option (Labview->Tools->Advanced->Mass Compile...) for the /NI_Labview folder of the actual testsequence. The output of the "Mass Compile" contains odd messages:

 

#### Starting Mass Compile: do 28 apr 2016 9:07:24
  Directory: "C:\Stefsvn\TESTSET55\NI_Labview"
C:\Stefsvn\TESTSET55\NI_Labview\TESTSET55.llb\ReadConfig_DUT_parameters.vi
    - The VI expected to be at "S:\Teststand models\SupportVIs\Read Key (U32).vi" was loaded from "C:\Program Files (x86)\National Instruments\LabVIEW 8.5\vi.lib\Utility\config.llb\Read Key (U32).vi".
C:\Stefsvn\TESTSET55\NI_Labview\TESTSET55(Teststand).vi
    - The VI expected to be at "C:\Program Files (x86)\National Instruments\LabVIEW 8.5\vi.lib\Utility\error.llb\Clear Errors.vi" was loaded from "S:\Teststand models\SupportVIs\Clear Errors.vi".
#### Finished Mass Compile: do 28 apr 2016 9:07:27

 

Labview searches for subvi references in the deployed files of our teststand models!

Using the mass compile option i broke a deployed teststand model vi. I want to avoid this scenario to not affect production when compiling/deploying a new testsequence.

 

If I look at LabVIEW->Tools->Options->Paths->VI Search Path, I get the following list:

 

<topvi>\*

<foundvi>

<vilib>\*

<userlib>\*

<instrlib>\*

C:\Program Files (x86)\National Instruments\LabVIEW 8.5\resource

 

Why would labview prefer to reference the deployed model vi's in stead of the vi's in the |vilib| folder? Is this because of "S:\Teststand models\" is in <foundvi> ?

Can i avoid labview referencing deployed vi's? Can i edit/clear <foundvi>?

Is there a built in option to view all subvi's with their paths? Or do i have to build this myself? I found this vi http://www.ni.com/example/27094/en/ which looks like a good start.

 

Thanks in advance,

Stef

Error analysis. Failed paring the XML string.

$
0
0

When I load a subVI with a string input into TestStand, then following error appears in the 'Module'. 

Failed parsing the XML string:

        Reason = End tag 'String' dose not match the start tag 'Name'. 

        Code = 0xc00ce56d

        Line = 4

        Position=3

        Text=</String>

Anyone can help me to resolve this problem? Thanks in advance.

         

TestStand, DIO and MAX

$
0
0

I can go to Measurement and Automation Explorer and select my NI USB-6501 Test Panel, select the correct port and line depress the Start button and my relay closes.  See attached example.  Is there a way in TestStand to close the same relay without relying on a custom step type?  Can you point me to where I could execute this operation in TestStand.  Thanks.

 

Tony

null refnum

$
0
0

Hello everyone,

 

I have a really easy question, I need an expression to detect a null refnum.

 

I am sending the StationGlobals.TS.CurrentUser.LoginName from TestStand to the User Interface via the FrontEndCallback.seq using the UIMessage. There are times when the StationGlobals.TS.CurrentUser does not exist (i.e. when the user click on the 'Cancel' button of the Login Dialog). I want to detect this situation by checking if the StationGlobals.TS.CurrentUser is a null refnum. I tried the following expression such as

 

StationGlobals.TS.CurrentUser == Null

or

StationGlobals.TS.CurrentUser == null

 

but they all do not work.

 

Can anyone please tell me the expression to detect a null refnum?

 

Thanks for reading

hlim

Teststand deployment asking for Veristand

$
0
0

Hello

I am trying to deploy a Teststand system. Usually i try to install the test computers with all drivers needed before hand but this time i need to create a complete installer package.

 

The components i need to install are the following:

 

Teststand runtime 2014

Labview runtime engine 2015 (32 bit)

DAQmx runtime engine

VISA runtime engine

 

When i select those components a few addiational ones are selected as well.

 

A couple of LabWindows/CVI runtime packages (Teststand seems to need them)

PXI Platform Services Runtime (DAQmx seems to need it)

NI VAriable Engine 2015 (Teststand seems to need it)

 

A couple of them seems a bit weird but sure, no problem there.

 

I have connected my USB drive with the 2015 software bundle that it asks for.

 

But now it also asks me for NI Veristand 2015 media path. This isnt included on my USB drive apparantly, but even if it were, why would a Teststand deployment using LabView and standard drivers need Veristand installation media?

 

Teststand deployment is a bit tricky as is with even with the newer versions, but this is just silly.

 

Have anyone had the same problem and if so, how did you solve it?

 

Best Regards,

Nimgaard

 

NI Test Integration Adapter report file in RQM with broken links

$
0
0

Hello,

 

I'm using NI test Integration Adapter v2.3 to connect IBM RQM v6.0.1 and TestStand 2014. I execute the corresponding secuence file and the generated report (html file) is uploaded to RQM in TestStand report pane. This report contains some links to local files but they're broken. Is there any way to use the adapter or configure TestStand to upload the local files as attachments and use those links in the Test Result page instead of links from the HTML report?

 

Thanks in advance,

Rakel


Process XML data from LV

$
0
0

Hi, BRAND SPANKING NEW GUY here, with what is probably a quite Newb question:

 

Levelset: LabView & TestStand 2014

 

In Labview, I have a VI that takes data from an XML file, processes it, and spits out another XML File

The Output is:

Name, Raw Score, Grade

In Test stand, I want to run the VI, Take the output file, and report

Name  Grade, Pass(/Fail) based on the raw score... < 60 = Fail

All I have been able to do successfully is to create a report with all the elements from the output XML (1 element per line)

 

So,

 

1. Is there a way to create a report with more then 1 element reporting per line?

[Have

Name: John

Score: 100

Grade: A

Name: Fido

Score: 50

Grade: F

...

want:

John, A, Pass

Fido, F, Fail

...]

 

2. How do I read & USE the XML data, producing an element that was not in the XML?

 

NI VISA cannot install

$
0
0

I have a problem with installing  NI VISA.  It was installed my computer but when I run my python script it was giving me an error.

I googled the root cause of error and in couple forums It was saying uninstalling and installing NI VISA can help or to solve the issue.

NI VISA is removed and installed coupled times. I also removed some files that is started with NI_VISA. 

RIght now,  when I tried to install the visa I am seing the below message. Also, I cannot see the National Insturements Folder in the Start Menu.

Can someone help me to figure out the installing issue?

 

"

Cannot install

  • NI-VISA 5.4.1

Run Time Support (higher version already installed)

Configuration Support (higher version already installed)

Development Support (higher version already installed)

Remote Server (incompatible with products already installed)

  • NI Measurement & Automation Explorer 5.5 (higher version already installed)
  • NI-1588 Configuration 1.3.0 (higher version already installed)

 

Adding or Changing

  • NI-VISA 5.4.1
  • NI System Configuration 5.5.0"

Command Pattern Lvoop

$
0
0

Hi,

 

     I had a question regarding the implementation of LVOOP in Teststand. I have seen an example of dynamic dispatch implementation in Teststand, I need to implement the Command Pattern in Teststand. How can i achieve it? If any examples please do post.

Linking seq files to teststand

$
0
0

I am attempting to rebuild a PC that had some corrupt files and had to

reload the Teststand base deployment software but now my Sequence files

need to be linked to teststand.

 

How do I link my sequence files to teststand so that when I click on the desktop icons

they get loaded into test stand like they used to do?

 

thanks 

ActiveX Create New Object Error -17502 when logged in as user in Windows

$
0
0

Hi all,

I'm controlling a labVIEW app through TestStand using ActiveX.

It works fine when logged in as an administrator in windows, but the "Create Application" step returns error -17502 when logged as a user:

 

"Create New Object" in automation call failed.
Cette interface n’est pas prise en charge
One reason this can occur is if the interface of your COM server cannot be marshaled. This can happen if your server is not using the default OLE marshaling implementation and does not implement its own proxy and stub code. If you write your server using Visual C++ you can add the oleautomation attribute to your interface in order to use the default OLE marshaling implementation. Alternatively, COM does not require marshaling if the server's threading model is the same as the client thread's apartment. You can try changing your server's threading model or the client thread's apartment to avoid the need to marshal the interface. [Code d'erreur: -17502]

 

Do you have any ideas on how to fix this ?

 

You'll find attached a bit of code used to reproduce the error (LabVIEW 2012 / TestStand 2012)

 

Thanks in advance.

Viewing all 6524 articles
Browse latest View live