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

OOM of Parameter 6 (DataRCV) when function SendRcvData_F of ExtraPuTTY.dll invoked in TestStand

$
0
0

Hello

When ExtraPuTTY.dll 's function "SendRcvData_F" is invoked by TestStand 2010, Loop every 2 minutes, it is ok but after 1 hours the Run-Time error reported :

details : Out of memory. error in parameter 6 "DataRCV",

error code:  -17000

 

How to solve it ?

Thanks

 

 

 

  


UIControls and test socket exectuions.

$
0
0

Hello

 

Using UI Controls, the Application Manager and ExecutionView Manager can distinguish between the test socket executions and other executions. 
For every execution that is started a an StartExecution event is sent.
But from the ExecutionView Manager, the ExecutionChanged event is send only when the test socket exeuction entrypoints in the process model is started. 

How does the UI Controls identify what is an socket exectuion entrypoint and what is  not?

 

 

calibration of NI 9214

$
0
0

I'm attempting to calibrate a NI 9214 DAQ card using a fluke multicalibrator and signal express. I've gone though and checked voltage at high resolution and high speed which according to table 4 in the procedure. All voltages are fine. My question is how important is it to check the CJC if voltages are passing? I do not have the NI-CAL-9214. I put in a request for a quote and to see if that adaptor is available, but if the voltages are ok is it safe to assume this card will read accurately without checking the CJC? Or is it a must to get this adaptor and go through the rest of the verification?

executing labview VI in Teststand with deployment license

$
0
0

I am using NI Teststand 2016 and LabVIEW 2018 for one of the project. we got Teststand Deployment license. but for labVIEW we don't have any license. LabVIEW VI's are called in the Test sequence. when never i try to execute the Test sequence. i will have to change the system date to run the TS since labview is not licensed one. any idea how to solve this? i donot have labView run time engine installed on my machine. 

 

thanks,

kalpana 

DLL multi instance issue

$
0
0

Hi all & thanks in advance.

 

I´m trying to load DLLs generated by CVI that it´s calling dinamically/statically(i tryed both) to a DLL.

I call 3 times to different DLLs thats it´s calling to same instrument Dll. when i try run, a Pop-up message return. The problem it´s if i try to run and locate this DLLs on EXE developed by CVI at the same time . Works fine without any problem. So why it´s ocurring this on Test stand?

 

The DLL for sure it´s fine, due to it´s working on the EXE...

So once i try to run Test stand, the message that shows it's:

 

Could not load DLL or external library 'C:\NACHO\DLLS\PSA_Driver_CAN_Vector_N1.dll'.

This DLL requires the following DLLs which could not be found or loaded:
api-ms-win-core-heap-l2-1-0.dll (Not Found)
api-ms-win-core-libraryloader-l1-2-0.dll (Not Found)
api-ms-win-core-profile-l1-1-0.dll (Not Found)
api-ms-win-core-processthreads-l1-1-2.dll (Not Found)
api-ms-win-core-sysinfo-l1-2-1.dll (Not Found)
api-ms-win-core-errorhandling-l1-1-1.dll (Not Found)
api-ms-win-gdi-internal-uap-l1-1-0.dll (Not Found)
api-ms-win-core-delayload-l1-1-1.dll (Not Found)
api-ms-win-core-apiquery-l1-1-0.dll (Not Found)
api-ms-win-core-rtlsupport-l1-2-0.dll (Not Found)
api-ms-win-eventing-provider-l1-1-0.dll (Not Found)
api-ms-win-core-processthreads-l1-1-3.dll (Not Found)
api-ms-win-core-registry-l1-1-0.dll (Not Found)
api-ms-win-core-heap-l1-2-0.dll (Not Found)
api-ms-win-core-memory-l1-1-2.dll (Not Found)
api-ms-win-core-enclave-l1-1-0.dll (Not Found)
api-ms-win-core-handle-l1-1-0.dll (Not Found)
api-ms-win-core-synch-l1-2-0.dll (Not Found)
api-ms-win-core-synch-l1-2-1.dll (Not Found)
api-ms-win-core-file-l1-2-1.dll (Not Found)
api-ms-win-core-file-l1-2-2.dll (Not Found)
api-ms-win-core-io-l1-1-1.dll (Not Found)
api-ms-win-core-job-l1-1-0.dll (Not Found)
api-ms-win-core-threadpool-legacy-l1-1-0.dll (Not Found)
api-ms-win-core-threadpool-private-l1-1-0.dll (Not Found)
api-ms-win-core-libraryloader-l1-2-2.dll (Not Found)
api-ms-win-core-libraryloader-l2-1-0.dll (Not Found)
api-ms-win-core-namedpipe-l1-2-2.dll (Not Found)
api-ms-win-core-namedpipe-l1-2-0.dll (Not Found)
api-ms-win-core-datetime-l1-1-1.dll (Not Found)
api-ms-win-core-datetime-l1-1-2.dll (Not Found)
api-ms-win-core-sysinfo-l1-2-3.dll (Not Found)
api-ms-win-core-timezone-l1-1-0.dll (Not Found)
api-ms-win-core-localization-l1-2-1.dll (Not Found)
api-ms-win-core-localization-private-l1-1-0.dll (Not Found)
api-ms-win-core-processsnapshot-l1-1-0.dll (Not Found)
api-ms-win-core-processenvironment-l1-2-0.dll (Not Found)
api-ms-win-core-string-l1-1-0.dll (Not Found)
api-ms-win-core-debug-l1-1-1.dll (Not Found)
api-ms-win-core-errorhandling-l1-1-3.dll (Not Found)
api-ms-win-core-fibers-l1-1-1.dll (Not Found)
api-ms-win-security-base-l1-2-0.dll (Not Found)
api-ms-win-core-comm-l1-1-0.dll (Not Found)
api-ms-win-core-wow64-l1-1-1.dll (Not Found)
api-ms-win-core-wow64-l1-1-0.dll (Not Found)
api-ms-win-core-realtime-l1-1-0.dll (Not Found)
api-ms-win-core-processtopology-l1-2-0.dll (Not Found)
api-ms-win-core-namespace-l1-1-0.dll (Not Found)
api-ms-win-core-file-l2-1-2.dll (Not Found)
api-ms-win-core-file-l2-1-1.dll (Not Found)
api-ms-win-core-xstate-l2-1-0.dll (Not Found)
api-ms-win-core-localization-l2-1-0.dll (Not Found)
api-ms-win-core-normalization-l1-1-0.dll (Not Found)
api-ms-win-core-fibers-l2-1-1.dll (Not Found)
api-ms-win-core-sidebyside-l1-1-0.dll (Not Found)
api-ms-win-core-appcompat-l1-1-1.dll (Not Found)
api-ms-win-core-windowserrorreporting-l1-1-0.dll (Not Found)
api-ms-win-core-console-l1-1-0.dll (Not Found)
api-ms-win-core-console-l2-1-0.dll (Not Found)
api-ms-win-core-psapi-l1-1-0.dll (Not Found)
api-ms-win-core-psapi-ansi-l1-1-0.dll (Not Found)
api-ms-win-security-appcontainer-l1-1-0.dll (Not Found)
api-ms-win-core-util-l1-1-0.dll (Not Found)
api-ms-win-core-threadpool-l1-2-0.dll (Not Found)
api-ms-win-core-registry-l1-1-1.dll (Not Found)
api-ms-win-security-activedirectoryclient-l1-1-0.dll (Not Found)
api-ms-win-eventing-classicprovider-l1-1-0.dll (Not Found)
api-ms-win-devices-config-l1-1-1.dll (Not Found)
api-ms-win-core-kernel32-legacy-l1-1-1.dll (Not Found)
api-ms-win-core-heap-obsolete-l1-1-0.dll (Not Found)
api-ms-win-core-stringansi-l1-1-0.dll (Not Found)
api-ms-win-core-string-obsolete-l1-1-0.dll (Not Found)
api-ms-win-core-kernel32-private-l1-1-1.dll (Not Found)
api-ms-win-mm-time-l1-1-0.dll (Not Found)
api-ms-win-mm-mme-l1-1-0.dll (Not Found)
api-ms-win-mm-misc-l1-1-1.dll (Not Found)
api-ms-win-core-privateprofile-l1-1-1.dll (Not Found)
api-ms-win-core-path-l1-1-0.dll (Not Found)
api-ms-win-core-kernel32-private-l1-1-2.dll (Not Found)
api-ms-win-core-crt-l1-1-0.dll (Not Found)
api-ms-win-core-crt-l2-1-0.dll (Not Found)
api-ms-win-eventing-obsolete-l1-1-0.dll (Not Found)
api-ms-win-core-interlocked-l1-2-0.dll (Not Found)
api-ms-win-security-lsalookup-l1-1-1.dll (Not Found)
api-ms-win-security-lsapolicy-l1-1-0.dll (Not Found)
api-ms-win-core-string-l2-1-0.dll (Not Found)
api-ms-win-core-atoms-l1-1-0.dll (Not Found)
api-ms-win-core-localization-obsolete-l1-3-0.dll (Not Found)
api-ms-win-core-appinit-l1-1-0.dll (Not Found)
api-ms-win-core-com-l1-1-1.dll (Not Found)
api-ms-win-crt-string-l1-1-0.dll (Not Found)
api-ms-win-crt-runtime-l1-1-0.dll (Not Found)
api-ms-win-crt-private-l1-1-0.dll (Not Found)
api-ms-win-core-winrt-error-l1-1-1.dll (Not Found)
api-ms-win-core-com-midlproxystub-l1-1-0.dll (Not Found)
api-ms-win-core-winrt-string-l1-1-0.dll (Not Found)
api-ms-win-security-sddl-l1-1-0.dll (Not Found)
api-ms-win-core-com-private-l1-1-0.dll (Not Found)
api-ms-win-core-com-private-l1-1-1.dll (Not Found)
api-ms-win-core-shlwapi-legacy-l1-1-0.dll (Not Found)
api-ms-win-core-quirks-l1-1-0.dll (Not Found)
api-ms-win-core-psm-key-l1-1-0.dll (Not Found)
api-ms-win-service-management-l1-1-0.dll (Not Found)
api-ms-win-service-winsvc-l1-2-0.dll (Not Found)
api-ms-win-crt-locale-l1-1-0.dll (Not Found)
api-ms-win-core-synch-l1-1-0.dll (Not Found)
api-ms-win-core-processthreads-l1-1-0.dll (Not Found)
api-ms-win-core-sysinfo-l1-2-0.dll (Not Found)
api-ms-win-core-file-l1-1-0.dll (Not Found)
api-ms-win-core-file-l2-1-0.dll (Not Found)
api-ms-win-core-file-l1-2-0.dll (Not Found)
api-ms-win-core-errorhandling-l1-1-0.dll (Not Found)
api-ms-win-core-localization-l1-2-0.dll (Not Found)
api-ms-win-core-rtlsupport-l1-1-0.dll (Not Found)
api-ms-win-core-processthreads-l1-1-1.dll (Not Found)
api-ms-win-core-debug-l1-1-0.dll (Not Found)
api-ms-win-core-sysinfo-l1-1-0.dll (Not Found)
api-ms-win-core-libraryloader-l1-1-0.dll (Not Found)
api-ms-win-core-interlocked-l1-1-0.dll (Not Found)
api-ms-win-eventing-controller-l1-1-0.dll (Not Found)
api-ms-win-eventing-consumer-l1-1-0.dll (Not Found)
api-ms-win-service-core-l1-1-1.dll (Not Found)
api-ms-win-service-core-l1-1-2.dll (Not Found)
api-ms-win-service-management-l2-1-0.dll (Not Found)
api-ms-win-service-private-l1-1-2.dll (Not Found)
api-ms-win-service-private-l1-1-1.dll (Not Found)
api-ms-win-security-base-private-l1-1-1.dll (Not Found)
api-ms-win-security-audit-l1-1-1.dll (Not Found)
api-ms-win-core-perfcounters-l1-1-0.dll (Not Found)
api-ms-win-core-string-l2-1-1.dll (Not Found)
api-ms-win-core-localization-l1-2-2.dll (Not Found)
api-ms-win-core-version-l1-1-0.dll (Not Found)
api-ms-win-core-shlwapi-obsolete-l1-2-0.dll (Not Found)
api-ms-win-core-kernel32-legacy-l1-1-5.dll (Not Found)
api-ms-win-core-url-l1-1-0.dll (Not Found)
api-ms-win-core-registryuserspecific-l1-1-0.dll (Not Found)
api-ms-win-storage-exports-internal-l1-1-0.dll (Not Found)
api-ms-win-storage-exports-external-l1-1-0.dll (Not Found)
api-ms-win-shell-shellcom-l1-1-0.dll (Not Found)
api-ms-win-shell-shellfolders-l1-1-0.dll (Not Found)
api-ms-win-core-job-l2-1-0.dll (Not Found)
api-ms-win-security-capability-l1-1-0.dll (Not Found)
api-ms-win-core-versionansi-l1-1-0.dll (Not Found)
api-ms-win-core-version-l1-1-1.dll (Not Found)
api-ms-win-core-versionansi-l1-1-1.dll (Not Found)
api-ms-win-core-version-private-l1-1-0.dll (Not Found)

Can 64bit TestStand run 32bit Labview

$
0
0

Can 2016 64bit TestStand run 32bit Labview? The Labview calls 32bit Dlls. 

 

I don't think so, but I'm looking for comformation. I think TS is recompiling the Labview as 64bit...

How to access/dereference a variable whose path is updated in running mode?

$
0
0

Good afternoon,

I have a TS sequence where the user can select the destination storage path of a variable (array of numbers dynamically created) and that path will be stored into another variable (string).

 

I need to access the array of numbers (whose path is dynamic) to determine its number of elements, get its numeric values, but i couldn´t make it.

 

E.g.: FileGlobals.DUT.MPI_storagePath = "FileGlobals.Product.MPI" (string with destination path)

        FileGlobals.Product.MPI[0...3]   (array of numbers)

 

Thanks in advance!

Regards.

 

Best Practices for using .Net code Modules

$
0
0

Hello,

In a sequence I have to use a .net code module that I also use outside TestStand  (in a Windows Form application). For this reason I'm currently using the code module without using the TestStand Interoperability API meaning that I do not  pass Sequence Context to my dll, I just use its function as I do in .net application. It works, I'm just wondering if it is a bad practice. 

Furthermore, I choosed to use fileglobals to sto store the object reference to my dll since it is used in many subseqeunces of the sequence, even in this case I'm wondering if it is a bad practice.

Thanks in advance,

Francesca 


Call Stack; Limit of the stack register

$
0
0

Greetings,

So I'm Building a list, Kind of like a database. My sequence reads data in, and then calls itself if another set of data is present. So it's a recursive sequence.

When no more data is present, the sequence doesn't call itself anymore but just runs through.

Everything works fine, until a critical number of sequences have been called. Then the call stack is simply overflowing.

 

So my first Question is: What's the Limit fo the call stack Register? Where can I find the Limit.

and my second Question is, is it possible to increase the number of stacks you can have in the call stack Register?

 

Regards, Matthias

 

P.S. I'm only interested in the call stack Register, please no alternative Solutions, only where's the Limit & is it possible to increase it

Install license problem

$
0
0

Hello all,

I'm trying to install TestStand (1st time for me) on a system that already has CVI and many other NI progs working fine. I have a blanket site license for all NI products. I downloaded the installer from ni.com

 

If I go in the license manager, all is green/licensed for my various products, including TestStand (Base deployment engine / Custom sequence editor / Debug deployment / Development system) but I can't find any details (there's nothing to click)

 

But when I start teststand it asks between Evaluate / Activate and Purchase. And activating leads to a box with XXXX for serial number for TestStand and I don't know what to do with this. Where are the serial numbers and activation codes supposed to come from if not from the License manager ?

IVI DMM Step Error -1074134964 for NI PXIe-4081

$
0
0

Hello Community,

My situation is the following,

We are starting to update some tester's DMMs on our production Machines. Before we were havindg PXI 4071 & 72, but we are moving to PXIe 4081 & 82, however, after setting it up, installing the drivers and configuring the IVI Logical name  on NI MAX , the IVI Step from Teststand keeps showing the same Error

-----------------------------------------------------

Session Manager: niDMM_InitWithOptions returned an error: -1074134964 (0xbffa004c). Primary Error: (Hex 0xBFFA004C) The option string parameter cpontains an entry with an unknown option value.

-----------------------------------------------------

So I took a look at the Step Option ad tried to edit it, but I still have the same error when trying to validate the configuration, It seem that no configuration is valid for this DMM.

 

Could you help me out to figure out what I am missing or what I am doing wrong?

Best Regards

 

Testand 2013

IVI 16.0.1

DAQmx 19.0

 

 

    

Pedro R.

 

 

Password not required when adding callback from locked processModel

$
0
0

Hi all,

We locked a Model sequence with a password.

It appears that the password is not required when adding a callback to a sequence file that uses the locked model, so the copied callback becomes visible.

Is there a reason for that ?

I think if the model is locked, the password should be required to copy a callback.

 

Thanks and Regards

Change "SerialNumber" to other text in Teststand report

$
0
0

Hello Everyone,

 

I would like to change "SerialNumber"  text into Report Header as shown in figure. Is there any easy way to do this?

Just replace "SerialNumber" with othertext for example "XYZ".

 

 

Searl_number.PNG

Thanks in advance.

Versions of TestStand

$
0
0

I am trying to help a new customer remotely, before I travel the several hours to their site, straighten out some questions with their test system. They think they have TestStand 4.2 and 4.5 installed, don't know what version LabVIEW was used to create their test VIs. Looking at the compatibility chart on the NI site shows TS versions to 4.2.1 and then they switched to the year versioning like LabVIEW, with TS2010. They are pretty unfamiliar with NI "stuff", and I am trying to think of the right questions, did tell them to launch MAX, which if it is on there will resolve the what is installed questions.

So, what versions were there? Was there a 4.5 (4.3, 4.4?)

Unable to access m9 Executing test in parallel

$
0
0

Hi All,

Can anyone please help me to open the M9 COURSE in test stand development ? I am not able to access the video files in that?


Package-based distribution and shortcut command-line arguments

$
0
0

I am testing out the Deployment Utility and package-based deployment. TestStand 2019, 32-bit.

I would like to add a desktop shortcut that would open a user interface with the correct sequence file and a custom environment.

It is easily done using command-line arguments, but these are disabled with package-based distribution, as per TestStand help.

 

How do I achieve the desired behaviour?

TestStand - change test limits based on a previous test result.

$
0
0

Hi there.

 

Is there a way of setting limits during a test? What we want to do is take a measurement, read back the result, and based on this adjust the test limits later on in the test sequence.

 

TIA

Jim.

Custom reports for every UUT in Parallel Mode

$
0
0

Hey everyone,

I'm developing a test sequence to be executed in the parallel model, and every Test Socket has its own sub sequence and set of steps (Socket 1 executes Test1, Socket 2 execute Test2 and so on...)

 

I configured my Report Options to generate a new UUT report for each UUT and for each Test Socket as well. This works fine but its configured to save in the Client Sequence File Directory, but I need to save the reports for each Test Socket in a custom folder and have custom base name.

 

This is what is being generated at the moment: 

rk_tinelli_0-1580220455616.png

What I need to do, have a "Reports" folder with the following sub folders:

rk_tinelli_1-1580220694767.png 

Inside folder "Socket4",for example, I'm supposed to have this:rk_tinelli_3-1580220935557.png

 

You can see that the base name is now "Test4_Report" and it's destination is not specific and equal to the other sockets.

 

Is there any way to set a custom path for every socket and save the reports for every UUT?

 

Things I tried:

- this link from the NI website, but didn't help for custom folder, only changed the folder where all of them were saved.

- Using the "ReportOptions" callback and call it in my PreUUT, after I identify my test Socket, with the modified the parameters described below but that didn't work

Parameters.ReportOptions.BaseName = FileGlobals.BaseReportName[4], Parameters.ReportOptions.Directory = FileGlobals.PathSocket[4], Parameters.ReportOptions.DirectoryType = "SpecificDirectory"

 

 

I'm avoiding to have a a VI module to move the report file (after the Report creation) and modify it's name, so it's one less thing to maintain in the overall test machine.

goto cleanup on failure programmatically

$
0
0

Hi all,

 

I try to manage the "goto cleanup on sequence failure" mode programmatically (without using station options).

For that, I'm using callback SequenceFilePostStepFailure and I perform a Terminate.

So the sequence terminates directly after failure but the sequence state is "Terminated".

I'd like to have state "Failed"

 

How can i do that?

Thanks for your help

 

UserInterface for Teststand with Labview

$
0
0

Hi there,
I want to use a user interface from Teststand with Labview. I have now tested the example user interfaces. Unfortunately, I always have the problem that the memory requirement of Labview is increasing. I am using Teststand 2014 and Labview 2014. Even if I close the completed executions, the problem is not solved.
I'm grateful for all information ...

Viewing all 6532 articles
Browse latest View live


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