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

Model Options cannot launch in TestStand

$
0
0

Hi guys

When I choose the Model Options of configure ,I would set the number of socket  ,But cannot launch that options ,

show error  as the attached  picture .

 Please help me ,thanks a lot


Re: Get sequence step info into LabVIEW

$
0
0

If you select Edit->Sequence File Properties, is your sequence configured to use the Station Model?

 

Sequence Properties.png

Re: Get sequence step info into LabVIEW

$
0
0

Yes, the sequence file properties are set to use station model. I also tried pointing directly at the process model, but no change. 

 

As an added test, I copied and renamed the original SequentialModel.seq to a safe place then added the ProcessModelPostStep to the SequentialModel.seq in the default directory <TestStand 2016>/Components/Models/TestStandModels. The step still did not happen.

 

Ahhh, in writing this I discover the problem, although I don't have the solution quite yet. The sequence is being run without a process model. As with the data I want to send to remote consoles, I also send load, run, clear, and other commands from a console that is not the Simple UI. I have a user event that fires to run the sequence.The invoke node I'm calling to run the sequence apparently runs it without a process model. 

 

image.png

image.png

 

I need to figure out how to run the sequence with the process model.

Re: Model Options cannot launch in TestStand

$
0
0

The Model Options selection runs a Configuration Entry Point in your process model, which is throwing an error. You should reach out to whoever wrote your custom process model (Phoenix.seq by the looks of the screenshot).

 

Hope this helps!

Trent

Create local variable from default input of a module

$
0
0

Hi,

 

I am calling a labview VI from TestStand which has a quite complex input cluster already filled with hundreds default values. I am wondering if there is a way to create a local variable in TS with exactly the same data structure AND data.

 

I know that I can create a variable type based on the VI input. But is there a way to somehow copy the values as well to this newly created variable?

 

thx!

How to NOT display sequence contents runtime?

$
0
0

Hi,

 

I have a sequence file with several subsequences. I find it hard to understand where am I in the execution because whenever a subsequence is called its contents get displayed and the main sequence disappears from the screen (until the subsequence is running). Once the Subseq is completed TS starts displaying the main sequence again, but then I call another subsequence. So practically I only see the subsequences, but not where is my app overall in the execution.

 

Is there a way to solve this somehow. Maybe an option to not display the execution of a given subsequence?

 

thx.

Re: Setting up Teststand and MySQL

$
0
0

Hi Andy,

I'm in the same situation:

- Windows 7 (64bit)

- TestStand 2014 (64bit)

- MySQL ODBC 5.3 Unicode (64bit)

 

As WireWeaver told you, you need to recreate the same structure of your TS schema also on the database you want to use.

Once done you shuld get an error free validation.

 

Schema correctly configuredSchema correctly configured

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I created my own schema from scratch, set up the connection with database and manged to view the whole structure with TestStand DatabaseViewer.

 

 Database ViewerDatabase Viewer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

But when I try to view records in the table, by right clicking it and selecting "View Data", I get this error:

 

Error I getError I get

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I googled around and many people say it's probably due to a mismatch between the version of the ODBC connector and the application that uses it; for example a 64bit application should use the 64bit version of the connector (and vice versa).

 

However I'm stuck at this point because I'm using correct versions of connector and application but I continue to get this error...

Any ideas....?

 

 

 

Re: How to NOT display sequence contents runtime?

$
0
0

For the sequence call steps, select Step Settings>>Properties>>Run Options>>Sequence Call Trace Setting>>Disable tracing in sequence


Re: How is this test case works ?

$
0
0

some previous labview engineer develop it. I try understand how is this work?

Thanks

 

Re: Get sequence step info into LabVIEW

$
0
0

Any guidance on how to start the execution of a sequence WITH a process model (using the stations default model)?

Re: Model Options cannot launch in TestStand

$
0
0

Hi WireWeaver 

Thanks for you help  ,I fixed the issue . just delete the TestStandModelModelOptions.ini of  TestSTand Cfg folder .and try again launch the Model Options . 

Re: How do I change a pass/fail test to an action

$
0
0

Updated answer (more recent versions of TestStand): Click on the step, go to the properties page, and select "General".  The next column will have the Type (among other things) and you can change it to action.  Smiley Happy

Re: Sequence Editor Crash

$
0
0

Does anyone have a solution for this Post?

 

Running teststand sequence on windows terminal withought opening testastand and getting all report on ternimal only

$
0
0

Is it possible to run teststand sequence on terminal and get sequence pass/fail result on terminal itself like running python scripts on terminal and getting results on terminal itself

Re: Setting up Teststand and MySQL

$
0
0

Hi TondelliM,

 

I am in the exact same position as you. I did everything you did and still cant view the data in the database viewer. Get the same error message.

 

I am a member of the SSP so have asked for some dedicated support from NI. I will let you know what is wrong when they get back to me.

 

Thanks


Re: Setting up Teststand and MySQL

$
0
0

 

After reading through my emails I have a sokution from NI support.

 

They pointed me towards this fix:

 

How to setup MySQL server - Discussion Forums - National Instruments https://forums.ni.com/t5/NI-TestStand/How-to-setup-MySQL-server/td-p/3265825

 

If you look at the very last reply there is a "Connection String Expression".

 

You have to delete the connection string expression TestStand uses when you select MySQL and enter your own like below.

 

"Driver={MySQL ODBC 5.3 ANSI Driver};Server=127.0.0.1;Database=test_results;User=Andy;password=XXXX"

 

Make sure the ODBC data source you have set up is the same as the one in the string! (MySQL ODBC 5.3 ANSI Driver) was the one I was using.

 

Personally I think this is a bug in the TestStand software. MySQL is touted as being a standard database connection ready to use out the box along with MS Access and MS Server. If this is so, how come we are having to modify the string to get it to work!

 

Very disappointed with this, I have wasted so much time trying to get this to work. I have to give credit to the NI support for looking into this though. Cant help but wonder if your not a member of the SSP who would have looked at this for us? At the mercy of the NI forums I suspect.

 

Hopefully it works for everyone else who has the same issue.

 

Connection String Expression.png

Re: Setting up Teststand and MySQL

$
0
0

Ciao AndyTT,

thank you very much for the hint, now I'm able to view records in database!

 

I was using the "Build.." button to compose my connection string, but it was generating the wrong string...!

Re: How is this test case works ?

$
0
0

It's not commented at all so it's tough to tell what the intent of the application is without any additional context.

Re: Setting up Teststand and MySQL

$
0
0

AndyTT,

 

I'm sorry you had a bad experience trying to get our database logging working, but I'm glad our support team was able to help!

We also have a help topic on building connection strings that we hope would be able to help in the case that someone doesn't have SSP. For reference that can be found here:

http://zone.ni.com/reference/en-XX/help/370052W-01/tsref/infotopics/dbviewer_connectionstrings/

 

TondelliM,

What settings did you have entered in the build UI to generate the connection string? I want to make sure there isn't a bug in the string generation.

 

Thanks,

Kevin Flanagan

Produce Support Engineer | Automated Test Software R&D

National Instruments

Re: How is this test case works ?

$
0
0

Hey zy6,

 

All this VI provides is an indicator with the default results, what are you attempting to use these results for? 

Viewing all 24481 articles
Browse latest View live