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

The Same Code Work Normal On TS2016 But Doesn't Word On TS2017

$
0
0

Hi Sir

 

As the title, the code below is normal on TS2016but does not work on TS2017, compile pass, but I was reported "index error", how to fixed it, thanks!

 

axSequenceFileViewMgrA.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set,1).Execute(false);

 

Thanks!


Re: The Same Code Work Normal On TS2016 But Doesn't Word On TS2017

$
0
0

That code is indexing the set of execution entry points. I bet in your 2017 setup, you either don't have a process model selected, or your process model has less than two Execution Entry Point sequences.

 

The NI models all have two Execution Entry Points: Test UUTs and Single Pass.

Include steps additional results in report

$
0
0

Hello there,

 

I have inherited a results process model based on the NI_SimpleTextReport which I am attempting to improve.

 

I need to include any additional results that may have been recorded for any given step and am not having very much luck.

I was hoping I'd be able to create a column and use the relevant key name to log the additional results but cannot find any examples of what the key name would be or if this is how it would be done?!

 

If there are any TestStand experts out there that could point me in the right direction that would be great!

 

Thank you for looking!

 

Iain

Packages based distribution in TestStand 2017 deployment utility

$
0
0

Hi

I am trying to use the new “Package based distribution” feature in the TestStand 2017 deployment utility, but the option is always disabled. This must mean that I am missing some components in my installation, but I cannot figure out which. I have installed the NI Package Manager but that did not change anything. I tried to reinstall TestStand after installing the NI Package Manager but no change.

I hope some one in here can help set this up to work, thanks.

using property loader to import limit array

$
0
0

I'm trying to us the NI_MultipleNumericLimitTest with "Repeat Measurement Set" "ON" to perform the following:

1. locals.Array as the data source "[0..10]" array size

2. For the low limits "Parameters.low[x]"

3. For the Upper limits "Parameters.high[x]"

I'm just not sure how to index the array to point to the following   

Locals.array[0] should use limit Parameters.low[0], Parameters.high[0],

Locals.array[1] should use limit Parameters.low[1], Parameters.high[1]

....

Locals.array[10] should use limit Parameters.low[10], Parameters.high[10]

any thoughts?

 

Report generation delay - Batch Model

$
0
0

Hi,

I am using the standard TestStand User Interface to deploy my sequence, using the batch model.

I have been experiencing intermittent long delays when generating reports at the end of a batch test - see attached screenshot.  There is no report generation delay if I run using Sequential model.  The main sequence I am using is a "Dummy", and consists of only a couple of steps.

Has anyone experienced this?

Thanks,

Dan

Re: Packages based distribution in TestStand 2017 deployment utility

$
0
0

I understand that it is only available in the 64-bit version. Which bitness do you have?

Re: Packages based distribution in TestStand 2017 deployment utility

$
0
0

If this is the case, then that is why it does not work. I use the 32 bit version.

Thank you for the answer.


Why did NI not enable "Packages-Based Distribution" for TestStand 2017 32 bit version?

$
0
0

As a follow-up to my previous thread, I would like to an clear answer from NI on why they omitted the option for building packages based distributions in TestStand 2017 32 bit?
In the LabVEW 2017 32 bit you can build a package of you code, so why not in TestStand?

Re: Why did NI not enable "Packages-Based Distribution" for TestStand 2017 32 bit version?

$
0
0

I too would like an explanation.  I think this is a huge oversight on NIs part. 

 

Package Manager is a 64-bit application but LabVIEW has a package builder for their 32-bit ADEs.  We have to build an image in TestStand then take the image and deploy with the LabVIEW package builder add-on.  This extra step in the deployment process is very annoying. 

 

We were looking at possibly upgrading to TS 2017 just to get the package builder option.  However, now that I know it is only 64-bit we probably will wait or determine if moving all of our code to 64-bit is worth it now.

 

I am doing a session on this at NI Week: CI & Deployment: Deploying a TestStand System With NI Package Manager

 

Cheers,

 

Pass by pointer broken after non-use

$
0
0

I have some TestStand code that was developed on TestStand 4.2 in about 2009. In the code  a C++ function is called to transmit command data over a TCP/IP socket. The command data structure was passed by pointer. This code was run extensively from 2009 until about 2016 where it then just sat dormant on the system it was installed on for the conduct of the test. This week additional testing needed to be performed and the laptop used to do this was powered up and the test started. It generated an error during analysis that the send_command function loaded did not match the prototype. This is when it was discovered that the pointers were broken. The calling function is expecting an unsigned long which the pointer is but when the command data structure is passed in with the Pass set to by Pointer the error occurs that the data value passed in does not match the data type. It sees the data structure not the pointer. Does anyone know why/how the pointer can break and not recover? This has rendered all of the tests that were developed useless.

Re: Report generation delay - Batch Model

$
0
0

Hi Dan,

 

How long is your delay and how are you timing this delay? 

 

What type of file are you producing for your report? What are your report configuration settings?

 

Where is the location of the report? Is it on a network drive or is it on the same disk? 

 

 

 

TestStand thread restart

$
0
0

Hello programmers,

Using a CVI application that calls the TestStand engine to run a sequence under parallel model, I'd like to know how I could restart a thread on demand from CVI, for example using the callback function of a button on the UIR, that will execute a function ?

As sometime a thread is frozen in the PreUUT because a function is not responding (due to the hardware), the idea is to restart this thread while the other threads continue working.

Best Regards.

Pascal.

How to generate a global synchronise object?

$
0
0

Means a synchronise object(For example a lock) is visible by different sequence file? Is this possible? More less global variable. 

What is the best way to change STOP_ON_FAIL?

$
0
0

Normally production test sequencer has this configuration : STOP_ON_FAIL. 
In normal production if a test step fail, test sequencer will stop, skip the remaining test steps and show up failure. This can save test time.


But in some cases (for example to deeply investigate the failure part),we need the sequencer do NOT stop when it fail, until go through all test steps, This is sometimes helpful for failure analysis.

 

What is the best way to achieve this in TestStand? 


Re: What is the best way to change STOP_ON_FAIL?

$
0
0

Do you have the station global "Immediately Goto Cleanup on Sequence Failure" set to achieve this behavior?

If so you can programmatically set it to false so that the program continues after a failed step. (Don't forget to enable it again)

Re: What is the best way to change STOP_ON_FAIL?

$
0
0

Configure----> Station Options------->Execution--->uncheck (Immediately Goto Cleanup on Sequence Failure)

 

Re: goto main sequence cleanup (nested Subseqs)

$
0
0

Hello Aparab,

I have the same problem like you. Maybe your issue is solved now?

There are 3 Sub-Seq in the Main-Seq. If one step of the first Sub-Seq fails, I want to skip the procedure in this way:

  1. Go to Cleanup of the actual Sub-Seq No.1
  2. Jump over Sub-Seq No.2 and No.3
  3. Go to Cleanup of the Main-Seq

Could you help me?

Re: goto main sequence cleanup (nested Subseqs)

$
0
0

Hello  Flobias,

 

unfortunately  I am not able  to recollect the  solution  and I have also  changed  the  company in  between.

so cannot  give you  a  specific answer.

 

regards

Akshay

 

Re: How to generate a global synchronise object?

$
0
0

If you put an * at the beginning of the name for the synchronized object it will work.

 

For example:  "*MyLock"

 

From this link: https://zone.ni.com/reference/en-XX/help/370052W-01/tsref/infotopics/sync_objects_name/

 

"By default, you can access a Synchronization object only from the operating system process in which you create the object. However, you can make a Synchronization object accessible from other processes, such as multiple instances of a user interface, by using an asterisk (*) as the first character in the name."

Viewing all 24560 articles
Browse latest View live


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