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

Can't Fetch Results from SQL Query

$
0
0

Hello All,

 

I'm having trouble fetching results from a SQL query I run in TestStand using "Open SQL Statement".  The number of records returned is always -1.  The funny thing is that I can run the same exact query in SQL management studio and always get one record back.

 

I'm at a loss here.  I have attached the query, any help would be greatly appreciated.

 

Thank you,

Aaron


Status of a socket

$
0
0

Hello

 

I use Teststand 2014 with the batch model and 6 sockets. I use several batch synchronization enter/exits in the sequences.

When a measurement in one sections fails, it goes to cleanup of the sequence. In the batch synchronization of next sequence i want to skip the measurement for this failed socket. How can i retrieve the status (passed, failed) of a socket in a batch synchronization block ?

I cannt reach Egypt agent by phone

$
0
0

I cannot reach the EGYPTIAN agent by phone (0112 190 0002)or by location on google map  so what i can do?!!!

Import Testand configuration

$
0
0

I've configured the station options, report options, global variables, etc. but  it seems that they are not saved in a workspace or sequence file.

I found where those get stored in these forum: https://forums.ni.com/t5/NI-TestStand/Export-Report-Options-in-Sequence-file-deployment/td-p/3062172?profile.language=en

 

Is there a way to import these configurations into teststand? we have several people working on the same project on different computers. we are using GIT as a source control and to share the progress, how can we share the configuration of teststand? 

 

RunState.Execution.GetStates(Locals.ExeRunState, Locals.ExeTermState) Syntax error in the TestStand2.0.1

$
0
0

Hello:

      I want to read the current program state with the API function. I use the RunState.Execution.GetStates function to execute with TestStand2010, the error is not appear, but in the TestStand2.0.1, the error "The post-expression for the step 'Get Termination State' could not be evaluated.Unknown function or sequence name '.'."  is be occurred, I use the check syntax button to verify whether existence syntax error, the prompt window display “NO Errors”.

   Do you know the difference between the two version TestStand about RunState.Execution.GetStates function?

  Do you have the TestStand Programmer Help about TestStand2.0.1? In the TestStandUserManual, the prompt is "Execution object in which the sequence invocation runs.
Refer to the TestStand Programmer Help for more
information on the methods and properties of Execution
objects.", but I don't find it in the NI web.

     

KeyFocus not working in VIs invoked via TestStand

$
0
0

Hello, when the LabVIEW adapter in Teststand is configured to Run-Time, then VIs invoked in a sequence which use the KeyFocus property node wont work properly - the key focus is never received by the control. It works fine when the adapter is set to Development System.

 

Is there a workaround?

Thank you

______

I found this topic which describes the same issue - it's from 2005 ??!!

https://forums.ni.com/t5/NI-TestStand/Key-Focus-does-not-function-in-LabView-when-invoked-via/m-p/295414?search-action-id=166105667424&search-result-uid=295414

results processing

$
0
0

Hi, At some pint in time I cant access my results processing function under the Configure tab. I never has issues in the past. All I can speculate that it could have happened after I installed visual studio on that machine. Now all my results is written in folders all over the place. When I click on results processing, I get this error window. Please assist.

gvolkwyn_0-1575538266243.png

Results Processing and Handling Network Disruptions

$
0
0

Hello TestStand Community,

I am working on standing up a TestStand based testing capability for my organization, and was wondering if anyone has advice on how to handle network outages with TestStand. Our current approach to results processing is to send all results to a remote database, however our infrastructure is notoriously bad, and we experience frequent network outages. 

My initial thought was to setup offline result processing in parallel with database result processing, and some callback to handle errors when connecting to the database. However, there aren't any pre-condition options for offline result processing like there are with database result processing. I'm assuming that means that I would need to handle duplicate entries when the offline results are processed, and I would prefer not to have to do that since the majority of offline results would be duplicates.

Does any know of a way to enable and disable result processing outputs dynamically? Are there side-effects to enabling/disabling result processing outputs dynamically? Does anyone have a more elegant solution to handling interruptions to database logging, something that would require less leg-work?

 

I am using TestStand 2017.

 

Thanks


How to save content of local variables?

$
0
0

Hello,

what do i have to do that the content of the local variables (which are changing while a sequence is running) are still available after the testplan has finished?

Is there something like a commit to disk statement that can be inserted after changing a local?

Thanks

BR

load pull NI AWR

$
0
0

I am designing a power amplifier at 1.8 GHz.

During load-pull analysis, I am not able to change the frequency of the load-pull template.

 

Standard Named Data Types

$
0
0

Where I can find list of all the built-in Standard Named Data Types defined in TestStand?

I found only these:

  • Error,
  • CommonResults,
  • Path,
  • Expression,
  • NI_TDMSReference,
  • NI_UserCustomPrivileges.

But the way help topic mentions it, might suggests there are some more.

I would like to know these names to make sure I don't create types with reserved names.

Blank screen appearing at the top left corner of NI Test Stand ,Icons(like "Run") are missing

$
0
0

A blank screen is appearing at the top left corner of the NI Test Stand so that all the icons(that includes "Run" button) at that side are missing.Restarting the system also didnt rectified the issue.Even reinstallation of NI Test Stand software also didnt solved the issue.Please provide a solution for this.

Please look into the attached screenshot showing the issue.

Mysterious Entry Points

$
0
0

In <TestStand>\Components\Icons\NI_UIControls I found icons for subsequences.

icons.PNG

There is SeqNorml.ico for Normal subsequences, SeqCalbk.ico for Model Callbacks, SeqReserved.ico for Engine Callbacks, SeqExePt.ico for Execution Entry Points and SeqCfgPt.ico for Configuration Entry Points.

 

There are also SeqCvtPt.ico, SeqDebugPt.ico and SeqEdtPt.ico, which are, based on the Pt suffix, some kind of Entry Points.

 

Does anyone know what are those mysterious Entry Points?

大家好,想请教一下关于基于LabVIEW开发多工位用户界面中,Terminate TestSockets1 Button和Terminate TestSockets2 Button的命令连接

$
0
0

如图1  ,TestSockets1和TestSockets2各对应一个Terminate Button1.png

经过Help查询得知,Terminate命令连接只适用于ExecutionView Manager control2.png

如图3,当我进行ExecutionView Manager control连接Terminate命令时发现,这似乎无法实现

3.png

请问对于CommandKind Terminate命令该如何实现,我将对您的帮助不胜感激。

Cannot add a sequence to a project using API

$
0
0
I am trying to create a TestStand app completely with the API.  I have been able to create the workspace and add a project.  However, I cannot figure out how to add a sequence file to the project.  Below is my code.  The last few lines are how I tried to add the sequence file, but got an exception.
 
How do I add a sequence file to a project?
 
WorkspaceFile workspace = _testStandEngine.NewWorkspaceFile(); PropertyObjectFile workspaceFile = workspace.AsPropertyObjectFile(); workspaceFile.Path = @"C:\Released\TestStand\TestApp\TestApp.tsw"; workspaceFile.WriteFile(WriteFileFormat.WriteFileFormat_Current); // create project file PropertyObjectFile projectFile = _testStandEngine.NewPropertyObjectFile(PropertyObjectFileTypes.FileType_ProjectFile); projectFile.Path = @"C:\Released\TestStand\TestApp\MyProject\MyProject.tpj"; projectFile.WriteFile(WriteFileFormat.WriteFileFormat_Current); // add project to workspace WorkspaceObject project = workspace.RootWorkspaceObject.NewFile(projectFile.Path); workspace.RootWorkspaceObject.InsertObject(project, 0); project.ProjectFile.WriteFile(WriteFileFormat.WriteFileFormat_Current); // sequence file PropertyObjectFile sequenceFile = _testStandEngine.NewPropertyObjectFile(PropertyObjectFileTypes.FileType_SequenceFile); sequenceFile.Path = @"C:\Released\TestStand\TestApp\MyProject\Tests.seq"; sequenceFile.WriteFile(WriteFileFormat.WriteFileFormat_Current); //*** throws an exception: //*** "Attempting to insert non-project file into workspace." WorkspaceObject sequence = workspace.RootWorkspaceObject.NewFile(sequenceFile.Path); project.InsertObject(sequence, 0); workspace.AsPropertyObjectFile().WriteFile(WriteFileFormat.WriteFileFormat_Current);
 

Property loader error "File specified not found"

$
0
0

TestStand 2016 SP1 reports a "File specified not found" error in a Property Loader step during the sequence analysis.

We use the expression browser to define a FileGlobals variable (path) in the Source Location for the Source Settings. There are no syntax errors reported and wrapping it with the "#NoValidation" function does not disable the error. The loader step works nicely for a path defined in the sequence at run-time.

The variable is defined at run time, so the TestStand analysis tool throws the error:

"Property loader source should be proper....does not exist. Modify the settings to provide the path of an existing file"

The error flagged in the loader step itself is:

"Errors:

SourceNameErrors

Setups:   File specified not found

Process:   File specified not found"

because there is not yet a file defined in the variable.

Our workaround is to have the name of an existing dummy file as the default in the path variable.

How can we switch off this analysis error for Source Location variables defined at run time?

How can I dynamically set VI Path in TestStand

$
0
0

I have a noob question here.

Is it possible to dynamically set the root VI Path to my PPL file in TestStand? For example, one of my *.vi code resides in a PPL (e.g. "C:\Deployment\LV2019\ProductX\FunctionalTest\PPL\FunctionalTest.lvlibp\TS-Modules\Instruments-CreateInit.vi").

 

Is it possible to dynamically change the root path to the PPL in TestStand without having to check the search directories?

 

In my case, the root would be "C:\Deployment\LV2019\ProductX\FunctionalTest\PPL\".

get status of execution all sequence with API teststand

$
0
0

Hello

 

I use labview to lunch 3 sequences, execute in parallel. 

In Seq 1, how can i get the state(stopped, paused or running) of other sequences (seq2, Seq3).

 

I use getstates methode, but i get the state of seq1

 

Thanks

RchB_0-1576605897497.png

Developing utility to load VI information like it happens in Teststand.

$
0
0

Hi,

I am curious to know about how teststand loads all the details of a selected LabVIEW VI when labview adapter is selected including connector pane info, in and out variables etc etc. I am a .net developer (also work on Python) and want to design similar utility like teststand in C# or Python which will function in similar way. (like loading selected VI file, invoking labview development and runtime environment, showing and mapping VI connector pane inputs and output variables etc etc.) Any idea how i can implement this? 

Generate multiple reports in a single pass run

$
0
0

Hi all,

 

I have a Teststand sequence, which has a for loop to iterate tests for different configurations. I am running this sequence as a single pass run. Since the whole sequence takes about 8 hours, the report file is large and complicated. I would like to have multiple reports generated during this single run, specifically one report per iteration in the for loop.

Does anyone knows how to do this? I assume I will need to clear the memory at the start of the loop then save the report by the end.

 

Best,

Zijun

Viewing all 6527 articles
Browse latest View live


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