Add limits to the parameters step through API TestStand of LabVIEW

Dear LabVIEW and TestStand community!

I am trying to add FileGlobal Variables that limits TestStand step NumericLimit programmatically, via LabVIEW via the TS API. I attach a screenshot of the code, which I use (part of it - the module that defines only values up to a limit high and low of the step), and also I agree, what I managed to get.

In TS, when I open the file in sequence, after the execution of the code, I see in the description of the test line, he accepted limits, I put the LV - you can see on the screenshot, it is marked yellow. But in the "Limits" tab, there are even numeric values by default, not FileGlobal Variables.

Could someone explain, what it means and how to configure correctly?

Thank you very much in advance!

I think that the search string to set the value Boolean true is inaccurate. Try to use "Limits.UseLowExpr" and "limits. UseHighExpr ".

-Shashidhar

Tags: NI Software

Similar Questions

  • Change the limit step programmatically in TestStand 3.1

    Hello guys and girls.

    I got a small task for TestStand 3.1 and I don't know how to do this.

    I want to programmatically change the limit of step (multiple numerical limit test) for a step before it is executed. How can I do this? I read that someone suggested to use a step ActiveX to access limits:

    http://forums.NI.com/T5/NI-TestStand/equivalent-to-step-limits-low-NumericFormat-in-TestStand-3-1/TD...

    «TestStand 3.1 can't API calls in expressions (I think that this feature has been added in 4.0 TestStand).» You must instead use a step ActiveX. You can use an ActiveX not configured to call into PropertyObject.NumericLimit and call him on Limits.Low of the step you want to set the property. »

    I am, however, not sure how exactly to proceed since I've never used the ActiveX components in TS before.

    If anyone has the code examples (or write), I would be very grateful.

    -Kim

    As mentioned in this thread, you can certainly change the limits in your version. Read it back.

    p.s. in the future, please post to the Board TestStand and LabVIEW.

  • Error-63101 when executing the FPGA Interface C API Generator in LabVIEW 2012

    I'm using LabWindows CVI 2012 and 2012 LabVIEW FPGA module.  I try to use the FPGA Interface C API generator and I get the following error from a freshly generated .lvbitx bitfile.  I use the local server compiles on my PC.

    Error-63101

    NOR-RIO: A valid .lvbitx bitfile is required. If you are using a valid .lvbitx bitfile, the bitfile maybe isn't compatible with the software you use. Determine which version of LabVIEW was used to make the bitfile, upgrade your software to this version or later, and then try again.

    The problem occurs when executing CVI or LabVIEW.  I was able to do this earlier when I was compiling the FPGA in LabVIEW with the API generator 2011 downloaded from the Web site.

    A bit of weirdness in my setup, it's that I charged it off downloads from the website (latest files after 2012 NIWeek) rather than the normal distribution DVD.  I installed LabVIEW, so NI RIO, then the Xilinx tools compatible with 2012.  It works very well when you talk to the FPGA to a LabVIEW vi running on my Windows PC to the host.

    Any suggestions?

    Problem solved.  I had to download FPGA Interface C API generator 12.0.  It works now.

    I would have thought that if a product was called on the menu in LabVIEW 2012, it would be prompted to upgrade to a compatible version, when I installed LabVIEW.  The old version is not compatible with version 3.0 bitfiles, as identified on the following lines at the top of the .lvbitx file:



     3.0

  • How do Parameters.Result used as a reminder? How is it different from Parameters.Step.Result?

    Hello

    I searched reference manuals TestStand, help and the forums, and I have not yet found exactly how Parameters.Result should be used in callbacks (if at all).

    I am trying to find a way to take a step that normally is not registered in the list of results and force it to appear on the rare occasions that it will fail. I think I should use the result, but I don't know how.  If I set Parameters.Step.RecordResult = True, then the step attaches to record results, but which seems to be permanent in the sequence file, and AFTER THAT failure becomes declared.

    Thank you for your expert help!

    -Gizmogal

    By browsing the SequenceFilePostResultListEntry I finally discern the difference between Parameters.Step.Result and Parameters.Result, which is visible at run time:

    Parameters.Result has a TS container, which refers to the stage, giving information such as StepGroup, StepName, StepType, among others. Its results-oriented properties are identical to the Parameters.Step.Result properties, I can say.

    Parameters.Step.Result has a container TS large type TEInf that seems to be the test information administration.

    There seems little back than I expected, but that's it.

    I'm partially through to shift my paradigm - save all the results and then throw those no interest. I ended up adding a status string 'RecordAlways' to force certain steps to record each time, and I throw any which are not equal to or 'Pass', 'Fail', 'Error' or 'done '. It works pretty well so far.

    Thanks again for your help!

    -Gizmogal

  • Cannot add files to the queue

    First time user. Cannot add files to the queue, either through drag and drop or the addition. Try to add a file, it recognizes none.

    It works now. Thank you

  • Is there a way to determine the equivalent ANSI C code of a Labview project?

    I'm a complete newbie to Labview.  I have this quite complex Labview project that was used to create a DLL that matlab may call to order my card PCI-6534 without having to know NIDAQmx calls.

    I am trying to find how to make these calls directly from Matlab NIDAQmx, but I do not get the same results when I call this DLL mentioned above, so I thought I would try to give a sense Labview projects live I begins to make sense of the general economy of the screw, but I would like to be able to run the project , step through it and perhaps see NIDAQmx orders (or something equivalent, so I can determine how to call NIDAQmx commands in Matlab).

    Is this possible to do?

    Thank you

    Jason

    Yes. The toolbar allows you to turn on highlighting so that you can run the VI and see the content of the son. You can put sensors on the wires. You can single-step through the code. This is explained in the help of LabVIEW under Fundamantals-> running and debugging screw-> Concepts-> Debugging Techniques.

    In what the question implied in the title of your message, don't you can directly convert LabVIEW C code in the development environment. Yes, there are tools to convert LabVIEW in C, but which is intended for microprocessors.

  • How to add contacts to the step program using the API?

    Need to add contacts at the stage of program by using APIs. We know that we can list the programs and the program steps using the REST API (assets/programs and assets/program/step). But REST GET only operation is now available (correct me if I'm wrong). Is it possible to add contacts to a program step (SOAP or REST - is irrelevant)?

    You can assign the Contact to a Contact via the API group, and then use a charger to enter Contacts into the program.

  • Definition of the parameters of the VI in LabView Action Module with TestStand API

    I started playing with the API, TestStand, and I have questions on how to configure a TSAdp.LabViewModule.

    I use a few examples of NOR and the community of developers to get started:
    http://www.NI.com/example/30263/en/
    https://decibel.NI.com/content/docs/doc-18401

    These examples work as I expect and I understand them.  I am struggling with how to specify VI parameter values in the module when the step type is 'Action '.  In other words, how to set these parameters?

    All the examples I see use of step types that have defined fields, which are accessible through the API with 'AsPropertyObject '.  The action type, by default, has the result field.

    Set the values of the parameters of a VI with the API TestSTand?  If so, how?

    Thank you

    Jacob

    Well, I thought about it on my own so I figure I'd share the solution:

  • documentation for the sequence file report does not display the parameters of the step

    The parameters of the step is missing in this report. Is it possible to add this just as you have included the sequence settings. Thank you.

    Sequence: MainSequence
    Type: Normal
    Disable the results for all stages: false
    Goto cleanup in case of failure: use the Station Option
    Number of installation steps: 2
    Number of steps: 10
    Number of steps of cleaning: 2
    Parameters:
    PartNumber String (by reference)

    -Stage: Installation Instruction
    StepType, adapter: Message Popup. 
    Description: NameOf (Step)
    Module loading and unloading Options: preload the beginning of execution, discharge the closure of movie file
    Record results: disabled
    Flow properties: Post Action:
    If)
    GoTo
    Record result: disabled

    I agree that it's frustrating.  I had the same problem recently.

    You should post it in the forums of idea: http://forums.ni.com/t5/NI-TestStand-Idea-Exchange/idb-p/teststandideas

    Or you can change the sequence that generates these and include parameters.  The source so that it is in: \Components\Tools\DocGen

    Hope this helps,

  • Loading limits for a dynamic step name using the shipper of the property

    Hello

    I'll have a stage whose name is upadted in a loop based on the index of the loop by using the 'Step.Name' API For this step, I'm trying to load limits using the stage property loader. One reason for the first iteration of the loop works, but for the next iteration, it is unable to load the property lines.

    Can someone help me with this?

    Kind regards

    River

    test the following example

    \Examples\PropertyLoader\LoadingLimits\LimitsFromTextFile\LimitsFromTextFile.SEQ

    It is not exactually your requirement, but it should help you with the marker/end marker to start. (I hope)

    Concerning

    Ray Farmer

  • API of BOTTOM add user with the PIM Memo/address settings

    Hello

    I try to add a new Blackberry user if LOW API with the PIM Memo/address configuration. I know that using the BASUserAdminClient it is possible, so I think it would be possible to do the same thing by using web services.

    Have no idea about it?

    Currently user control PIM by BWS is limited to control wireless synchronization and the resolution of conflicts, specification of the server is not yet supported for knowing where to retrieve the data.

  • Business Catalyst: Can I access the CRM extended through the API BC database?

    Hello!

    I'm trying to integrate our Business Catalyst with Salesforce account so that Business Catalyst handles all of our Web site and email marketing while Salesforce manages our sales data. I am trying to use a program called Podbox (that uses the API to maintain databases of synchronization), but can only the limited amount of lack of access, coordinated and none of my custom fields of BC. Does anyone know of a workaround for that all of my custom fields are visible via the API? Or are they available through the API and it would be a problem with Podbox? I tried to search in the documentation, but couldn't find much on the extended CRM database.

    Thanks for any help!

    ~ Rhyne

    Hello

    The extended CRM database API end points that you are looking for is not available in British Colombia at this point.

  • Hide icon Label step using the API Testand and LabVIEW

    Hello

    can someone tell me how it is possible to hide the icon of a step label using the API Testand and LabVIEW?

    In the Teststand sequence editor, under the Label Edit tab there is a checkbox called "Hide icon". Is there something similar in the API?

    Thank you

    Yes you can, you must set the stage "ni_blank.ico" IconName property

  • ProcessModelPostStepFailure find the parameters of Type Step

    Hi all

    I was wondering if anyone can help. I create a custom process based on the single template or sequential model col. I am currently working on a popup that will appear in the reminder of "ProcessModelPostStepFailure". It shows the operator the results of tests and allow them to select retest, Ingore failure or leave. I have almost all the features I want, however I want to know what kind of step failed (action, test of numerical limit...), so I can display the results in a more meaningful way. Does anyone know how to get this property ideally labview but if not a statement of TestStand would be great.

    I have attached an image that may better explain what I'm after

    Thank you very much

    It is best to do in TS and pass to your VI.  You can use Parameters.Step.StepType.Name.  It will not assess properly at the time of publishing, but it will work at run time.

    Hope this helps,

  • Engine step doesn't fail before reaching its physical limits for the sinusoidal movement

    Hello

    My ultimate goal is to skip a XY (via 2 linear actuators) in a circular motion (radius of 0.47 ") at a frequency of 1 Hz. I run the example VI 'Demo circle' which received my copy of LabView, version 9.0.

    The problem I encounter is that given the physical limitations of the engine and the drive motor, the task should technically be feasible (see calculation *). However, even when the engines are completely discharged (no not attached to anything whatsoever), they start missing steps away from my final goal. I'm only able to reach a radius of 0.2 "(vitesse de pointe de 1.25" / seconde). "

    My question; Is the system set up incorrectly or is my final goal unrealistic, given performance reductions inevitable due to software/hardware?

    I apologize for the naivety of this question, but if there is any information that you may provide which might shed some light on this problem, I would be very happy.

    Possible theories:

    Torque is decreased more at high speeds because of microstep

    A closed loop system would improve performance at high speed

    The VI 'Demo circle' is not the best method to create a circle

    The acceleration is the limiting factor, not speed

    * RADIUS = 0.47 "

    Maximum speed = (RADIUS * 2 * pi) * cos(2 * pi)

    Maximum speed = 2.9 "/ second"

    System:

    LabView v9.0

    PCI-7340

    open loop configuration

    MID-7604

    1 4 a per axis

    10 micro steps

    Linear actuator (form is attached)

    NEMA 17 ordered by motor (sold by ultra-motion).

    Maximum speed of 3.3 inches per second

    1. 2A voltage coil

    1.8º step angle

    Kind regards

    Nick

    Nick-

    I really wonder the max speed in the datasheet.  0,0833 "/ to 3.3" rev / s = about 40RPS (2400 RPM), which is extremely fast for a motor, especially at 24VDC.  Know exactly what engine is on the cylinder and go to www.applied-motion.com and you should be able to find curves of torque for that or a similar engine with various readers.  You will see that couple to 24VDC curves are not good.  In addition, ask Ultramotion if their speed/strength curve is theoretical, or tests have been conducted.

Maybe you are looking for