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

ActiveX TestStand python - set environment (.tsenv)


How To Convert A Decimal Number To It's 2 Byte Hex Number IN Teststand Using Teststand's Built In Functions

$
0
0

Hello,

 

I'm trying to convert a decimal number ranging from 0 - 65535 to its 2 Byte HEX value (number or string doesn't matter) using Teststand's built in functions. How would I do this?

 

Example:

Decimal Value                         HEX Value

1                           -->               0001

255                       -->               00FF

65535                   -->               FFFF

 

Any help is greatly appreciated, THANKS

VI Module Error Post Execution

$
0
0

I am experiencing some troubles with a how TestStand is treating errors from a VI Module called from a Packed Library. 

 

1. I am reading some data from a serial port

2. Every now and then I read from the port and it throws an error (I am still able to read the bytes though).

3. I am clearing that specific error before exiting the VI 

4. VI Outputs the clean error cluster and the read bytes from the serial port

5. If an error occurred inside the VI, and even through the wired cluster output is w/o error, the string read from the serial port is not updating the local variable inside of TestStand. 

6. Post expressions still execute

 

Anyone have any thoughts? I have tried ignoring run-time errors already...

How to change the sequence file version?

$
0
0

How to modify the sequence file version?

I am a new learner for teststand.

In the sequence file property , the software default version  is 0.0.0.0. 

Is it possible to change it  from 0.0.0.0 to 1.0.0.0. just use an expression?

Reducing TestStand Data Logging to Database Server

$
0
0
Hello All, 
 
I have a quick question regarding TestStand Data logging to database servers. When TestStand executes a step, it by default logs Error Container to the database. I was just wondering can we disable error results logs to database. Error container by default is set as Not Deletable and even when I set Flag not copy to Result, its copied. 
 
I tried following approach but still TS is logging error container to DB. Same is the case with "Commom" property container. What does this property do and how to disable it.
TS_dataLogging_Flags.PNG
Database look like this, 
DB look.PNG
Any help will be greatly appreciated. I want to reduced data logging to server to save space. Thanks so much in advance.
 
Kind regards

Compatibility of B&K 4384 with NI 9234

$
0
0

I have a B&K 4384 and I want to know if it works properly if I connect it to NI 9234 or it will be damaged.

Get user information problem

$
0
0

Hi, 

I write codes to get the current user information.But it shows an error after running. So I run the vi step by step  and found it occured at currentuser property. It seems the currentuser property output is not a refnum. This caused the problem.

Can anybody help me tell me the reason?

Thank you in advance!

open28_0-1582695754504.png

open28_1-1582695794542.png

 

 

 

teststand 2016 enters not responding state when editing search directories

$
0
0

Teststand opens okay

"edit search directories" also opens okay

but when I change something inside "edit search directories" (say add a directory), teststand enters (not responding) state.


Write to database Operation when Running Selected Step

$
0
0

I'm writing to a database that has a specific format for process monitoring. The problem I'm facing is that when I use run selected steps, only the data from the selected steps is being written to the database and therefore causing a shift in my data because the other steps aren't being recorded. I was hoping that run selected step would mark the other steps as skipped in which I'm able to see if the step is skipped to write null data for that step. What run selected step seems to do is recreate the sequence to only have the selected steps in it, in which I can't detect any skipped steps. Has anyone faced this issue? Am I understanding the how run selected steps work, and if so is there a way to override this to perform in the way that I would like where run selected steps just skips the steps that aren't selected?

Python to Run TestStand - given example not working

NI-272x reference VI not executable in LabVIEW runtime engine but it is ok in development environment

$
0
0

Hello everyone,

I am using a TestStand action step to call a NI-272x reference VI (attached).  TestStand complained that the VI is not executable when I configure the LabVIEW adapter to use the LabVIEW runtime engine.  The issue goes away if I configure the adapter to the LabVIEW development environment.  The VI runs just fine in LabVIEW.  This is a deployment machine and I am trying to use the LabVIEW runtime engine, not the development license.  I attached the MAX report.  Would anyone please tell me what is going on and how to solve it?

Thank you,

 

Error while runnig simple TestStand operator user interface

$
0
0

Hi,

I was trying to run a TestStand Test sequence using the simple teststand user interface and I encoutred the following error : 

 

Error executing substep 'Post'.
The method was called from an invalid step type
Stack Trace:
at NationalInstruments.AsamXilSteps.Core.RuntimeManager.ExecuteStep(SequenceContext thisContext, String stepWrapperId)

 

Knowing that I'm using ASAM XIL steps in my sequence to use VeriStand channels.

 

What could be the cause of this error and how could we solve it ?

 

Mahmoud63PPC_0-1582806899313.png

 

 

Python Adapter in TestStand 2014

$
0
0

I am using the Python Adapter in TestStand 2014 to send commands to my device and get back values such as voltage\temperature\current. When I send commands that report back a single value, I am able use the String or Number Return Value options to get the values. However, when the method returns a value and then prints out information, TestStand returns an error and I am unable to collect the data.

 

Example:

Get_Status() returns:

Result: 1

"Voltage: 14

Current: 5

Temperature 30"

 

I also noticed that after I run the test, if I try to run a second unit (even if it is the same unit), the python seems to lock up and refuse to run any step. Once I terminate and run again (which presumably unloads python), it will work.

Online TestStand user group - today 28th Feb

$
0
0

Hi all,

 

our TestStand usergroup has it's 3rd meeting today at 1pm (GMT).

 

As always we will be streaming the event on MS Teams (you don't need Teams installed, you can access the presentation through a browser).

 

You can find the agenda here:

 

https://forums.ni.com/t5/UKTAG-UK-Test-Automation-Group/UKTAG-Meeting-3/gpm-p/4008579?profile.language=en

 

If you are interested in following some or all of the presentations, please sign up here for online access:

 

http://bit.ly/UK_TAG3_Register

 

The MS Teams link is here:

 

http://bit.ly/UK_TAG3

 

as always we would like to encourage active participation especially from the online community. If you have a microphone, please DO chime in to ask questions or add otherwise to the connversation. If you don't have a microphone you can still participate via the Teams chat functionality

 

Many thanks

 

Best Regards

 

Mathis

how can one execution stop the other execution in parallel testing mode

$
0
0

Hi

 

I have one question, how can one execution stop the other execution in parallel mode,

 

for example, teststand run two same executions in one time, when one execution run a specific sequence, this execution need stop the other execution, when the specific sequence was donw, continue the other execution.

 

Thanks in advance and looking for any suggestion if any one can help me.

exampleexample


Deployment Utility - Malfunctional installer being created

$
0
0

Hi all,

 

I'm having an issue with the Deployment Utility.

After finally resolving all "problems" in our code the Deployment Utility finally allowed for the installer to be built.

But when executing the installer (which is meant to contain all packages and install them with no user choice) right after the start an error message appears claiming at least one "NI-DCPower Runtime" needs to be installed.

When double-checking the chosen packets the DCPower V19.5 is selected. Just in case something was missed out, the checkbox "Automatically Include Required Installers" was ticked. Unfortunately this didn't solve the situation.

A search for the runtime of DCPower didn't turn up any result.

 

Can anyone explain this behaviour or, preferred, offer a solution for this?

Cannot write the GeneralEngine.cfg file

$
0
0

I am seeing this dialog box a couple times per day, but certainly not for every UUT that is run through:

Tdot_1-1582924956235.png

This is with TestStand 2016 64bit. 

I had made a change where I granted all users full permissions to the Cfg folder, and I thought that had solved the problem but it recently happened again even with these settings.

Does anyone know why this error happens?  It seems to be recoverable in the sequence editor, if "OK" is clicked soon enough, but the operator interface just freezes and crashes.

 

Simple UI exit error

$
0
0

open28_0-1583138167635.png

Hi, 

I Just designed the GUI based on the teststand default simple GUI. I just add the function that is to transport the variable between Teststand and labview . Attached please find software. The running process is OK but it would get an error the picture shows after I click the "EXIT" button. I am very confused about it . 

I really hope someone can help me find the reason. 

Thank you in advance!

 

 

open28

TestStandにおけるVIのモーダル表示

$
0
0

TestStandからVIをモーダル表示させるとフロントパネルは表示されるのですが、

TestStandの後ろに表示されてしまいます(モーダル表示されない)。

VIの設定はダイアログにしています。

どうしたらよいでしょうか?

よろしくお願いいたします。

TestStand Sequence Editor Float Pane not available?

$
0
0

Using TestStand 2019 the sequence editor option to float a pane is greyed out. I've checked Configure>>Sequence Editor options>>UI Configuration and the lock is off (unchecked) and nothing else is checked except Display documents in Tabs. 

Any Ideas as to why? According to Help I should also be able to drag off window to float but that doesn't work either. Rearrange and Hide all works.

Viewing all 6525 articles
Browse latest View live


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