Adding a single line to a multicolumn listbox?

Hi Community,
I have a multicolumn listbox which tens of thousands of lines where each line is color coded and represent a cycle with a pass/fail status. The only way I have found to add lines to a multicolumn listbox is to read its ItemNames property which is a 2D array of strings, add the new line to the 2D array and then write then new array back to the ItemNames property.
The problem is that after couple thousands of lines this get more and more slow.
Is there any way to speed this process up, maybe by adding the line to the listbox in a different way?
thx.

The Listbox, and Multicolumn listbox controls got many UI performance improvements in 2013, what version are you using?
https://lavag.org/topic/17009-labview-2013-favorite-features-and-improvements/
But even if you are on an old version there are many tricks to making the UI more responsive, like using defer panel updates, and virtual multicolumn listboxes.
https://lavag.org/topic/15289-virtual-multicolumn-listbox/
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • Is it possible to make a line of a multicolumn listbox active?

    I currently have data entered into multicolumn listbox.  While the program is running, is it possible for a row of the listbox to be selected and then give the index number of that row?  From there I will want to use that index number to reference other arrays, but right now I'm just dealing with getting the index number I need from the user's row selection. 

    lmtis wrote:
    The I32 is the default numeric constant, I didn't see the need to change it for this purpose.
    You missed my point. The output datatype of the Value property node is an I32. You are wiring to an I32 indicator, but shoving it through a TypeCast function. This is pointless.
    Message Edited by smercurio_fc on 06-20-2008 12:12 PM
    Attachments:
    Example_VI.png ‏4 KB

  • Adding Amount field in BSEG table and display it single line item?

    hi experts,
           I am doing credit / debit form now my requirement is
                                               According to BELNR , GJAHR,BUKRS i want to find credit amount for this selection cretiria.
                         so i want to add all the lines of amount filed for a particular BELNR and display it as single line.
    so i am getting data from print program like this
    SELECTION-SCREEN BEGIN OF BLOCK b0 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP 2.
    PARAMETERS: p_belnr LIKE bkpf-belnr OBLIGATORY,
                p_bukrs LIKE bkpf-bukrs OBLIGATORY,
                p_gjahr LIKE bkpf-gjahr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b0.
    SELECT SINGLE *
                   FROM bkpf
                   INTO  i_bkpf
                   WHERE belnr = p_belnr
                         AND ( blart = 'DG' OR blart = 'ZG' )
                         AND bukrs = p_bukrs
                         AND gjahr = p_gjahr.
    IF sy-subrc = 0.
        SELECT  *
              FROM bseg
              INTO  table it_bseg
              WHERE belnr = i_bkpf-belnr .
      ENDIF.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'Z_CREDIT_DEBIT'    " p_name
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
        IMPORTING
          fm_name                  = v_form_name
    EXCEPTIONS
      NO_FORM                  = 1
      NO_FUNCTION_MODULE       = 2
      OTHERS                   = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    CALL FUNCTION v_form_name
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        i_bkpf                     = i_bkpf
        i_bseg                     = i_bseg
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    so my I_BSEG containing all line items of particular BELNR . with the field SHKZG  iam  getting only credit line items .
      now i want to do is add all credited amount and display like this in a table.
    against ref#  (BSEG-REBZG) ! details (BSEG-SGTXT)!  amount
    124569                                   10%discount                950.00(total amount ie sum of all lines amount for a BELNR)
                                                                                    10.00(total tax amt ie sum of   all lines of tax amount for a BELNR)                                                                               
                                                                                    960.00

    hi arun,
             i used collect in smartform my procedure is like this .
                   i am getting data into i_BSEG because i declared like this in TABLES parameter
                      i created a loop .
                             in that i mentioned like I_BSEG into WA_BSEG.
                                   then i created a program lines here i mentioned like this.
                                                  COLLECT WA_BSEG INTO IT_BSEG.
               but because of BUZEI "Number of Line Item Within Accounting Document .it is not same it is varying for every credited time that means for every line of BELNR. thats why it is not adding it is just appending .
    so pls tell me any other chance to find sum .
    because i want to sum up all credted amount and display it in single line
    ie first column REBZG "Number of the Invoice the Transaction Belongs to(against ref) i want to display once .
    And Second column  SGTXT "item text(details) for amount once and for tax amount once
    And Third column Amount first line consists total amount & second line consists total for tax amount
    regards,
    satheesh.
    [email protected]
    any doubts chat me regarding this post.

  • Set column width of a multicolumn listbox in LV touch panel module

    Hello,
    I am trying to build an application using LV Touch panel module 8.6 and I am having a problem with multicolumn listboxes. I am setting the the width of the columns by clicking and dragging the separator between the headers, but when I transfer and run my application to a winCE controller the width of the columns is the same for all columns (and very narrow actually).
    Does anyone know something about it?
    I also noticed the following two problems. When I transfer my application in the winCE controller, the line and column separators are disappeared and the column headers are also disappeared, although I have set them to be visible in my vi.
    Thanks in advance.

    The issues that you are having are because the LV touch
    panel Module does not support "Moveable column separators" and
    "Row and column headers". The limitations of using a touch panel are available
    in the LabVIEW help file.
    A possible workaround may be to use a series of arrays with a string data
    type then using a single scrollbar control multiple property nodes.
    I have attached an example.
    I hope this has helped.
    Philip
    Philip
    Applications Engineer
    National Instruments
    UK Branch
    ===If this fixes your problem, mark as solution!===
    Attachments:
    Scroll Array.vi ‏10 KB

  • Converted single line text to multiple and want to have rich text editing in layout

    We had a text field in a site that was initially set as single line of text. We needed it to be bigger and also allow formatting. So I added the field into the page layout.
    Changing
    <SharePointWebControls:TextField id="habitat" FieldName="Habitat" runat="server"/>
    to
    <SharePointWebControls:NoteField id="habitat" FieldName="Habitat" runat="server"/>
    But it doesn't show any rich text editing options and displays the full html tags in the field.
    If I open the page in the edit properties screen instead, then the field displays as I want it with the rich text editing options available in the ribbon, and text showing as bolded instead of like this:
    <div>This is <strong>the </strong>habitat field.</div>
    This is a site using the 2010 Publishing template running in compatibility mode on a 2013 server.
    How can I get my page layout to behave the same way as the edit properties screen does?

    Hi,
    Here are two solutions for your reference:
    1. We can use the InputFormTextBox control to achieve it.
    <SharePoint:InputFormTextBox ID="habitat" RichText="true" RichTextMode="FullHtml" runat="server" TextMode="MultiLine" Rows="20"></SharePoint:InputFormTextBox>
    http://blog.qumsieh.ca/2009/01/13/how-to-add-a-rich-text-editor-to-your-custom-application-pages-or-web-parts/
    http://blog.mastykarz.nl/rich-text-editor-control-sharepoint-2010/
    2. We can use the RichHtmlField control to achieve it.
    <PublishingWebControls:RichHtmlField id="habitat" FieldName="Habitat" runat="server"/>
    http://msdn.microsoft.com/en-us/library/office/ms561507(v=office.14).aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Can the Terminal add a user(with all options) on a single line?

    Howdy All,
    Can the Mac Terminal add a user, with all options desired, on a single line?    If so, can I get an example of this single terminal line to work from?
    Thanks

    Thanks Drew!   You have some great thoughts there. Perhaps I should provide a clearer environment of each high school(4). All classrooms have a lock down Windows environment. (There are no Macs any where in any classrooms.) The mini-tower will be the only Mac on each high school campus. we're in Dell country. The desktops are locked in such a way that only the ghosted/installed software on each hard drive works and no other software can be installed. USB sticks can't run any exe, jar, or other executable file. Even the other drives on the network can't run them. This has been setup to prevent students from bringing games into the environment and running them. Only the single classroom in each high school, where Web Tech is taught, has a ftp tool installed. Students cannot bring and use their own laptops either. So there really isn't any stray ftp activity happening. You cannot "ftp" out of the network! And there is only the one Mac available per campus.  All this makes it certainly easier to maintain for sure. I am the only user in the school district they let run a personal laptop...mine has Ubuntu (tweaked).  My knowledge of Linux has led them to assign this project to me. They are MS based entirely and so is their knowledge base.
    I've got to teach the other 4 teachers how to manage the mini-tower.  Basically it is this:
         Start and stop Apache2,
         Start and stop vsftp,
         Add ftp users(students will only have directory:           /Library/Server/Web/Data/Sites/Default/studentlastname.firstname  )  Students will not log on to the min-   tower directly as any normal user would, but only through ftp. (I.E. no /home directory) ,
         Remove/delete students as needed
         (I'll pre-install cgi-bin scripts on these to keep it simpler on the other teachers and myself.)
    With this in mind, you can see why a basic script or single command line to install these students would be great! I want to keep it simple to avoid mistakes the teachers might make adding users. Once I understand adding a user (in a terminal) better on a Mac, I may write a script to make it happen for them.
    I'd also like to understand removing/deleting a student/user better to insure everything is gone when executed.
    I hope this clear things up. Any help is much appreciated.    THANKS!!!

  • How to show 250 characters in a single line.

    Hi,
      How do I store 250 characters in an infoobject? (An Infoobject can be of 60 characters only)
    I can certainly store using 5 different infoobjects but my requirment is that the text should be visible in a single line while executing a report.
    Regards
    Augustine

    Hello!
       here is a solution from previous posts.
    You may want to try this workaround:
    "Create two 60 CHAR length InfoObjects and adding them as attributes to the InfoObject you originally created (say ZIO_1). Populate long texts (in your case, up to 100 CHAR) to the master data of ZIO_1. You need to make ZIO_1 values unique. That works for me where I need to store up to 480 CHAR for comments"- Bill Wu
    and  a link to one more thread
    Re: Bypass 60 char limit
    hope this helps
    with regards
    ashwin

  • How can I automatically word wrap a string placed in a (multicolumn) listbox ?

    Hello,
    Using LabView 7.0:
    I need to automatically wrap text inserted in a multicolumn listbox.
    The size of the listbox is fixed and I don't know the legth of the string that will be inserted. But the whole string must be visible, because it's Information is important
    I'm not allowed to use a fixed width font. :-(
    Has anyone any ideas (or a solution already?)
    How can I compute the length of a string in pixel to calculate to position to wrap?
    Thanks in advance,
    best regards,
    Rainer

    Hi Veena,
    The trick is to use the Get Text Rect.vi to calculate where to wrap your text string. There's no feature to automatically wrap the string for you, so you will have to split you string into sections/lines, that doesn't exceed the width of the column in the listbox.
    Good luck!
    - Philip Courtois, Thinkbot Solutions

  • Displaying items in a single line in ALV grid using  ALV_TOP_OF_PAGE.

    Hello Guys,
    I am having a problem in displaying items in a single line in the ALV Grid using event ALV_TOP_OF_PAGE.
    My requirement is to group items on a single line i.e. in the example below, Vendor code and posting date are on the same line. The next line the prints Vendor Name and Document no.
    Vendor Code: 123123                               Posting Date : 01.01.2011
    Vendor Name: ABCD                                 Document No: 152246598.
    Here is my code in subroutine 'ALV_TOP_OF_PAGE', 
      wa_list_comments-typ = 'S'. 
      wa_list_comments-key = ''.
      wa_list_comments-info = 'Vendor Code'.
      APPEND wa_list_comments TO it_list_comments.
      wa_list_comments-typ = 'S'. 
      wa_list_comments-key = ''.
      wa_list_comments-info = 'Posting Date'.
      APPEND wa_list_comments TO it_list_comments.
    The above code prints in the following format i.e one below the other,
    Vendor Code: 123123                              
    Posting Date : 01.01.2011.
    I also tried using HTML_TOP_OF_PAGE, but it didn't work.
    Can anybody please help me out with this.
    Regards,
    Danish.

    Hi Danish,
    Your problem is with the alignment and you need some fix positions .
    The solution i feel is u can use as below :
    In CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    use 
    i_callback_html_top_of_page       = 'HTML_TOP_OF_PAGE'.
    Now on calling routine call use cl_dd_document class :
    FORM html_top_of_page USING document TYPE REF TO cl_dd_document .
    data : doctable TYPE REF TO cl_dd_table_element,
              col1_t1 TYPE REF TO cl_dd_area,
              col2_t1 TYPE REF TO cl_dd_area,
              col1_t2 TYPE REF TO cl_dd_area,
              col2_t2 TYPE REF TO cl_dd_area.
    add quick table with five columns
        CALL METHOD lw_document->add_table
          EXPORTING
            no_of_columns               = 2
            border                      = '0'
         cell_background_transparent = ' '
            width                       = '100%'
          IMPORTING
            table                       = doctable.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '40%'
          IMPORTING
            column = col1_t1.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '60%'
          IMPORTING
            column = col2_t1.* Filling columns in row
    Call method doctable->new_row.
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '40%'
          IMPORTING
            column = col1_t2.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '60%'
          IMPORTING
            column = col2_t2.
    *Now adding the texts
    lw_text1 = 'your first text'
    CALL METHOD col1_t1->add_text
          EXPORTING
            text = lw_text.
    *Similarly add text for other columns
    *Adujust % in width to adjust the column as required
    Endform.
    Hope this will solve your problem .

  • Is it possible to create a form with multiple form fields on a single line?

    Is it possible to create a form with multiple form fields on a single line?  I can't find anything in the documentation or a template that does this.
    I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
    In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor.  I would prefer to use FormsCentral if it is possible.

    We now support multiple fields on one line. This post provides a brief overview.
    Give it a try and send us your feedback.
    Sorry it took so long.
    Randy

  • Measuring of Text with Multiple Fonts in One Single Line

    I am following a request to write C++ code for a label that contains several text elements in one single line, varying by font, size, color.... Ok, that can be done easily in GDI+ by measuring each element's width and then execute a DrawString
    for each of the text elements starting at its calculated position.
    So far, I failed miserably.
    The horizontal text positions did not appear to be correct. I reverted now to very simple text width measuring tests where the results are still puzzling.
    Test 1 (GDI+): Use of MeasureString
    With the same font, the width of the string "MM" does not match the double with of the string "M". This cannot be explained with eventual rounding problems.
    Test 2 (GDI+): Use of MeasureCharacterRanges
    Used the same font as for the first test. The width of "MM" is now exactly double of the width of "M". But: The width of the "M" ist lightyears away from the measurement result in the first test.
    Test 3 (GDI): Use of GetCharABCWidthsFloat
    Attempted to create a GDI font as close as possible to the GDI+ font in the previous tests. Unfortunately, this third test shows results which do not match the previous results at all.
    I am appending the full example here; the results I found during the debug session have been added as comments:
    void ApplWindow_TextDrawTest(HDC hDC)
    Gdiplus::Graphics *G = new Gdiplus::Graphics(hDC);
    G->SetTextRenderingHint(TextRenderingHint::TextRenderingHintClearTypeGridFit);
    Gdiplus::StringFormat MyFormat;
    MyFormat.SetAlignment(Gdiplus::StringAlignment::StringAlignmentNear);
    MyFormat.SetFormatFlags(Gdiplus::StringFormatFlags::StringFormatFlagsNoWrap);
    Gdiplus::Font TextFont(L"Calibri", 36, Gdiplus::FontStyle::FontStyleBold, Gdiplus::Unit::UnitPixel);
    const wchar_t *Text1M = L"M";
    Gdiplus::PointF TextOrigin1M(0, 0);
    Gdiplus::RectF TextBounds1M;
    const wchar_t *Text2M = L"MM";
    Gdiplus::PointF TextOrigin2M(0, 50);
    Gdiplus::RectF TextBounds2M;
    //--- Test #1: using MeasureString ----------
    G->MeasureString(Text1M, (INT)wcslen(Text1M), &TextFont, TextOrigin1M, &MyFormat, &TextBounds1M);
    G->MeasureString(Text2M, (INT)wcslen(Text2M), &TextFont, TextOrigin2M, &MyFormat, &TextBounds2M);
    //--- Results: Text 1 Width= 44.414 ("M")
    //--- Text 2 Width= 76.828 ("MM")
    //--- Test #2: using MeasureCharacterRanges ----------
    Gdiplus::Status RCode;
    Gdiplus::RectF LayoutRect(0, 0, 1000, 100);
    Gdiplus::Region RegionsList[3];
    Gdiplus::CharacterRange CRanges[3];
    CRanges[0].First = 0; CRanges[0].Length = 1;
    CRanges[1].First = 1; CRanges[1].Length = 1;
    CRanges[2].First = 0; CRanges[2].Length = 2;
    MyFormat.SetMeasurableCharacterRanges(3, CRanges);
    G->MeasureCharacterRanges(Text2M, (INT)wcslen(Text2M), &TextFont, LayoutRect, &MyFormat, 3, RegionsList);
    RCode = RegionsList[0].GetBounds(&TextBounds1M, G); // Result: Text 1 Width = 32.000 ("M")
    RCode = RegionsList[1].GetBounds(&TextBounds1M, G); // Result: Text 1 Width = 32.000 ("M"; the second char)
    RCode = RegionsList[2].GetBounds(&TextBounds2M, G); // Result: Text 2 Width = 64.000 ("MM")
    //--- Test #3: using the good old GDI ----------
    int MapModeResult = SetMapMode(hDC, MM_TEXT); // MM_TEXT is equivalent to Unit::UnitPixel?
    HFONT TextFont3 = CreateFont(36, 0, 0, 0, FW_BOLD, false, false, false, ANSI_CHARSET, OUT_TT_ONLY_PRECIS, CLIP_DEFAULT_PRECIS, CLEARTYPE_QUALITY, VARIABLE_PITCH | FF_DONTCARE, L"Calibri");
    HGDIOBJ PrevFont = SelectObject(hDC, TextFont3);
    ABCFLOAT ABCCharData;
    BOOL RFlg = GetCharABCWidthsFloat(hDC, (UINT)'M', (UINT)'M', &ABCCharData); // Results: abcfA = 2.000; abcfB = 22.000; abcfC = 2.000
    //--- End of Test ---
    delete G;
    Does anybody have an idea why I get so different results?
    Thanks in advance.

    This is a development question and should be directed to a forum that assists in coding. The forum you posted to is for Windows 7 related questions.
    Sorry I cannot help you
    Don't forget to mark the post that solved your issue as &quot;Answered.&quot; By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick - IT Professional

  • PBDOM : Exporting to XML file gives a single line

    I've been starting developing with PowerBuilder 12.5 a few weeks ago. I had to write some XML files, so I got familiar with the PBDOM library.
    I can build a lot of different things, it's very nice, but one thing still bothers me :
    In the output file, the whole XML is written on a single line.
    I use the SaveDocument function.
    For example, here is some code :
    PBDOM_Document doc
    PBDOM_Element noderoot, node1, node11, node12
    doc = CREATE PBDOM_Document
    doc.NewDocument("NodeRoot")
    noderoot = doc.GetRootElement()
    node1 = CREATE PBDOM_Element
    node1.SetName("Node1")
    noderoot.AddContent(node1)
    node1.SetAttribute("Attr", "AttrValue")
    node11 = CREATE PBDOM_Element
    node11.SetName("Node11")
    node11.AddContent("Here is a value")
    node1.AddContent(node11)
    node12 = CREATE PBDOM_ELEMENT
    node12.SetName("Node12")
    node12.AddContent("Here is another value")
    node1.AddContent(node12)
    doc.SaveDocument("myDoc.xml")
    Here is the result when I open it with notepad++
    <NodeRoot><Node1 Attr="AttrValue"><Node11>Here is a value</Node11><Node12>Here is another value</Node12></Node1></NodeRoot>
    Whereas I wanted :
    <NodeRoot> <Node1 Attr="AttrValue"> <Node11>Here is a value</Node11> <Node12>Here is another value</Node12> </Node1> </NodeRoot>
    With the notepad++ XML tools plugin, I can use the "pretty print" function to get this nice representation. But I would like my file to be formatted this way from the beginning. I noticed that the "line ending" was set to UNIX format (indicator on bottom right of the window), but I'm working on Windows. When I use the menu to convert it to Windows format (CR+LF), it changes this indicator, but the code stays on one single line.
    Is there a way to tell PBDOM to export the XML file with a nice output ?
    Thank you !
    Notes :
    - Opening the XML file with Internet Explorer or Google Chrome gives me a nice vizualisation, with indentation, line breaks...
    - Adding a <?xml version="1.0" encoding="ISO-8859-1" ?> does not help (I've been doing it while exporting some more complex files, but I still get the output on one line...)

    Here is a very simple powerbuilder example. It uses MSXML instead of PBDOM. See my comments for hints how to use it with PBDOM.
    oleobject lole_dom, lole_root, lole_element1, lole_element11, lole_element12
    oleobject lole_Writer, lole_saxreader
    string ls_result
    // build DOM (you don't need this if you use PBDOM)
    lole_dom = create oleobject
    lole_dom.ConnectToNewObject ("Msxml2.DOMDocument")
    lole_root = lole_dom.CreateElement ("NodeRoot")
    lole_dom.documentElement = lole_root
    lole_element1 = lole_dom.CreateElement("Node1")
    lole_root.AppendChild(lole_element1)
    lole_element1.SetAttribute("Attr", "AttrValue")
    lole_element11 = lole_dom.CreateElement("Node11")
    lole_element11.AppendChild (lole_dom.CreateTextNode("Here is a value"))
    lole_element1.AppendChild(lole_element11)
    lole_element12 = lole_dom.CreateElement("Node12")
    lole_element12.AppendChild (lole_dom.CreateTextNode("Here is another value"))
    lole_element1.AppendChild(lole_element12)
    // this saves the DOM without formatting
    //lole_dom.save ("d:\testxml.xml")
    // this part is for formating
    lole_Writer = create oleobject
    lole_saxreader = create oleobject
    lole_Writer.ConnectToNewObject ("MSXML2.MXXMLWriter")
    lole_saxreader.ConnectToNewObject ("MSXML2.SAXXMLReader")
    lole_Writer.omitXMLDeclaration = True
    lole_Writer.indent = True
    lole_saxreader.contentHandler = lole_Writer
    // instead of DOM you can also put a XML string to parser: lole_saxreader.parse ("<node>...</node>")
    // so you can also use the PBDOM output directly
    lole_saxreader.parse (lole_dom)
    // here is your formatted output
    ls_Result = lole_Writer.output
    MessageBox ("", ls_result)
    lole_writer.Disconnectobject( )
    lole_saxreader.Disconnectobject( )
    lole_dom.Disconnectobject( )
    DESTROY lole_writer
    DESTROY lole_saxreader
    DESTROY lole_dom

  • Ai-cs6 How Do I trace a hand drawn sketch to a single line vector outline?

    So I am basically a brand new user to ai-cs6 and have been working on a project for a friend. I've drawn up the basic components of the logo she wants, all separate individual pieces. My intention is/was to trace in each piece, and scale, rotate, and clean them up according to how the final piece should look. Where I'm running into trouble is that the sketches are not point perfect, meaning there's some shading in the hand drawns, and the lines are rough in areas. I'm trying to avoid redrawing the pieces because we both are really happy with where they're at. What I'd like to do with ai-cs6 and I'm hoping this community of creative individuals can help is to trace very simply a one line vector of the outline of the image. So instead of creating a piece that has stroke straight from the scanned in artwork, I get a single line, with multiple points, that flows the simple shape of the piece. From there it seems it would be pretty simple to just increase the stroke weight and modify the style of line to make it look how we would like. All I've succesfully been able to do so far, with the help of some videos and google searching, is to get a traced image that's basically an outline of the sketch. This is o.k. except that since the sketch has some rough line sections ai-cs6 is adding either a lot of detail and making it look pretty rough, or it's missing entire sections and leaving them blank. Any insight and help into getting this figured would be great, I'm gonna roll with what image trace is giving me so I can give her an image of the logo today, but hoping that I can clean it up and get closer to a finished product by next week. Thank you very much I'm grateful that there are discussion forums like this out there to help users of all skill level continue flowing and working with these awesome adobe products.
    Max

    What you're talking about is generically called autotracing in centerline mode. Most autotrace programs can either try to trace all the way around the areas of dark pixels (outline tracing), or try to trace along the middles of areas of dark pixels (centerline tracing).
    In Illustrator's autotrace settings, for centerline mode, you turn off the tracing of outlines (fills) and turn on the tracing of centerlines (strokes). That's the basic setting. From there, you try to adjust the various threshold settings to get as close to what you want as you can.
    When Illustrator's autotrace feature is set to try to trace centerlines, it also tries to set the vector path stroke weights to approximate the thicknesses of what it interprets as a stroke. So after the autotracing is done,  you can expand it and then globally set the stroke weight to a uniform value.
    Beyond that, no one can really advise you more specifically without seeing the specific image involved. Every image is different.
    Generally speaking, autotracing is crap. It's an amateurish workaround to avoid doing what should really be done: Trace the paths manually with the drawing tools.
    JET

  • Images in Multicolumn Listbox doesn't work as expected

    In the attached example, the symbols are getting displayed in the correct order but missing the symbol for the first row. I can manually select the symbol but by default only the 2nd symbol from the provided array list appear.
    Any idea what's the issue?
    How to display correct symbol?
    Thanks in advance.
    Cross-post from LAVA: http://lavag.org/topic/15788-images-in-multicolumn-listbox-doesnt-work-as-expected/page__pid__95584#...
    Solved!
    Go to Solution.
    Attachments:
    Images & Multicolumn ListBox.vi ‏10 KB

    Hello, Vidula
    It seems that index 0 is reserved for the empty symbol, no matter what custom symbol you provided. Adding one image in front before setting symbols array and incrementing ItemSyms indexes solves this problem. However, I can't find any information about this in documentation, which would be nice
    Attachments:
    Images & Multicolumn ListBox.vi ‏12 KB

  • Add text to specified index in multicolumn listbox

    Hi!
    I have smal problem with multicolumn listbox. My application should
    create list of values where user can increase and decrease values of 1
    or more tester at same time.
    e.g when user gives for tester 1 values 1 - 5, my vi creates list where values are displayd like this:
    1
    2
    3
    4
    5
    after that user gives for tester 2 values 5-1 and my vi creates list where values are displayd like this:
    1
    5
    2
    4
    3
    3
    4
    2
    5
    1
    etc.
    First I planned use insert into array function where for 1:st tester
    row index would be 0,1,2,... and for 2:nd tester row index would be
    1,3,5,... etc. One problem in this solution is that if tester 2 have
    more values than tester 1, there will be left empty rows between
    values. I planned use string replace to solve that problem, but then I
    noticed antoher nasty feature of multicolumn listbox.
    More serious problem with this structure is, that if tester 2 have more
    values than tester 1, multicolumn listbox shows only same amount of
    values than what tester 1 have and rest of values are lost in
    kyberspace, because in multicolumn listbox values can be added only
    places where already are values or to last row +1. Do anyone have any
    ideas how to prevent this or how I should build my VI so I could create
    test list for testers?

    hi Janne.
    it took me a while to get back
    sorry!
    good to know u have been able to solve it!
    anyhow, do look this vi  i have attached.  This also takes care of extra elements in the larger array and appends them into the interleaved list box entry.
    hope it can be of help to u.
    ciao
    Devchander
    Attachments:
    listbox_vi.vi ‏90 KB

Maybe you are looking for

  • Please help! I erased my Macbook Pro on Find My Mac.

    Hello, I purchased a refurbished Macbook Pro in December 2012.  Fast forward to September 2013, my hard drive crashed (lost everything) and was forced to bring it to the store to replace the hard drive.  Picked up my laptop this last Saturday and it

  • Error during creation of web service from abap rfc

    Hi, I'm creating a web service from abap rfc (SE37), but at the end  of Creation Wizard I have this error: "web service object already exist". This is my first web service creation. Into WSADMIN there are not web services with the same name. How can

  • Easy cost Planning & Network Costing

    Dear All In one Project can we use both Easy cost Planning & Network Costing. Easy cost planning is generally used when you have structure with WBS only. Network cost planning is a combination of group of activities, all these having their relevant c

  • Customizing MYSITE in SharePoint 2013

    In SharePoint 2013 we want our Intranet Home page  to be the user's MYSITE. Is it possible to apply the corporate branding to MYSITE and also allow our Corporate Marketing and Communications team to publish corporate news / information, polls, links

  • Background bug with windows 8

    I found an annoying bug using photoshop cs6 with win 8 pro. It only happens when i'm working on a file with layer. When I zoom in or out with the mouse wheel the background suddenly changes from gray to black or "trasparent" multiple times. Already t