annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Testing a labview code on teststand

Résolu !
Accéder à la solution

hi,

    i wrote a VI that works with a mydaq to measure voltage. the VI is working well but when i upload it to run a numeric test on teststand, it does not record the output. everytime i run the test, it gives me the output as zero. Again, when i upload my VI into teststand, it says "no vi description" . i don't know if this is why i cannot get an output. please help. i'll upload my vi below.

0 Compliments
Message 1 sur 7
5 273 Visites

What is your adapter set to?  Go to Configure>>Adapters...  and then select the LabVIEW adapter and click the Configure... button.  For now I would use the Development System. 

 

Can you take a screenshot of the VI Description not showing in TestStand?  I'd like to see what you have the module and path set to.

 

Thanks,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Compliments
Message 2 sur 7
5 251 Visites

Hi,

 

Most likely is that the VI return parameter is not setting Step.Result.Numeric...

 

Can you take a screenshot of the Step Settings >> Module tab?

 

Regards,

Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)

Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor

0 Compliments
Message 3 sur 7
5 246 Visites

Taking a look at the VI you attached, the reason it says "no vi description' is because there is indeed no description for this VI. If you give the VI a description (File » VI Properties » Documentation), it will show up.

 

You'll also need to wire up the connector pane to pass parameters to and from this VI. Like Charlie mentioned, you should pass the result to Step.Result.Numeric and also the error to Step.Result.Error.

 

I recommend reading through the getting started resources for TestStand and DAQmx before you start developing code.

 

Good luck,

Trent

https://www.linkedin.com/in/trentweaver
Message 4 sur 7
5 234 Visites

it does not load the parameter information. i don't know why

0 Compliments
Message 5 sur 7
5 215 Visites
Solution
Accepté par Rashdura

Your VI does not have anything connected to the connector pane.  You need to connect your controls and indicators to the connector pane.

 

https://www.ni.com/docs/en-US/bundle/labview/page/building-the-connector-pane.html

 

Hoe this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Compliments
Message 6 sur 7
5 208 Visites

Thank you very much. that answered everything i needed

0 Compliments
Message 7 sur 7
5 190 Visites