You can do this by customizing the XML Stylesheet.
Here's another post about this:
Hope this helps!
Trent
You can do this by customizing the XML Stylesheet.
Here's another post about this:
Hope this helps!
Trent
Thank you very much for your information, Wire Weaver
As a workaround for this issue you can use Chr(0x30) as a substitute using "&" to concatenate longer strings as touched on in the initial post. You can also configure the sequence analyzer rule to be ignored.
Have you seen these articles surrounding your error codes?
Error -17500 Using The Property Loader From Caller Sequence: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001DdMLSA0&l=en-GB
TestStand Error -17502 Using Automation Server: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019ToqSAE&l=en-GB
Michael
Here's another post about this:
This is not solution for me. I want to print one table. Is there any solution about this?
I'm sorry to hear that updating the PATH environment variable didn't resolve your issue. For me, re-compiling it on the target machine (since my development PC is Windows 7 and the target is Windows 10) and adding the path for the 3rd party DLLs that I needed resolved the problem. Just a reminder that you need to re-boot the machine to have the updated PATH to take an effect. Also, I'll re-check the path environment variable to ensure the path is entered correctly especially if your DLL file directory has a long name. Good luck to you.
This is a two-part question, both pertaining to step variables:
1) Is there a way to programmatically (C#) create a new step variable when dragging and dropping a custom step into the steps window? I created the step type, set up the OnNewStep substep (which calls a form in a C# code module) and am able to set Locals and FileGlobals, but not Steps. I did notice that the steps don't seem to appear in the Steps window until after the form closes, so is it even possible to create it at that point?
I am looking to do something like this:
SequenceContext.Step.CreateValString("MyStepVariable", "SomeValue);
2) How would I edit an existing step variable. Let's say I already have the variable created (some other way). Is there a way to change its value in code? I see the SequenceContext.Locals and SequenceContext.FileGlobals. However, I am unable to find anything that would work like this:
SequenceContext.Step.SetValString("MyStepVariable", "Hello");
FYI, neither of these are meant to run when the step actually runs. They would be called when adding or editing a step.
Thanks a ton in advance for any and all suggestions.
If you can pass the step object in as a parameter (property object) then you should be able to do what you need. I just tested it.
So I just tested with SequenceContext going into my OnNewStep substep. I only know LabVIEW (sorry) so I was doing it in LV.
Basically I used the Get TestStand Property to get a Property Object. My lookup string was "Step" (relative to Sequence Context). Then I typecast the Proprty Object to Step type using the TS API. (in LabVIEW we use variant to data, not sure about C#), After that I just use the SetValString("New String Name", 0x1, "Value"). You need the 1 to create the variable.
Hope this helps,
When you iterate over the VisaResources array, you must look at the attributes of the array elements themselves. When using a For Each loop with a CurrentElement as the iteration variable, the value of the VisaResources element is transferred to CurrentElement but not its attributes. Assigning values to a different variable transfer the values but not the attributes. If you want to look at the attributes, you must look at the element themselves. If you use a For loop instead of a For Each loop and that for each iteration of the For loop, you look at the attributes of the element using an indexing variable, the attribute is present.
If you want to transfer a value when assigning the array element to a value, you should add another component to your container that would contain the property that you want to transfer.
Yup, calling the AsPropertyObject() method seemed to do the trick:
mySequenceContext.Step.AsPropertyObject().SetValString("MyStepVariable", 0) = "Whatever";
Thanks for your help!
Hi All,
I am trying use telnet to communicate with a device using Teststand 2010 and I am not getting any response back read the results and displaying it in Teststand. Any help would be greatly appreciated. All my setup are correct and compare them with instructions given by NI.
Thanks,
WJ
...
I'd like to read the pippo book but I can't find it anywhere
Can you tell me where I can find it?
Hello Mehar,
Could you post a simple reproducing case of this? What versions of TestStand and Python are you using? What is the functionality of the serial module?
Hello,
I am using the TestStand TCL step type in my sequence I was wondering if its possible to call just one procedure from my TCL code and pass in variables from TestStand as the arguments to the TCL procedure call.
I am using TestStand 2017.
Hi,
I created a custom step type in TS 2017, and I checked the option in Version > Set Earliest TestStand Version that can Use this Type to 16.0.0.0.
Then when I tried to load the step type in TS 2016 I got this error:
---------------------------
Sequence Editor
---------------------------
Unable to read object: object name not found.
The types file 'C:\Users\Public\Documents\National Instruments\TestStand 2016 (32-bit)\Components\TypePalettes\Test.ini' could not be loaded.
Error Code: -17339
I created a very simple Step Type and I got the same error.
Some ideas?
Thanks,
Freddy
Hey Freddy,
Try the steps out in this KB - http://digital.ni.com/public.nsf/allkb/0C0504151A6C48828625729F006ED2A4?OpenDocument
You'll want to save your types in a new sequence file rather than a specific .ini file, and then save the sequence file for a previous version.
Thanks,
Roxy
You can read the digital copy here:
http://www.ni.com/product-documentation/7022/en/
The physical copy was discontinued when the above document was updated.
My post is not urgent anymore, but this is something I would like to know.
My question appearently was not what I wanted to know.
You are right, the enter serial window is not a FrontEnd Callback.I am Using LabVIew and the Teststand API for an custom OI.
My question is about the window, where the serial number is entered. On the Entry Point "Test UUts" the standard process models open an enter serial window. After a serial number is entered they send the UUT identified Message, run the client sequence file and after the client sequence file has been processed the enter serial window is opened again. When I press "Cancel" the Window closes. Is there some Message, Callback, event or something else, that informs me, that I have to start the entry-point again?
If I enter the serial number, how do I get the sequence context of the client sequence file that belongs to this UUT? If I would like to connect this particular execution to a particular execution view manager THe UUT identified only gives me the seuqence context of the process model.