Quantcast
Channel: All NI TestStand posts
Viewing all 24417 articles
Browse latest View live

Re: Trouble switching adapter from LabVIEW development to runtime engine

$
0
0

Have you tried building your code into a PPL? 

 

Did you look through the KB and try any of the other steps? Could you provide more information on your project, or a reproducing case?  


Re: Running multiple sequence on NI TestSatnd

Re: Trouble switching adapter from LabVIEW development to runtime engine

$
0
0

Working on it today. I have re-mass complied and still no luck. Now looking a the dependency's.

 

Nothing has worked so far so I'm still trying to find the issue. I will try the PPL today or tomorrow 

Re: How to access CVI UUT Dialog from LabVIEW Module

$
0
0

Sure thing,

LV-Code.pngLabVIEW code calling DLLLv-Dll-Call.pngLabVIEW Code called from TestStandC-Dll-Call.pngC DLL calling from TestStand (this is working)

The DLL currently creates and plots a random number

frontend.dll is missing

$
0
0

Teststand could not login anymore due to missing frontend dll. It pops a file explorer to find the file but it is not present in the directory. Complete deletion of TS 2016 SP1 folder and reinstallation of 64 bit does not fix the problem and I am not running any custom frontend sequence

 frontend dll on disk.JPG

 

Re: how to make container uninitialized container? like for array we have Locals.arrData={}

$
0
0

Your question doesn't make sense.  Because arrays are just pointers to memory it makes sense that they can be empty.  Containers are a whole different deal.  When a container is allocated it creates memory space for all of its members.  In your case some bytes.  Something has to be in the memory space.  So they just use the default values of the datatype when the space is allocated. 

 

If you want to change it to an empty container then you are literally changing the datatype.  Unlike an array where you are not changing the data type but rather just pointing to some empty space. 

 

Any reason you can't just use an Array?

 

 

Re: Running multiple sequence on NI TestSatnd

$
0
0

Hi Jigg,

 

This example works!!, Thank you

UUT not identified - how to find out from LabView?

$
0
0

When I use a standard process model and "Test UUTs" as entry point, I get UIMsg_ModelState_Identified (message code 32) as UI Message after the UUT is identified. But if I press "Cancel" in the front end callback, is there also a standard message, that informed me, that the UUT Identification has been cancelled?

 

I have a "Run"-button in my OI which should be disabled after beeing pressed. Unfortunately "Cancel" leaves it disabled, which makes it impossible to start the entry point again. 

 

Thanks

 

Michael


Re: frontend.dll is missing

$
0
0

I had the same behaviour on a PC. The reason was that the user added some extra directories at the top of the list of the search directories

 

Make sure that you add directories at the bottom of the list of search directories. The top of the search directories list should be in the default state, as in the screen below

 

image.png

Hope it helps

 

 

-17502 System Level Exception

$
0
0

Hi,

 

I have an intermittent error appearing when running Test Stand calling into a LW CVI DLL.

When the CVI function within the DLL is called the "-17502 System Level Exception" error appears.  I don't understand why this doesn't appear every time if their is a genuine issue with the calling parameters of the function?

TestStand Error.jpg

And the CVI code it is calling :

TestStand - CVI- Error.jpg

I have looked at previous replies for this error but cannot see any issues with what I am doing.

 

Any help would be appreciated.

 

Regards

Stuart

 

 

Re: frontend.dll is missing

$
0
0

Great. It works now...

The default state of directories were messed up with new directories on top

Re: Logging data to a custom database scheme

$
0
0

Hi,

I am not using the built-in TestStand Log-Test-Results-To-Database anymore. Instead I am using the Database Steps. I open the table with my test results, write the test results how I want them and close my table. This works very good.

kind regards,

Christian

How to get report file name and path before main sequence executes in parallel model

$
0
0

I read this in Teststand documentation:

 

 

For TestStand 2012 and later the default process models uses a plugin architecture for reporting, hence why the report file path is easiest to access through the GetReportFilePath callback. This callback is executed after the client's MainSequence completes.

 

How can I access report file name and path before MainSequence ends. I need this beacouse my main sequence already have to know report file path?

Re: Announcing the TestStand 2019 Beta Program!

$
0
0

The beta is live now! To sign up for the beta, follow the instructions listed in the original forum post. 

 

Thank you and we appreciate all feedback.

Roxy 

Re: How to access CVI UUT Dialog from LabVIEW Module

$
0
0

If you call an empty function in modelsupport2 dll from LabVIEW, does that work? 

If that does, could you share your function prototype that is causing this error? 

 

Thanks,

Roxy


Re: Recent Windows10 or IE 11 patch no longer processes any of the Report generator TR5_Horitzontal Style sheets, gives processing error.

$
0
0

Are you still seeing the issue with reports on build 1803? Were you able to narrow down the source? 

 

For TestStand 2017, we officially only support Internet Explorer. For TestStand 2019 (which is currently in beta at ni.com/beta), we will support all viewers and will be able to generate a PDF report.

 

 

TempReport html file - results from XML and expand style sheet

$
0
0

Hello,

I run Teststand sequences that generate XML using the expand.xsl style sheet. I notice that during execution a TempReport.html file is generated. The file contains(what appears to be) the result of the style sheet "interpreting" the

XML file.  I LIKE the html file format that has expandable selection tabs and so I want to keep that.     The thing is, the TempReport is removed when the sequence is terminated.    

 

How to I tell Teststand to Keep the html file when execution ends. 

Re: Recent Windows10 or IE 11 patch no longer processes any of the Report generator TR5_Horitzontal Style sheets, gives processing error.

$
0
0

We have confirmed that that 1803 breaks the viewer again.  Our IT is experimenting with different patches to see if they can find which one may fix it. 

 

That is good news about TS2019.

Re: ProcessHandle in 64-Bit TestStand

$
0
0

Can somebody pls. give an example on using  ProcessHandleptr ?

How to configure call library function to call function from dll that has struct with arrays.

$
0
0

I have this function in dll:

 

 

DLL_EXPORT unsigned GetResultSample_Image(void * pHandle, unsigned long zero_based_index_of_result_sample, TestResult_Image * pTestStatus);

 

The parameter TestResult_Image is defined in .h like this:

 

struct TestResult_Image
{
uint32_t position; uint8_t arrayFixedSize[64]; };

 I don't know how can I configure call library function node for struct TestResult_MISImage.

Element arrayFixedSize is an array with 64 bytes. 

Before calling function GetResultSample_Image I have to call function StartTest_Image, that is defined like this:

 

DLL_EXPORT unsigned long  StartTest_Image(void * pHandle, TestParameters_Image * pTestParameters);

Where TestParameters_Image is defined like this:

 

 

truct TestParameters_Image
{
	uint32_t voltage;
	uint32_t resolution1;			
	uint32_t resolution2;			
	uint32_t number_of_image_samples;
};

In this function I define how many images I want from GetResultSample_Image function.

 

So If I type "number_of_image_samples=5", then the function GetResultSample_image will return 5 elements: TestResult_Image with 5 different elements "arrayFixedSized[64]"

 

I tried to configure function like this:

Untitled.png

But it does not work and the LV crashes every time function is called.

 

Viewing all 24417 articles
Browse latest View live


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