Hi, i am looking for suggestion to get free android mod APK(or any other method) for free in-app purchases. Please let me know if you have some in mind.
in-app purchases
Problems using ModifyReportHeader to add additional header fields
Hi there,
I'm trying to add some additional header fields to my HTML report in TestStand using the ModifyReportHeader callback, but the results do not seem to be propagating through to the report.
I am setting Parameters.UUT.AdditionalData.SetFlags("",0,PropFlags_IncludeInReport) in the PreUUT sequence, and then sending some information to the additional data parameter using the Parameters.UUT.AdditionalData.SetValString() method.
This is working fine in the PreUUT loop, but I have some data that I do not get until I have run through some code modules, So I am trying to add some additional results using the ModifyReportHeader callback.
In ModfyReportHeader I am again calling Parameters.UUT.AdditionalData.SetValString() to add to the AdditionalData Container. When I step through the sequence, I see the additional fields appear correctly in the AdditionalData Container, however when my sequence completes, these additional fields are not displayed on the report.
I've attached some pictures to show what I mean. I can't quite work out why the PreUUT code works, but the ModifyReportHeader code does not, especially when I can see that the data is being added to the container.
Any help would be appreciated.
Kind Regards,
Lou
How to execute a custom Configuration Entry Point by using a Button in the TestStand Simple UI
Hi everybody,
i want to execute a custom Configuration Entry Point, which i created in TestStand and called "TestSettings", by using the TestStand Simple UI.
For this issue i created a Button and connected the reference as an uiObj to the ApplicationMgr.ConnectCommand Method. As cmdKind i used the CommandKind_ConfigurationEntryPoints_Set. The problem is now, that whatever Index i use, i can't link my Configuration Entry Point "TestSettings" to the Button. But the standard ConfigurationEntryPoints, like Result Processing or Model Options, i'm able to link and execute with this Button.
I also tried to connect the ConnectCommand Method to the SequenceFileView Manager and the ExecutionView Manager, but without success.
Can anybody help and give some advises?
Best Regards
Aborting a LabVIEW VI called in TestStand
Hi,
I am launching a VI from TestStand and trying to abort the same in one scenario. When the VI is being called in a Teststand sequence, the abort invoke node gives out Error 1000, and the VI is not getting aborted. However, when I manually try to abort the running VI, it aborts and prompts the Run time error dialog.
Also, when I hover over the abort button, it shows the VI name as Test.vi.ProxyCaller. I have attached the VI that explains what I am trying to do, and the error obtained as well.
Could anyone let me know how I can achieve the abort functionality through the invoke node, and if I am missing something?
Conditional Operator not working in the "Post-Expression"
TestStand 2014
I am using the Post-Expression to update an Array with a Conditional Operator and somehow the array is not updating , the array doesn't change .
Example :
RunState.Sequence.Main["Read Current"].Result.Status == "Failed" ? FileGlobals.uut_Settings.UUTShort[0] = False : True
Any recommendation ?
Thanks,
Recent Windows10 or IE 11 patch no longer processes any of the Report generator TR5_Horitzontal Style sheets, gives processing error.
We have never been able to open our XML logs with anything but IE11, and as of yesterday, recent patches or changes in our security has caused the style sheet to not be processed. Using debug mode in IE11, we can tell the file is found, bit processing fails, but no further debug info is shown.
We go to one of our older systems that have not been patched, and they are operating fine. But they have a older version of IE11.
XML reporting has always just worked and nobody on my team has much experience debugging it.
XML5001: Applying Integrated XSLT Handling. XSLT8690: XSLT processing failed.Python steps 'import pylink' give c++ DLL error, when trying to modify step
I am using Python steps. That works fine execpt when I have a Python file which imports pylink (https://pylink.readthedocs.io/en/latest/)
It compaints it can not load a DLL:
"DLL load failed: A dynamic link library (DLL) initialization routine failed."
Inside pylink it seems to go wrong on:
from .enums import *
', ' File "C:\WinPython\WinPython-64bit-2.7.10.3\python-2.7.10.amd64\lib\site-packages\pylink\enums.py", line 15, in
import ctypes
', ' File "C:\WinPython\WinPython-64bit-2.7.10.3\python-2.7.10.amd64\Lib\ctypes\__init__.py", line 10, in
from _ctypes import Union, Structure, Array
', 'ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
'][Error Code: -17500]
If I try to edit the step I get the error "Microsoft Visual C++ Runtime Library, Runtime error!, R6034 An application has made an attempt to load a C runtime library incorrectly"
Please note:
- I have installed Microsoft Visual C++ Redistibutable (x86) on the machine.
- Outside teststand there is no issue at all with the Python script (import pylink)
Any idea how to solve?
standard output Python Steps (NOT as Call Executable)
I am using Python Steps (via the special Step Types, not via Call Executable) with parameters input and Return value.That works great, in that way I can use several calls on created instances in one module at diffrenet moments during the testcycle.
Next to that those parameters and Return values I would also like to catch the standard output (print statements) for the report.
Does anyone know how to do that?
Error 1 occurred at Invoke Nod
Hi All,
I am using LabVIEW 2018 (32bit) and TestStand 2016 (32bit) on Windows 10. Encountered error below during the Teststand deployment ultility. Any advise. Thank in advance
Error 1 occurred at Invoke Node in AB_Detect_Additional_Dependencies.vi->AB_Engine_Detect_Additional_Dependencies.vi->AB_Build.lvclass:CalculateDependencies.vi->AB_Build.lvclass:Build.vi->AB_API Do Two Step Build.vi:4020001->AB_API Build.vi:4700001->NI_AB_API_Build.lvclass:Build.vi->NI_AB_API_SDIST.lvclass:Build.vi->SDBuildClass_2013.lvclass:Build.vi->Build Distribution - TestStand.vi->Build VI Distribution 2010 - TestStand.vi->Build VI Distribution 2010 - TestStand.vi.ProxyCaller
Possible reason(s):
LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
Command requires GPIB Controller to be Controller-In-Charge.
Method Name: Get VI:Get Prim Dependency Flags
Programmatically Changing Step Color
Hi All,
I have a tool to programmatically add few steps in my sequence, I wanted to change the color of the steps that I add programmatically. I referred to this post for changing the step color manually, I wanted to do a similar thing programmatically. Please let me know how this can be done.
Thanks,
Sree Ranjani
Using TestStand 2017 TSM Module with a PNA-X: Saving SPAR Data using "Publish_Data.VI"
Hello,
I am using TestStand 2017 with the TestStand Semiconductor Module. The goal of this post is for me to understand how to use the "Publish_Data.vi" from TSM to record (and yield to limits) the results of a PNA-X test for various parameters vs. frequency or power. For now, I am focusing on just S21 data for MAG and PHASE but in the future I will need to create software for NF, Power Compression, Intermod results, and S11/S22/S12.
I know that TestStand 2017 records its data in .STDF format, and I know that within the .STDF format (V4) itself the "Multiple-Result Parametric Record" is what I would most likely use to record the results of a single execution of a parametric test in the test program where that test returns multiple values e.g. a SPAR sweep over frequency.
However, looking at the "2D Array" choice for the "Publish_Data.vi" within TSM it looks like it only saves a single value for each parametric test for an array of channels and instruments for each channel, as opposed to an array of values for an array of channels and instruments of each channel.
My DUT is a MMIC with RF analog states controlled digitally via SPI. I am using NI-HSDIO for the digital control, NI-DCPower for DC/bias control, and a PNA-X using the Keysight LabVIEW Driver for RF Measurements. A pin map is definitely being used. There are multiple RF inputs and outputs to this MMIC and a special self-correcting switch is used that has its own driver and speaks both with the PNA-X and the computer itself. It's interesting stuff...
Here are some of my questions:
1) What does the STDF File Ordering look like when using the TSM "Publish_Data.VI"? An example of the file ordering I would use is in Page 70 of the STDF Specification V4 provided by Teredyne and attached to this post. I would like to know where the pin mapping records fit into the file ordering.
2) Is it possible with the current TSM VI's to save multiple values for each state defined by the channels for various instruments? E.g. Gain is set to one value, phase is set to another value, and an input/output switch is set to a specific path. I then measure S21 for each combination of gain/phase/path. How would this be recorded in the .STDF format that TSM uses?
3) How would I save, first, MAG, and then, PHASE, inside the STDF format for each S-PAR measurement if it all comes from a single channel? That would mean there are x8 arrays of data to save for a single digital state, and the states are a parametric combination of gain/phase/switch control all defined by channels defined in a pin map.
This gets more complicated as well but I'd figure I'd start with the basic thing I need to do which is just S21 mag/phase for now. There is also DC bias states (various VDD voltages to wiggle around +/- some %) that would be an outer loop while the digital control of the gain/phase/switch is looped inside of it. Temperature is even further out as an outer loop.
Perhaps I'll need to talk to an NI applications engineer on the phone.
I know how to control the digital, DC, and save individual results for testing things like the internal ADC/DAC, internal temperature sensor, and internal amplifiers for DC bias control on this MMIC, but when it comes to testing/storing/yielding to the results of a SPAR sweep using a PNA-X, I am at a loss. Will I have to just save this data in a .S2P file and do post-processing, and then convert to .STDF in the MPR record and add it into the STDF File Order appropriately? Sounds like a real pain.
Best,
Connor Pope
Error in report display
Hello everyone,
I am new to testing using Teststand and I have faced a problem displaying a value in the post UUT test report.
The test is about measuring the temperature using a temperature sensor and displaying the value in the report and comparing this value to the temperature measured by the microcontroller after a command is sent. The value should be +/- the sensor's value.
The first value is measured and displayed corretly (26°C) but the sencond value is measured correctly (after doing a step by step test) but displayed differently (-190°C).
I used a variable in teststand to store the measured value as an output from the VI file and this value is displayed in the report after the sequence is done.
What have I done wrong? Please help.
Load XML Report as PropertyObject
Hello,
I'm trying to parse generated XML reports back into TestStand / PropertyObject. The ultimate goal is to insert data from reports into a database.
I could successfully load the report into the Report object with
RunState.Execution.Report.Load()
The documentation offers a method Report.AsPropertyObject:
Purpose
Returns the underlying PropertyObject that represents the Report object. Use the PropertyObject to modify, add, or remove custom properties for the object.
But I'm unable to get to the value the PropertyObject holds. Running
RunState.Execution.Report.AsPropertyObject().DisplayPropertiesDialog()
displays that the propertyObject has no value although the loaded report has some data and I could verify correct loading of the report by calling
RunState.Execution.Report.Save()
which successfully saves the report's contents to a new location.
Can anyone advice on using the Report class or any other way to load the report into TS variables?
Thank you
Dynamic LabVIEW front panel GUI; Keep front panel open while executing other sequences
I am trying to incorporate the "Dynamic LabVIEW Subpanel in TS user interface" example into our project.
It has an area to the right of the Test Stand Operator Interface where VI front panels can be shown while they are called by TestStand
This user interface would be ideal as it allows for user input and gives us a place to show instructional images to the user during our sequence.
I would like to use these dynamic front panels for the following:
- To show images while test is running to tell the user what knobs and buttons to press on the UUT
- To show numeric indicators (Such as voltage measurements)
- To give user access to controls to alter the flow of the sequence file's sub sequences. For example: to skip sequences and test only a certain portion of the UUT's functionality
The problem that I'm running into is that the front panel is only shown while that step that calls the module is active.
I'm looking for a way to put up a front panel have it stay up and continue on the sequence to take measurements, and updating the front panel as needed.
Thank you for reading.
Using LVLIBP with DLLs in TestStand
Hello fellow LabVIEWer,
I've run into a problem when developing drivers in LabVIEW by calling a DLL and then using this driver as a packed project library from TestStand. To give you a little background (and example components, but the issue seems to be generic):
- Hardware used: PCAN-USB-Pro-FD (https://www.peak-system.com/PCAN-USB-Pro-FD.366.0.html)
- DLL used: PCAN-Basic API (https://www.peak-system.com/fileadmin/media/files/pcan-basic.zip)
- I created the wrapper VIs with the LabVIEW wizard (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Ls1SAE)
The settings for each Call Library Node (CLB) are as follows:
(I later tried also "Run in any thread" with similar issues...)
Issue(s):
When packaging this LVLIB into a LVLIBP and calling this LVLIBP from TestStand (separate computer, only LabVIEW RTE available), I get the error message "Unable to load VI ZZ with the Run-Time Engine version 17.0. It is possible that the version of one of its subVIs is not the same ..." (not showing the VI panel in TestStand, etc.). I traced this to the LVLIBP not finding the DLL and fixed this by putting the PCANBasic.dll in "C:\Program Files (x86)\National Instruments\TestStand 2012\Bin". The folder itself (containing the LVLIBP and the DLL) was already in the TestStand SearchDirectories. I then attached the device for the first time and needed to install the device driver. This put the PCANBasic.dll into system32 as well allowing me to automatically find this DLL there and remove the copy in "C:\Program Files (x86)\National Instruments\TestStand 2012\Bin".
Overall, I am a little confused as how and where TestStand looks for these DLLs and how to specify a specific DLL-file to be used in a packed library, running via the run-time engine in TestStand.
To check this further, I built a VI, that builds the path to a specific DLL-file as follows and changed the library nodes to "Specify path on diagram" and used the path helper VI:
This works fine in an application built from LabVIEW (EXE) and when using the LVLIBP in other LabVIEW projects.
But NOT when using the LVLIBP from TestStand...
Which leads to the question:
What is the recommended way to use DLLs in LabVIEW LVLIBPs (that are later executed from TestStand via the run-time engine) ?
Any help and tipps are greatly appreciated"
Thanks!
Cheers
Niels Göran
Where and how the Result data type is defined?
Where and how the Result data type is defined?
I was trying to find where and how the data type Result which an array of them appears in Locals as soon as we insert a step and I couldn't find it in the Types tab.
Thanks.
Terminate & CustomizeReport Callback
Hi All
When I "Terminate " a Sequence in the middle of running the Sequence stops and Terminate , but the sequence still runs the "CustomizeReport" Callback and generate a report .
How do I prevent it ? I don't want to generate a report during Termination .
Thanks
Benny
Create a Function
int abcd(void)
{
unsigned char SerialString[25];
int LengthSerialString;
int CheckSum = 0;
int err = 0;
FlushInQ (IBAKA_COMPORT);
FlushOutQ (IBAKA_COMPORT);
SerialString[0]= HEADER_WORD_1;
SerialString[1]= HEADER_WORD_2;
SerialString[2]= MSYNC_KORLEME_BILGILERI_GONDER;
SerialString[3]= MSYNC_GONDER;
SerialString[4]= 0x88; //Checksum
SerialString[5]= '\0';
LengthSerialString = 5;
ComWrt(IBAKA_COMPORT, SerialString, LengthSerialString);
return err;
}
I want to create this function but i can't creat .I can't find how can i define a funtion . I use f(x) expression but because of this "{" parameter ,i get syntax error . I understand how can i define parameters and how can i use flow control arguments but i cant find how can i define a funtion.
Using the Get Property Value VI to get TestStand Container
I have a station global that is container of strings containing instrument ip addresses. I'd like to use the get property value sub vi to pull the container into my LabVIEW vi, is there a way to do this? I don't remember having this issue is past versions of TestStand but it's been a while since I used TestStand.
Get return code from sequence file ran from custom TestStand UI
Hi,
I have built a custom teststand UI, I would now like to run a sequence file via the command line and have it wait for the sequence to finish and respond with a return code. The sequence file is very simple and is set to FAIL the test. I have tried the following command
start /wait TestExec -Quit -OutputToStdIO /runEntryPoint "Single Pass" C:\Users\user\Desktop\Sequence.seq
but I do not get any output in the stdout and when I request the exit code using ECHO %ERRORLEVEL% after the sequence returns I get a value of 0, even thought it should be 2 since the sequence failed.
Any ideas?
Thanks in advance