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

A generic error occured in GDI+

$
0
0

Hi all,

 

Since today, I get an error when I launch SeqEdit 2019 : A generic error occured in GDI+.

I get this error message and SeqEdit closes.

I'm running TestStand (32bits) under Windows 10 (64 bits).

I found a similar issue but under Windows XP : http://digital.ni.com/public.nsf/allkb/2210EDE67847514986256FA5000282D3?OpenDocument

But not applicable for Windows 10.

 

Can someone help me or did someone get the same issue?

I'm totally blocked and I can't contine my development.

 

many thanks in advance for your help

 

 


Where is Step information, properties...?

$
0
0

I am writing an app that generates TestStand starter workspaces.  They will be a head start for our test developers and shall include initialization of instruments, helper sequences, etc.  My biggest problem is determining/setting the properties, settings, etc. for each step type.  This topic helped, but wasn't the whole answer.

 

The topic provided the location and names of the settings for the "If" step. I thought I had finally found where Step settings were stored (sub properties), but I was wrong.  Other steps seems to store their settings elsewhere.  For instance, the GoTo step stores its settings in CustomTrueActionTargetByExpr.  Is there any documentation that describes where each step type's settings are stored?  At the moment I have to find these settings by searching for forum topics or reverse-engineering.

 

 

Python ni_teststand_helper import issues

$
0
0

Hi all,

 

I installed the Python Step Types plug-in for the TestStand 2017 dev application. I followed the steps in the NIPythonStepType.pdf and proceeded to load up the Computer Motherboard Test Sequence.seq file from the Examples' Python folder.  Running that triggered an error: "

 

 

broken link in training module 7

$
0
0

training exercise 7... clicking download examples results in

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>D2D578213C0D5807</RequestId>
<HostId>
Xi3tGdpOY4246UjBoJJe7jqJDqR5BEZd9WS5oXV0gYIWSLHFuDVzgKhb/IHox6+H2Wdb5FQR9vg=
</HostId>
</Error>

TestStand VI in Step Settings Module does not have Default box

$
0
0

The Default check box does not display in Step Settings Module for the parameter. It used to do it. Is this a bug in Labview/Teststand when the VI had many controls/indicators? I am using V14.

 

20191223_StepSettingsParamDefault.PNG

 

 

Chage Process model to log to a database

$
0
0

I am new to TestStand and I was wandering how to change the process model in order to log into a database. When I use the sequence editor, it log correctly to the database. But when I use a C# interface, to execute the tests sequence, it generate a file insted...

 

Any help will be appreciate,

Thanks !

Start TestStand sequence as admin from command line

$
0
0
@echo off cd "C:\Program Files\National Instruments\TestStand 2016\Bin" start /min "" SeqEdit.exe /runEntryPoint "Test UUTs" "C:\Peritec\9454 Renesas for Oita\SLT Test System_ver109c\Sequence\SLT Test_Main_Ver2016.2.seq" exit

I would like to run this sequence as admin and set it as start up program. 
I create a .bat file with content above but I don't know how to run SeqEdit.exe as admin using command.

I research and see something about powershell but I don't know how to integrate my command to powershell.
Please help me to run this sequence as admin using command.
Thank you in advance

How to use the API to set the multiple numeric limits

$
0
0
For the numeric limit test , i can find the api limit property to set limits. But for the multiple numeric limits test , i can`t find the limit property to set limits. how can i do? Thank you in advance!

get warning "Could not find DIA CLSID for this version of Visual Studio "

$
0
0

Using TS2010 version , debug .NET DLL(by VS2017), get this warning , so what shall I do next ? rebuild DLL in VS2010 or 2008 ??

[TSM] Index Time Display on OI

$
0
0

Hi All

 

I am customizing TestStand semiconductor module OI and would like to show indext time on it.

During my development, I have two questions:

1. How do I get the index time?

    I searched TestStand and TSM help.  It seems TSM API doesn't offer get index time method.

    TSM APIs provide "GetAverageSockerTime()", "GetAverageCycleTIme()", "GetWindowAverageCycleTime()", and "GetWindowAverageSocketTime()" methods but not "GetAverageIndexTime()". 

    Shall I subtract GetWindowAverageSocketTime() from GetWindowAverageCycleTime?

2. What is the index time I get from 1?

    Based on the help page http://zone.ni.com/reference/en-XX/help/373892H-01/tssemiconductor/execution/

    I assume the GetWindowAverageCycleTime() - GetWindowAverageSocketTime() returns me "handler index time".  In some situation, let me assume I have a very fast handler with a very short index time, while my test plan is long and it takes TestStand long time to generate test reports for each Batch , i.e handler index time > tester index time; in this case, what do I get from "GetWindowAverageCycleTime() - GetWindowAverageSocketTime()".

 

Thank you

 

Vincent

USRPB210

$
0
0

My project is based on transmission and reception of  OFDM signal. I have only one USRPB210 board. It have 2 transmitter and receivers is i am able to transmit and receive signal ?

 How can i calculate resource utilization of FPGA on board?  

TSM TestStand socket time has a tail

$
0
0

Hello,

 

I would like to understand why there is a tail for socket time distribution(far from the main population).

i thought It have to be ideally consistent for every single batch(or DUT) or it should have at least Gaussian distribution. 

even though the number of tail samples is quite a few, i like to have more insight on this.

 

Here i am attaching the distribution that showing socket time i got from stdf file.

by the way, i used the batch model for the measuring.

 

jonghkim_0-1577759485716.png

 

Thanks!

시리얼 통신 버퍼 읽기

$
0
0

버퍼를 읽는 중에 데이터가 제대로 들어오다가 숫자가 깨져서 들어오는데 이게 단순히 통신속도 때문인가요?

그런데 버퍼 읽기 위한 바이트를 프로퍼티 함수로 늘리고 딜레이 함수로 기다리고 읽는 것 같은데도 중간 중간 깨져서 들어와요ㅜㅜ

How to get the property loader working from a custom path

$
0
0

Hi,

Instead of the default public location which is C:\Program Files\National Instruments\TestStand 2016\Cfg\ We want to have a custom location such as C\<Custom file path>\TestStand\Cfg 

 

and the Cfg folder from C:\Program Files\National Instruments\TestStand 2016\Cfg\  is copied to C\<Custom file path>\TestStand\Cfg

 

The batch file I run to change the path is this

cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\TestStand\16.0" /v "CustomPublicLocation" /d "C:\xyz\TestStand" /f

 

and

 

cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\TestStand\16.0" /v "CustomPublicLocation" /d "C:\xyz\TestStand\Cfg" /f

 

When I do the above settings

The property loader posses an error 

------Multiple instances of file

 

and under the "Source Type" in property loader step I do not any options such as "csv" or Txt" etc

 

What other files I should have in my custom folder from the NI Test stand folder for the property loader to work properly

 

Kindly help

 

 

compile simple interface with VS 2017

$
0
0

I am getting the error...


Error The command "call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\..\Tools\vsDevCmd32.bat"
link.exe /edit /LARGEADDRESSAWARE /nxcompat:no "D:\TestStand\UserInterfaces\Source Code\bin\x86\Release\TestExec.exe"" exited with code 9009. TestExec

 

I am Running TestStand 2019 and VS 2017.

I found the Post Build Event command line and changed it to read call "$(DevEnvDir)..\Tools\vsDevCmd32.bat" from vsvars32.bat.

I also tried a re-edit it to point explicitly to the directory where the file resided.

I also added the folder to the PC environment variable.

I am apparently just shotgunning and not understanding the root cause.

I have VS 2013 installed on my PC.  If that creates a conflict, I can uninstall it.

Any suggestions?


TestStand 2019 installation and login Failed

$
0
0

Dear Mr. or Miss,

   I am an engineer focus on testing tool development from China, i would like to  use the tool of TestStand for trying ,i downloaded the installation of TestStand 2019 online installation (ni-teststand-2019-x86_19.0_online_repack.exe). Unfortunately, installation failed after trying to setup several times. the error shown as attached image.  the maily error: "There was a problem  executing the request(执行请求时出现问题)"。

  the installation  enviroment  shown as bellow:

  OS:  Win10  x64

  RAM:8G

  Drvie: 40G.

 

And by the way, after i shut down and restart the PC. it seems to be ok(I don't know why and what was happend.), but .there occured another question: there need login and  password in the login diaglog box . What's the password? by the way ,the default login name is "adminstrator" which is not my PC login name. 

please kindly give me some suggestion and advice。

Thanks for your attention

 

BRD

ClaireDing

 

 

 

 

 

   

    please kindly to give me some suggesion

Assigning values to all Elements of Container in one step

$
0
0

Hi All

 

I have a container which has certain numeric and string elements.

I want to assign values to all these numeric and string elements at once through one step.

Something similar to array.

For eg: if I have numeric array A1 defined in TS , I can assign multiple elements to it by syntax: 

A1 = {1,2,3,4,5}

 

Is there a similar syntax/way to assign to values to all elements of containers at once?

 

Thanks in advance

 

TestStand Database logging Error -2147024882

$
0
0

Hello, 

I have a test Sequence in TS2012, it runs fine but occasionally it gives error for logging to database. Please see bellow error screenshot. 

ahussain_0-1578311379842.png

Error information:
An error occurred calling 'LogResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
An error occurred executing a statement.
Schema: MySQL Insert (NI)
Statement: PROP_BINARY.
Description: Not enough storage is available to complete this operation.
Number: -2147024882
NativeError: -2147024882
SQLState:
Reported by: Provider
Source: TSDBLog
 
Do you have any idea what could cause this issue. On The fly result logging is disable as well. have tried all possible options what I could find related to this error but no luck. Any help will be greatly appreciated.
 
Thank you.

saving in original version

$
0
0

I am running Teststand 2016, but out in the field we have some much older systems. I want to edit these sequence files here and save them for the original version. My probem is I do not know that version. How do I read the version of teststand that a sequence file was created for?

Is there any way of saving as original, without doing the save as and manually selecting the version?

Thanks.

David

 

Programmatically check active licenses

$
0
0

Hi all,

is there are way to programmatically check if specified products are activated with network and/or local license? For example TestStand deployment, Switch Executive deployment, etc.

Viewing all 6529 articles
Browse latest View live


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