08-09-2016 01:32 AM
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.
Solved! Go to Solution.
08-09-2016 09:13 AM
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,
08-09-2016 09:29 AM
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
08-09-2016
10:02 AM
- last edited on
12-09-2024
05:07 PM
by
Content Cleaner
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
08-10-2016 12:44 AM
it does not load the parameter information. i don't know why
08-10-2016
08:11 AM
- last edited on
12-09-2024
05:08 PM
by
Content Cleaner
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,
08-11-2016 12:53 AM
Thank you very much. that answered everything i needed