Generate vertical lines on a graph using VB script

Hello,
I want to draw vertical lines onto a 2d-axis graph in the report I create with my script. The lines need to be at two x values I calculate with my script. Are there any code examples of this?
Thanks,
Matt

Hi Matt,
Alternatively, try using the "Constant" curve type and specify either the value of the X coordinate or an expression that will resolve to that value in the "X-constant" field of the curve configuration.  If you want to draw vertical lines at the same X coordinates over and over again, this may be even simpler than creating channel data.
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • HELP! Vertical Lines and Can't Use Half of My Screen. What is Wrong???

    Ok, this is really frustrating. Please read first.
    I did not spill anything or drop my MacBook. A week ago, it was fine. And then I picked it up and opened it to check something, and my screen was SCREWED. Nearly half of the screen is filled with colorful, vertical lines. Between the lines is filled in with white. I can't see anything underneath and makes it so difficult to use my MacBook.
    I don't know what is wrong. I called some places and some say it might be the video card, while a few say it may be the screen. I'm thinking of going to Best Buy since it's closer just to see what is up.
    I purchased my MacBook in 09 and never had a problem. The warranty is gone. If it is internal, there is no way I'm paying/can afford $700+ and I'll have to downgrade for a PC I just don't understand what went wrong... can anyone help me save my Mac?? Does it sound internal or a screen issue?
    I also took a pic with my phone of my Mac when it's on screensaver mode if that helps...
    http://tinypic.com/r/246qhwy/7
    Help please? Thanks in advance!!
    PS: Here are my details:
    13" MacBook OSX, MacBook5,2, 2.13 GHz, 2GB Memory, Version 10.6.6, Build 10J567

    Hi HayItsRenee & welcome to the forum.
    I'm sorry to hear about your troubles
    Here are a few possibilities:
    1) The display itself is bad.
    2) The inverter cable is bad.
    3) The video card is failing.
    Do you have your install discs? If so, try booting up from your install disc to see if the same issue shows up. If you have the adapter that will allow you to connect your MacBook to an external display, you could try that as another troubleshooting step.
    ~Lyssa

  • Single Vertical Line When Using ADF for Scan or Copy on HP Officejet Pro 8600

    HP Officejet Pro 8600 Premium Printer (CN577A)
    OS: MS 7 64 bit
    When using the ADF for my CN577A HP Officejet Pro 8600 Premium printer, I get a single vertical line on the document that is produced. This occurs when copying or scanning, both in black and white, and in color. If I scan or copy using the glass, I don't get the vertical line.
    I already tried the troubleshooting.  I unplugged the printer, left it without power for several minutes; that didn't correct the problem.  Next, I cleaned the rollers and the glass; I still get the vertical line, but only when using the ADF.
    My firmware version used is current (CLP1CN1150CR).
    What should I check next?
    This question was solved.
    View Solution.

    The ADF uses its own glass area on the scanner bed, it is the narrow (about 1" wide) strip on the left.  Cleaning this area should resolve the issue.  A single small spot would cause the issue you are seeing.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Vertical Line in a LineChart

    Is there a built-in way to create a vertical line along a
    lineChart? Or do I get to build it manually?
    For an example, see the red line on the chart at...
    http://trail.motionbased.com/trail/player/2232944
    Thanks,
    Jason

    Hello Chitty,
    There is no such key word to print vertical line in reports. In Script/Smartforms we can draw vertical lines. You should use SY-VLINE in side the LOOP. Then only you will get that.
    Try this to get data into table format.
    TABLES: mara.
    DATA: BEGIN OF g_t_mara OCCURS 0,
            matnr TYPE matnr,
            spart TYPE spart,
          END OF g_t_mara.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      SELECT matnr spart
        INTO TABLE g_t_mara
        FROM mara
        WHERE matnr IN s_matnr.
      LOOP AT g_t_mara.
        AT FIRST.
          ULINE 1(24).
        ENDAT.
        WRITE: /1(1) sy-vline,
                3(18) g_t_mara-matnr, 19(1) sy-vline,
                21(2) g_t_mara-spart, 24(1) sy-vline.
        AT LAST.
          NEW-LINE.
          ULINE 1(24).
        ENDAT.
      ENDLOOP.
    Thank you.
    Best Regards,
    Sasidhar Reddy Matli.

  • Vertical line in a report

    Hi every body,
    In a report I need to draw a vertical line using sy-vline up to a certain height.
    i am writing d code like write : 50 sy-vline.Then it just draw a vertical line upto one row level.But I want upto the end of the page.
    How can i draw vertical line upto a ceratin Height.Plz suggest.
    Advance Thanks to all.
    @Everyone: Please avoid responding to such
    basic questions and keep the forums clean.
    This issue can easily be resolved with a
    little more effort by the user. Answering basic
    questions or posting links is also treated as
    an offense!
    Edited by: Suresh Datti on Aug 24, 2009 12:36 PM

    Hello Chitty,
    There is no such key word to print vertical line in reports. In Script/Smartforms we can draw vertical lines. You should use SY-VLINE in side the LOOP. Then only you will get that.
    Try this to get data into table format.
    TABLES: mara.
    DATA: BEGIN OF g_t_mara OCCURS 0,
            matnr TYPE matnr,
            spart TYPE spart,
          END OF g_t_mara.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      SELECT matnr spart
        INTO TABLE g_t_mara
        FROM mara
        WHERE matnr IN s_matnr.
      LOOP AT g_t_mara.
        AT FIRST.
          ULINE 1(24).
        ENDAT.
        WRITE: /1(1) sy-vline,
                3(18) g_t_mara-matnr, 19(1) sy-vline,
                21(2) g_t_mara-spart, 24(1) sy-vline.
        AT LAST.
          NEW-LINE.
          ULINE 1(24).
        ENDAT.
      ENDLOOP.
    Thank you.
    Best Regards,
    Sasidhar Reddy Matli.

  • Moving, color changing, vertical lines in iSight camera.

    I am getting vertical lines when trying to use my rear camera/iSight camera on my ipad mini. 
    Is there any way to fix this, or do i need to take it in?

    bmraxim wrote: ... Any suggested troubleshooting steps?...
    How to test your external iSight to ensure it is functional
    If your iSight works properly on other Macs when using the same connectors and/or cables, your mini's video card may need service by an authorized technician.  However, if the video card is the cause, I would think that you would notice the problems in apps other than FaceTime or photo booth, too.
    If the problem turns out to be the iSight itself, you might find having your old external iSight repaired to be more costly than buying a new Mac-compatible webcam.  If your local retailer cannot help you, select a compatible camera from the alternatives listed in http://www.mac-compatible-web-cam.com/.  Which you buy will depend on your budget and the camera feature you want.  I suggest USB cameras to avoid Firewire's adapter requirements for recent Macs as well as Possible Hardware or Software Conflicts.
    Message was edited by: EZ Jim
    Mac OSX 10.10.3

  • Vertical line when Swipe down for expose

    Hi,
    everytime i use 4 fingers swipe down / press F3 for expose, one vertical line comeout on middle of screen. this vertical line only appear when use that feature. need to know whether this vertical line is product's problem and how to solve it ?
    Thanks in advance.

    The ADF uses its own glass area on the scanner bed, it is the narrow (about 1" wide) strip on the left.  Cleaning this area should resolve the issue.  A single small spot would cause the issue you are seeing.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Can't see the Vertical line command in the main window of SAP Script.

    Hi,
    I have a peculiar situation where, I am not able to see the command through which vertical line separators are coded in the script within the main window. Can any one help me find this...?
    Regards,
    Owais...

    Hi Ravi Kant,
           What does this mean?
    /E           ITEM_YWERT
    WH           &rwerter-wert(10)&,,&vline&
    /E           ITEM_TAB
    /:           CASE &VARPOSR-YZEILE&
    /:           WHEN '0001'
    /:           DEFINE &TAB& = ',,'
    /:           WHEN '0002'
    /:           DEFINE &TAB& = ',,,,'
    /:           WHEN '0003'
    /:           DEFINE &TAB& = ',,,,,,'
    /:           WHEN '0004'
    /:           DEFINE &TAB& = ',,,,,,,,'
    /:           WHEN '0005'
    /:           DEFINE &TAB& = ',,,,,,,,,,'
    /:           WHEN '0006'
    /:           DEFINE &TAB& = ',,,,,,,,,,,,'
    /:           WHEN '0007'
    /:           DEFINE &TAB& = ',,,,,,,,,,,,,,'
    /:           WHEN OTHERS.
    *           Tab. not defined
    /:           ENDCASE

  • How to generate Serial numbers using JAVA SCRIPT

    how to generate serial numbers(incrementing by 1) using JAVA SCRIPT
    thanking you,
    pola pradeep

    i am afraid that whether ur looking for this. bcoz its a simple for loop
    <script language="JavaScript">
    //count = limit value for u
    for(i=0;i<count;++i){
         alert(i);
    </script>
    or if ur looking for something else, pls mention ur requrment precisely
    aleena

  • Generating Report with vertical lines from Designer

    Hi:
    I would like to get any suggestions about generating tabular reports with vertical lines from Oracle Designer 6.0 on Windows NT.
    Any help will be appreciated.
    Thanks in advance

    Hey c2petrov,
    Thanks for using Apple Support Communities.
    After reviewing your post, it sounds like you are having trouble with the screen. A frustrating situation to be sure. This article addresses issues with video on internal or external displays.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT1573
    Have a nice day,
    Mario

  • How to use the second display for installation OS in my vertical lines iMac

    My 17" iMac display is full of vertical lines, it is unuseable. Does anyone know how to use the second display for Mac OS X or disable the first display for installation Mac OS x ?

    Go to: *System Preferences > Displays* and select the Arrangement tab, then relocate your Menu bar by dragging it to the other display.
    Unfortunately there is no Hardware or Software switch to turn off the iMac's Internal Display.

  • TS1587 Hello, I downloaded an ntfs systemfile from tuxera and used it to convert a usb stick, my imac froze a while after so I turned it off the on and now I have blue vertical lines on boot up and the a white screen with lots of tine blue symbols, need h

    Hello, I downloaded an ntfs systemfile from tuxera and used it to convert a usb stick so I could put more than the fat32 4gb on, my Imac froze a while after so I turned it off the on and now I have blue vertical lines on boot up and the a white screen with lots of tine blue symbols after, mouse pointer moves but thats about it.
    Have used R and cmd to get a menu up but once I choose one of the four options my mouse is rendered useless and I cant get any further, have downloaded, to another usb stick recovery disk assisstant and am trying to use that in conjunction with the lion option on the previously mentioned screen, computer was responding really slowly and has now frozen on the terms of software license agreement (maybe the last hurdle!) can anyone pleeeeeease help!!!!!??????

    It's likely that the boot drive is failing, or that there's some other hardware fault. Run the Apple Hardware Test.
    Intel-based Macs: Using Apple Hardware Test
    Even if the test is negative, you should make a "Genius" appointment at an Apple Store to have the machine tested more thoroughly.

  • Hi can I use apple pages to create a line or scatter graph ?

    Hi can I use apple pages to create a line or scatter graph ?

    If you need to see the legal document that makes this OK see this Apple document, section 2C

  • How to use a vertical line as column separator in Pages?

    I have a two-column document (a questionnaire) in which I'd like to have a thin vertical line separating the text columns for the sake of clarity. I've tried inserting a floating line using "Insert Shape" but it doesn't appear to like living between the columns. I see these column separators quite a bit in published multi-column layouts, so I figure that I'm not completely crazy. Can anybody offer a suggestion?
    Charlie Perdue

    Thanks... that did it! I had (mistakenly) assumed that once the line was "floating" that it wouldn't interact with the text any more, so that I didn't have to worry about the whole "wrap" issue.
    Thanks for the quick response.

  • How to Draw a line Graph using x,y Cordinates in Java ?

    Hi,
    what r the easiest way to draw a line Graph using Java Code either applet.
    can u give me code sample. or any package where we can pass some parameter so that accoring to the paramter as i know jfreeChart.function() like some method is there from toold jChart.
    Is it possible.
    Regards,
    Prabhat

    There's a number of sample applications in one of the packages of freechart, one of which should do the trick.
    If you're doing applets I suggest you look at genjar from the sourceforge site. What that does is bundle classes from a set of library jars into one jar, selecting only classes that are referenced. That should simplify the transfer problem.
    To draw graphs, typically, you create a DefaultXYDataset object, add data points and then use the appropriate ChartFactory.createXXX methods to build a chart object. Then you wrap that in a ChartPanel to display.

Maybe you are looking for

  • How do I import music from my iTunes library to my wife's iPad

    I am trying to populate my wife's iPad with music from my iTunes library which is on a Windows 7 PC. Help.

  • Updating ipad software from ios 5.1.1

    i have an ipad that is running on the ios 5.1.1 software. I connected it to itunes to try to update my software, and was told that my software is up to date, when I know it is not. There are alot of apps that I would like to use that require higher r

  • Problem in account payment program

    Hi guru's after giving rundate and idetification paramenter , after selecting schedule proposal the msg is comming like dis payment proposal could not be carried out.... give me solution

  • User exit for Purchase requisition

    Hello team At the time of creating the purchase requisition we want to know how much qty in order unit with their UOM . How to get this functions , Any user exit , Any sort of input will be highly appreciated Thanks JJ

  • Flash CS3 Crashes after save

    Flash works fine, and I can test any video/project, as long as it is not saved. When I save it, or open a saved one, it acts normal, until I try to do anything with publishing it, including testing (ctrl-enter) I've tried uninstalling it, cleaning th