Programmatically delete a substep

Hello

I'm trying to customize a file Type.ini in TestStand (4.0) with LabVIEW (8.5). I would like to add/delete a step of each type of step created.

The 'AddSubStep' method is OK, my type.ini is updated.

But, before you create a new stage, I would like to remove all the previous but one error:

"Error-17331 occurred at the point is locked, protected, or use and cannot be deleted.".

I can't find a solution to remove the protection. Why can I add a new substep and cannot delete after?

Thank you for your answers

Hello

Yes, doug, your solution works fine.

YR42 attached you will find an example with 2 methods.
(1) the expression
(2) steps active-X (this will be useful using Labview).

Kind regards

Tags: NI Software

Similar Questions

  • How to programmatically delete annotations on a graph?

    o: SPT = "75" o: preferrelative = "t" path="m@4@5l@4@11@9@11@9@5xe" filled = "f".
    stroked = "f" >

    height: 134.25pt ">"
    o: title = "fig1" / >
    Hello

    I would like to label some vertices of the graph of waveform on detection of the input signal Ridge finish.  Now, I've annotated by program chart (see fig. 1). However, annotations stay there all the time (see fig. 2). Annotations are supposed to disappear whenever the vi is executed and only appear when the task of Ridge detection is over that is triggered by a push button.

    So can I know how to clear annotations on a chart programmatically?  Thank you in advance.

    Try this:

  • How to programmatically delete a ViewCriteria created by program as well?

    Hi experts,


    I use a method in a VOImpl to create a view of the criteria by program:

            ViewCriteria vc = createViewCriteria();
            ViewCriteriaRow vcr = vc.createViewCriteriaRow();        
            vcr.setAttribute("ProjectName","LIKE 'special%'");
            vc.add(vcr);
            executeQuery(); 
    

    Now, I would need a method to remove it, but don't know how to do because it is not a name or a reference.


    I use Jdev 12.1.3. Any suggestion?

    Kind regards

    Jose.

    Thank you all for your advice. The key to solving this problem is

    (1) define a name for the VC created by programming:

    ViewCriteria vc = createViewCriteria();

    vc.setName ("myCustomVC");

    (2) apply to adding 'real' as second parameter, otherwise previous VC added at design time will be lost:

    applyViewCriteria (vc, true);

    (3) after that, the Victoria Cross can be removed with:

    Boolean result = removeApplyViewCriteriaName ("myCustomVC");

    Thank you all!

  • How can I restrict the movement of a cursor caught in the visible part of a graph?

    When I take a cursor in a graph and getting too close to the edge left or right of the chart (in a movement of the x axis), the displayed graph pans to the right or to the left of the graphics window. Is there a setting to delete this or I have to programmatically delete? And if so, how? Wouldn't I need a filter event ' cursor move?

    -Franz

    Is

    Right click > Advanced > graphics Scroll cursors

    Unchecked?

    Ben

  • How can I show that the phone is busy or loading?

    Hello

    I'm new to blackberry programming, but until now, it appeared too difficult to do everything like I wanted.

    but now I'm stuck. I am a communication with a Web service a lot so there quite some time the user must wait.

    so far I have not any indicator that the phone is practice/loading something.

    Is it possible to set up the loading icon blackberry? or can I use the status dialog box and programmatically delete once the loading is done? I would be grateful for any help or examples.

    Thank you very much

    Sven

    You can implement the GaugeField or you can write you custom screen that does this for you.

    A few tips...

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=21027&query.ID=97...

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=22163&query.ID=97...

  • Writing javascript code to a box that when activated, it removes the read-only attribute in another area and allows a number against the default calculation that occur.

    I have an order entry form that calculates a sum of $ calculate markup by a formula in the section rating field simplified in the field on the tab properties.  The field of markup is set to read-only.  I also have a configuration like a checkbox.  If the user selects the check box, I need this field of markup to become editable (remove the read-only attribute) to allow a number to be entered in the field.  I guess I'd also need programmatically delete the calculation in the simplified field notation when the box has been activated.  I think I need a custom java script to trigger on mouse enter?  I could also use some help setting java script.  Someone has it all done something similar?

    Thanks in advance.

    You can no longer use the method of the "simple field notation" If you change the field in certain situations. The following script assumes that you just want to add two fields and use 25% of this amount as your markup, unless the box named "CheckBox" is checked, then the field will become editable and you can enter what you want:

    // get the state of the "CheckBox" - modify the field name to match your form
    var cb = this.getField("CheckBox");
    
    if (cb.value == "Off") {
        // Checkbox is unchecked, so perform the calculation and make sure the field is read-only
        event.target.readonly = true;
         // simple calculation - you need to modify this
        var result = (Number(this.getField("Field1").value) + Number(this.getField("Field2").value)) * 0.25;
        event.value = result;
    }
    else {
        // Checkbox is checked, so do not modify the value, set the field to read/write and let the user enter anything they want.
        event.target.readonly = false;
    }
    
  • How to remove detail rows in the view of join object

    I created a view of join (join internal left... but that didn't really matter) from 2 objects of entity (a master and a detail), is it possible to programmatically delete (or by any other means), the detail rows that are associated with a specific line of the master?

    It's very simple and automatic with views master detail, but I got no idea with views of joins

    User, please tell us your jdev version!

    You can use a different VO to remove details. You do not have to use construction merged vo. VO master detail normal and once you know which main line is selected, you use the key from him, pass it to the normal master detail and and delete the childs thisway. Then you refresh the merged VO and you're done.

    Timo

  • Upgrade from RH8 RH10 formatting

    We went from RH8 to RH10 and some subjects are not formatted. (1484 topics) There are plenty of extra space between the two bullets and numbering alpha.

    For example:

      1. Enter a company name, if any. This field is not required if you do not establish a business account and when you provide a first and last name. The value entered is displayed on the customer's Bill and is limited to 30 alphanumeric characters.

    Should I eliminate in the HTML code? And is there a way to programmatically delete all extra spaces?

    Thank you

    Michelle

    I think your problem is because you generate on a network drive. You must build on a local drive and publish to a network drive.

    I changed your home page in the project you sent to index.htm that I do not have a start page with the same name as a topic and generated on a local drive.

    Works very well. Correct formatting.

    Also I would avoid spaces in a CSS file name.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • The Title property is showing instead the name of file at the top of the app bar

    Example of PDF Title issue.jpg

    We need to rename a series of files from their original name of a new name.  After you rename the files in Windows (BRU000003. PDF in the example above), we open one of the files in Adobe Acrobat format.  We were surprised to find that the 'name' is displayed in the bar at the top of the application window was title property (000010.pdf in the example above) and not the file name.

    Is it possible to programmatically delete the Title property or Adobe Acrobat to display the name of the file and not the title property?

    You can change this in the properties of the document. Look at the "Initial view" tab.

  • several entities refreshable

    With the help of jdev 10.1.3.4 with adf bc. I implemented a view object to have several refreshable entities (2) based on the guide of the adf (27.9 creating an updatable view with several entities object). The relationship between my entities is the same as that between the ServiceRequests and products, so I'll use it as my analogy here.

    When the user comes to a page, a line of view object has been created, which means that the entity 2 "rows" are created, one for each entity of the view object. In most situations, when the user clicks on the button "Save" I'll commit a ServiceRequest, and product registration return to the respective table. This feature works fine. However, if the user clicks on save and a certain field is null, I want to programmatically delete the new product entity 'row' of the transaction so that only the piece of the new line of sight ServiceRequest is committed. Does anyone know how to remove only a part of the new subject line of sight in this situation? Thank you.

    What happens if you delete this particular line in VOImpl beforeCommit (you)? Override this method to get the current line using VORowImpl and search for NULL values, and then delete the line. I was wondering this might solve your problem.

  • CreateInsert and see the popup with one button?

    Hello

    jdev 11.1.1.0.1 is used on an xp sp3 computer.

    in a jspx, I have a table surround with a collection of panels
    on this Panel, an imagelink binding action 'CreateInsert.execute '.
    Then I have to click another button to open a popup form to edit the new line.

    user wants to create and show the population with a single button

    1 click imagelink must do:
    -createinsert
    -display the pop-up form

    I try clientlistener and showpopupbehavior, but only the first action (craeteinsert) is performed.
    I think that the updating of the page, then the showpopup action is forgotten...

    Thanks for help

    Published by: bradici on October 21, 2009 14:47

    Open the context menu programmatically. delete showpopupbehaviour.

            FacesContext context = FacesContext.getCurrentInstance();
            String popupId = clientId;
            StringBuilder script = new StringBuilder();
            script.append("var popup = AdfPage.PAGE.findComponent('").append(p1).append("'); ").
                append("if (!popup.isPopupVisible()) { ").
                append("var hints = {}; ").
                append("hints[AdfRichPopup.HINT_ALIGN_ID] = '").append(ot2).append("'; ").
                append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_END; ").
                append("popup.show(hints);}");
            ExtendedRenderKitService erks =
                Service.getService(context.getRenderKit(),
                                   ExtendedRenderKitService.class);
            erks.addScript(context, script.toString());
    
  • How to move or delete an APEX application programmatically using application_id and / or aliases?

    Oracle db 11 g 2

    Oracle APEX 4.2.1

    Linux RHEL 6.3

    ------------------------

    Is anyone know the function or procedure to remove or delete an APEX application programmatically using application_id and / or aliases?

    The best I can Google is:

    wwv_flow_api.remove_flow (application_id); -to drop id app by app of APEX

    Any other suggestions?  Any call APEX API I do (I do not see in the APEX API Ref).

    Thanks to a bouquet.

    Hi tx

    We use a script that calls these procedure packed high-end APEX api indeed.

    This script (called: uninstall) is called from one in Linux. Sh script file

    In our case, the application and space to work used the same name, but you can easeliy that adapt to your situation.

    The script is called in the script as .sh

    $> sqlplus / as sysdba @de - install.sql

    The script has the following content:

    DECLARE

    / * End: uninstall Apex

    Settings: 1 = name of work/application space

    */

    l_application_id NUMBER;

    BEGIN

    SELECT Application_id

    IN l_application_id

    Of apex_applications

    Workspace WHERE the = ' & 1' AND alias = ' &1';. ' -find the application with a given name to a certain workspace (with the same name)

    wwv_flow_api.set_security_group_id (p_security_group_id-online APEX_UTIL. FIND_SECURITY_GROUP_ID('&1'));) -sets the security group so that you can remove this application

    wwv_flow_api.remove_flow (l_application_id); -remove the application

    EXCEPTION

    WHEN NO_DATA_FOUND THEN - say nothing when the application does not exist

    NULL;

    END;

    /

    output

    Hope this helps you

    Best regards, Wouter

  • Delete pages programmatically?

    For testing purposes, we repeatedly have to import an application, and then delete a number of its pages. We are importing 5 Apex pending.

    An earlier thread https://community.Oracle.com/message/9470581#9470581 suggested method does not support next. Is there a best?

    Start

    wwv_flow_api.set_security_group_id (p_security_group_id = > wwv_flow_application_install.get_workspace_id);

    wwv_flow.g_import_in_progress: = true;

    wwv_flow.g_flow_id: = nvl(wwv_flow_application_install.get_application_id,500);

    wwv_flow_api.remove_page (p_flow_id = > wwv_flow.g_flow_id p_page_id = > 1);

    wwv_flow_api.remove_page (p_flow_id = > wwv_flow.g_flow_id p_page_id = > 2);

    wwv_flow_api.remove_page (p_flow_id = > wwv_flow.g_flow_id p_page_id = > 3);

    commit;

    end;

    Thanks in advance,

    Wade

    Hello

    Go to the Application-> Utilities-> utility Page cross-> delete several Pages and delete from here.

    -Sunil Bhatia

  • Programmatic checking for the presence of sbRIO in the network

    Hello

    I am looking for guidance (example code maybe?) to perform the following tasks programmatically:

    -check the presence of sbRIO target in the network

    -If so, connect with target & deploy the shared library Variable hosted in my Windows PC

    -If not, delete connection errors and make sure that SVs are not deployed (or cancel the deployment if necessary)

    The application must be able to continue with operation "No. HW" If sbRIO is not detected. My fight is how to check the presence of RT HW in the network and how cancel the deployment of the SVs and so no error is reported and the app can proceed free of charge with the simulation code.

    Thank you!

    Jorge

    Hello jorgeinSD,

    I would recommend that you take a look at the range of available in the Palette of LabVIEW Real-time System Configuration. Specifically the Find.VI looks like it is exactly what you want to use to detect the sbRIO is available on the network. This VI is can be found at the following location

    Real-time > utility RT > System Configuration > Find.VI (systems)

    This VI will return a list of all systems on the network. From there, you also use other utilities available in the palette of the Configuration of the system.

    See you soon,.

    Joel

  • FTP delete several files

    I use the attached VI "programmatic FTP file transfer.vi" to move the log files to a machine to my local computer using FTP linux. (it works fine)

    Once the transfer is complete, I want to delete the files from my linux machine,

    I'm using labview in 2014.

    I do not see a multiple delete labview vi FTP

    I already have a list of the files and paths I want to remove a table/cluster.

    Any ideas?

    Thank you

    James

    I think you have answered your own question, in that it must filter the file listing the files with a .log extension. This can be done using the model Match VI string in the file selection loop.

    If you specify a regular expression of the newspaper, or more precisely \.log$ (which looks like for .log at the end of a string), it will return a shift of the matched string. If there is no match, it returns-1. In order to check if the corresponding offset is greater than or equal to zero (ie. There is a .log extension) and then logically AND with file type checking.

Maybe you are looking for