Are you saying the viewer didn’t run or are trying the run the sequencefile in the viewer.
the viewer doesn’t need to have TestStand installed and provided you have the sequence files in XML format you should be able to view them.
Are you saying the viewer didn’t run or are trying the run the sequencefile in the viewer.
the viewer doesn’t need to have TestStand installed and provided you have the sequence files in XML format you should be able to view them.
Hi,
I wouldn't recommend putting your serial numbers on the internet because that makes it very easy for someone to steal them. Activation and account issues cannot be handled well over the forums. Please make a service request by visiting ni.com/support and selecting "Open a request" and we'd be happy to help you from there.
Looking for the expression to overwrite the canned TestStand Multiple Numeric Measurement Names with actual test names. Common sense way, it appears to me is to set the Step.Result.Measurement[0..2].Names == Test Names [0..2] (from Labview) just before the output file is created.
There is a type mismatch... Step.Result.Measurment is Array of NI_LimitMeasurement, the Labview Indicator is an Array of Strings. If I make is an array of strings using {,,} the names although set do not show in the report. I need to overwrite NI_LimitMeasurement type without looping through each string index of the type so that test names are reported in the output file.
I've created a sample sequence file and labview VI with 2 indicators, Test measurements and measurement names. TestStand input the Labview indicators does the multiple comparison then I want to write the names of each test
I need to convert a string to an int, however, if the value does not convert directly to an int, I would like it to return null, rather than 0 (which Val() returns).
Hi Ray,
Yes, I was passing project to step settings. It looks little bit faster after removing project, but still it is slow. Now it take around a minute or two to load the step. Do you have any other suggestions that may still speed up loading of steps?
Thank you.
Hi,
You can use the following expression to convert a String into an Int:
Locals.Number = Str(Val(Locals.String),"%d") == Trim(Locals.String) ? Val(Locals.String) : NAN
If Locals.String contains an integer then it will assign the value to Locals.Number, otherwise it will assign NAN.
I hope this helps,
Is it possible to log all step data as one string? The way our database is currently setup we log our numeric data as one long string separated by a comma. From everything I've read so far, I only see how to enter data one cell at a time, and haven't seen anything on how to concatenate all step results into one string.
I found this example,
by Seasick.
It uses the API in TestStand and there is an example at the bottom of the page.
I have tried it and it works.
Once you understand the steps, then you can do the same in a VI.
For some strange reason my "Edit VI" Button is disabled in Teststand, thus blocking me from calling it up in Teststand. What mode in Teststand can cause this feature to be Disabled?
Where is this control for turning this "Edit VI" Button back on? This is a brand new installation, so I'm working out the bugs in the installation. Which I don't do very often. Normally after installation I spend years using the same installation without ever having to bother with installation issues.
Best Regards,
Edmund
What user are you login in as?
what UI are you using, is it the Sequence Editor?
Does this VI belong to custom step type?
Do yo have LabVIEW installed?
Have you been able to edit before?
Hi all,
I'm having a problem with almost all my sequence files. I need to change the labview call type from a "VI call" to "Class Member Call". And I need to do this for all my labview steps.
But when I change it by selecting the right call type, then I lose all my parameters for the vi.
Is there a way to convert all call type to a specific call type without losing parameters?
I'm using TestStand 2016 SP1 b.t.w.
Many thanks,
Erik
Hi Shashidhar,
That's what I tried at first using a hard coded value for the file path but it didn't work, I don't know why.
I then tried what you proposed and it worked perfectly ! Thanks for your help.
Hi,
I have the same problem, can anyone help with it?
Did you highlight the Close DMM step in the Cleanup and then run Selected Step. Don’t run the whole sequence.
Hi HVW,
I have found a forum that explained a bit more how you can store arrays in a database using TestStand.
Here is the link to the forum: https://forums.ni.com/t5/NI-TestStand/logging-containers-and-arrays-to-database/td-p/2511066
Have a nice day!
Clement
I am logging in as the Default "Administrator"
I am using a customized VI I wrote to simply check out the Teststand installation.
The Step type is a LabVIEW "Multiple Numeric Limit Test"
Yes, LabVIEW 2018 is installed.
I have been able to edit on other installations for years, but this is a brand new installation and I am not familure with all the initial configurations of Teststand since I'm not usually installing new Teststand everyday. I normally do one installation and run for years on that one installation.
I have attached the 2 files in question here, one is the LabVIEW Call that I am using, the other is the Teststand that is calling that LabVIEW VI.
However, I am running Teststand 2017
Do you have a Soft Front Panel for the device open? Or do you have a test panel in MAX open to the instrument?
If you aborted your TestStand sequence with an open session, it is possible that the resource was leaked. Try restarting LabVIEW and TestStand.
If none of that works, try rebooting the computer. The resource is clearly tied up somewhere, but a reboot is quickest way to recover.
If it does not work after a reboot, then the system is in a really bad state, and you should try working with the device in MAX to verify it functions normally.
Hi Edmund!
Thank you for providing your code, that's very helpful with troubleshooting.
I was able to open your sequence file in TestStand 2017 SP1 and the "Edit VI" button was enabled. I have LabVIEW 2018 installed on my computer as well.
I have included a link below to an article that has troubleshooting steps that may be helpful:
"Create and Edit VI Buttons in TestStand are Disabled"
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9IPSA0&l=en-US
Thank you!
What if I need that number to be in decimal format (ie. 3.270)?
I noticed that when I type a decimal in, it will not format it correctly into an int.
consider this approach? Not sure what version of TS you have but this was saved in 2014. Let me know if you have any questions.
The problem with going from an array of strings ot an array of NI_NumericMeasurements is that at some point you still need to loop to do the conversion.
Regards,