How to create the legend and graphic label using VBS

Hello

I scoured internet before that I resorted to my question here. I hope someone can answer my question.

Using VBS, how can I create a legend of the channels used in the chart and the label of the axis in the chart? Thanks in advance!

I managed to find a way to create labels...

Call GraphObjOpen(D2AxisXObj(1))
        D2AxisXTxt = "@@ChnName(CurrChnNo)@@ [@@ChnDim(CurrChnNo)@@]" ' Defines the x-label
Call GraphObjClose(D2AxisXObj(1))

Now, to figure out how create the legend. If anyone can help me, it would be great.

... And now I feel like a fool outright.

After scouring more, I managed to find what I need

Call GraphObjOpen("2D-Axis1")
  '------------------- Swith legend on -------------------------------
  D2LEGDRAW        =1

  D2LEGTXTTYPE     ="Free text" ' "ChannelName" or other keywords
  D2LEGTXTFREE     ="My free legend"

Call GraphObjClose("2D-Axis1")
'redraw
Call Picupdate()

Tags: NI Software

Similar Questions

  • How to create the MUCOW file in xml using Adobe Muse

    How to create the file MUCOW as xml using Adobe Muse .kindly give step tutorial or PDF... WHERE DO I CREATE MUCOW? No idea for me

    Just lucky to have this info to my favorites

    MuCow Documentation

    Muse Jam Sessions_105_ConfiguringMucows

  • How to create A registration and Login Page using adobe muse?

    How to create a registration and login Help Page?

    Hello

    check this discussion

    Re: Can I create a login/password in the Muse for a HTML5 page or two?

  • How to get the legend of bubble label text in MapView when we type?

    I added pins on MapView. Each pin card have a place name. Only touch the spindle, one sees a bubble. In this bubble, place name is provided. We provide the following C++ code name:

    NewDrop geolocation * = new GeoLocation();

    newDrop-> setName ("India");

    I want this place name, when I click on the legend label.

    Can someone help?

    Thanks corine.

    I tried the method you suggested.

    But I got a simple solution for this case. I added the following code in C++:

    NewDrop geolocation * = new GeoLocation();

    QString pinId = 'India ';

    newDrop-> setId (pinId);

    And in QML, I used 'focusedId', for that the bubble tapped s ID. This works.

  • How to combine the background and graphics?

    This is my last question unanswered. Special thanks to all those who put up with me.

    So I was able to change my background color by creating a new layer and using the rectangle tool that I've changed to gray. The problem is that both windows dominate the other, so I don't see the window that is on top. It didn't in my other graph. I need to get the two layers together. The person I spoke with tech support is passed through the remote and couldn't do so I wonder if something is wrong with my chart.

    Jared,

    Also if you set two visible layers (the eye)?

    You might also just have the path of the base at the bottom of the same layer, under the graph (Ctrl / Cmd + C + B + X + B to be absolutely sure).

  • How to configure the local and logging remotely using the host profiles, not with advance options

    Help, please

    Hello

    Local and remote syslog feature can be configured for a cluster of similar hosts using the host profiles.

    For more information, see guide installation and Set Up Syslog of the section of the Interface of host profiles in vSphere Installation.

    Connect the Server vCenter by using the vSphere Client.

    Click home.

    Under the administration section, click host profiles.

    Create a new profile or modify an existing profile.

    In the Edit Profile dialog box, set one or more of the five configuration options.

    If you configured using esxcli or advanced syslog configuration options and this has captured a host of reference, 5 configuration options are already visible in the Advanced Configuration option section.

    If syslog has not been previously configured, right-click the section of Advanced Configuration options and add a profile for each of the five configuration options.

    Save the profile and assign it to the hosts.

    For more information please see the documentation Center: (Documentation Centre of vSphere 5.5 )

  • How to create the database and a tablespace?

    Hello experts,

    I want to create a database named influx as tablespace influx.

    for this that I login under the sys account.

    now, I'm trying to run the following command:


    CREATE DATABASE WORKFLOWS
    LOGFILE GROUP 1 ("G:\app\dhirender\oradata\INFLUX\redo01.log") SIZE 100 M,
    GROUP 2 ("G:\app\dhirender\oradata\INFLUX\redo02.log") SIZE 100 M
    GROUP 3 ("G:\app\dhirender\oradata\INFLUX\redo03.log") SIZE 100M
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXLOGHISTORY 1
    MAXDATAFILES 100
    DEFAULT TABLESPACE users
    DATAFILE 'G:\app\dhirender\oradata\INFLUX\INFLUX01.dbf '.
    SIZE 500M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED

    FOLLOWING ERROR IS COMING:

    ORA-01501 datbase remote.

    database ORA-01100 already mount

    also help me create tablespace.

    Please help me.

    Thank you

    Yoann

    Follow, you will get help!

    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/statements_5004.htm

    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/statements_7003.htm

    https://forums.Oracle.com/thread/2481617

    https://forums.Oracle.com/thread/661075

    See you soon,.

    Manik.

  • How to create a document and insert the words and/or art on both sides of the page

    How to create a document and insert the words and/or art on both sides of the page

    How to create a document and insert the words and/or art on both sides of the page

    You create a document by using an application of word processor like Microsoft Word or Corel WordPerfect or OpenOffice Writer.  Think of it as a broad a page roll.

    When you print the document, you can print all pages of the document on one sheet of paper (the normal default value), or you can print on both sides of a sheet of paper.

    Some printers are capable of automatic double-sided printing.  With others, you print all the odd pages and then take the stack of paper, turn upside down and put it back into the printer to print all pages.  You need either to read your printer manual, or experiment a bit to determine if you need to re - organize the first last pages before printing the second side.

  • How to create the home group and how to connect two computers that are running windows 7. and also Remote Desktop connection!

    Someone help me how to create the home group and how to connect two computers that are running windows 7. and also Remote Desktop connection!
    step by step information!

    Hello

    I suggest you to refer to the links and check if it helps:

    Create a homegroup

    http://Windows.Microsoft.com/en-us/Windows7/create-a-HomeGroup

    Join a homegroup

    http://Windows.Microsoft.com/en-us/Windows7/join-a-HomeGroup

    Setting up a network home

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-home-network

    Remote Desktop connection

    http://Windows.Microsoft.com/en-us/Windows7/products/features/Remote-Desktop-connection

    What types of connections remote desktop should I allow?

    http://Windows.Microsoft.com/en-us/Windows7/what-types-of-Remote-Desktop-connections-should-I-allow

    Remote Desktop connection: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/Remote-Desktop-connection-frequently-asked-questions

    Let us know if it helps.

  • How to edit a .ai (converted to a smart object) in photoshop.  I want to change the text and changed the text and graphics

    In photoshop, how to change a file .ai (converted to a smart object)?  I want to change the text and changed the text and graphics.

    Total beginner, so need help.

    Thank you very much.

    That must be edited in Illustrator.

  • I out of the CC to my previous laptop and I can not understand how to create the link connection in my new laptop

    I out of the CC to my previous laptop and I can not understand how to create the link connection in my new laptop

    Hi Steven,

    You have the CC of Adobe desktop application installed on your machine?

    In the case is not, please see the help below document to download the same:

    Creative cloud to desktop

    Kind regards

    Sheena

  • How centering the legend and set its display property to block in Dreamweaver cc?

    I am a newbie to Dreamweaver and articles http://www.Adobe.com/content/dotcom/en/DevNet/Dreamweaver/article-index.html by David powers has been very useful for me.

    I followed all the instructions which he describes and wow, I am happy with myself. However, at the present time, I am on article: http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt3.html, but I'm stuck on the subtopic:

    Hair images with captions.

    Up to now, my question is: How do I Center the legend and set its display property to block in Dreamweaver cc?

    Please forgive me if this question seems so childish!

    Thank you for your assistance expected!

    Sincerely,

    Newbie

    If you look in the css file over to the figcaption css selector you will see:

    figcaption {}

    display: block;

    text-align: center;

    make-weight: bold;

    do-size: 14px;

    }

    As I don't use DW css Panel, I can't tell you how to do that through that, BUT doing it manually just open the file main.css figcaption roller and the type it as shown above.

  • can any 1 tell me how to create the budget journal and how to enter in the journal?

    Hi all+.
    Can someone tell me how to create the budget journal and how to enter in the journal to this budget? +

    What about+.
    Yasser+.

    http://download.Oracle.com/docs/CD/A60725_05/HTML/comnls/us/GL/budjrnl.htm#index-budget-journals-entering--0

    Enter budget reviews in order to maintain an audit trail for your budget balances. You can use budget rules to automatically calculate the amounts of budget journal.
    When you post journals budget, amounts of newspaper to date of existing fiscal balances. You can view and change your budget logs before posting.

    ATTENTION: When you use budget rules in fashion newspaper, big book calculates the appropriate flow or necessary to achieve the balance that you enter for the type of credit account.

    Prerequisites

    1. set a budget
    2. open one or more years for your budget
    3. set a budget organization
    4 assign the budget input type 'Enter' for the accounts for which you want to enter budget reviews

    To enter budget for a journals only account:

    1. go to the window enter Budget sheets.
    2. specify the Organization of the Budget for the account with which you want to budget. If the budget organization is protected by password, you must enter the password before you can enter budget reviews.
    3. Enter the Budget that you want to update. You cannot use a budget that is frozen.
    4. Enter the range of accounting periods, to which budget.
    5. enter in the currency of the budget amounts that you enter. The accounts must be assigned to the Organization of the budget for this currency.
    6. choose the Mode of Journal in the region poplist to enter budget amounts in a newspaper format.
    You can also use the single-line Mode or Mode worksheet to enter the amounts in the budget journal. However, you can only generate journals budget of these modes of entry when you use the window enter Budget sheets.
    Additional information: when you use the log Mode, Type of Balance is a field display only. It displays Budget when you enter budget reviews. In the window to enter the newspapers, this field shows actual when you enter actual journals.

    7. Enter or question the account to which you want to budget. You can also switch mode worksheet to easily interrogate the accounts, then come back in fashion newspaper to enter budget reviews.
    8. Enter an amount debit or credit for each period. Do not enter a journal amounts if you want to use fiscal rules to calculate and distribute the budget amounts.
    9. choose Create magazines to create a budget spreadsheet. If you are using budget control, you specify an action of funds when you create the batch.

  • How to create the cover of the app for my application

    Dear,

    Please help me with step by step tutorial how to create an appcover for my application! I'm kinda noob on C++ and I read the paper, but could not apply! (didn't know where to put the code - C++ part) not Qml

    I want to put a picture of the asset as a cover of the app

    Your prompt response is much appreciated!

    You can do with QML also.

    Follow this Code:

    import bb.cascades 1.4
    Page {
    
        attachedObjects: [
            //Active Frame is called as Scene Cover
            SceneCover {
                id: activeFrame
                content: Container {
                    //To Do Fill Me with QML
                    //fill what you want. Image, Label, much more
                }
    
            }
        ]
        Label {
            text: "Hello World"
    
        }
    // After Application is minimised or Active Framed This Function shows
    onCreationCompleted: {
        Application.setCover(activeFrame)
    }
    
    }
    

    This is how you create with QML. C++ is used for highly recommended as animative and well known to the user.

    When you love it, you can accept it as snap

  • How to create the object rectangular box with a pure action script.

    How to create the object rectangular box with a pure action script?

    I think, it can be done through the clip library, but I'm not sure. Please, I want to take the suggestion to create a rectangular box as a script through

    Take a new file and write about the first image the code below, it works fine:

    var rect = new Shape();
    rect.graphics.beginFill (0xFF0000);
    rect.graphics.drawRect (0, 0, 100,50);
    rect.graphics.endFill ();

    var MC = new MovieClip();
    mc.addChild (rect);
    addChild (mc);

    If this doesn't solve your problem then paste the error you get

Maybe you are looking for