How do you set the line spacing when using the Append Text Table to Report VI?

I have a table of numbers which I wish to print using the report generation VI's. Since each column has a different numerical format, I first convert the number for each cell to a string with the appropriate format and then build a string array to pass to the Append Text Table to Report VI. The table is printed with double line spacing. How do I reset this for single spacing?
Attachments:
print_array.vi ‏112 KB

Dave,
The issue is not with the NI-Reports functionality, but the Array to Spreadsheet String funvtion in the for loop. Here is the context help for this function:
"Converts an array of any dimension to a table in string form, containing tabs separating column elements, a platform-dependent EOL character separating rows, and, for arrays of three or more dimensions, headers separating pages."
The thing to note here is that it says it adds an EOL (end of line) character at the end of every row. This is what is happening. Your first column of data has a \r\n in it and adds the second row to each data item. This in turn makes the rest of the columns have a larege blank space at the bottom so that all of the cell heights are equal. I w
ould re-write that little bit of code so that you just do one large string concatenation of number, spaces, number, spaces, number and this should solve your issue.
Thank you for using the Developer Zone Discussion Forums.
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask

Similar Messages

  • How can you enter a line-break when using a Bluetooth Keyboard or onscreen Keyboard?

    In Pages & Keynote the only way to force a line break I have found is to put your finger at the end of a line until the select/insert option appears and then selecting insert, then select line break.
    This is frustratingly slow when typing a presentation or document so I bought a Logitech Ultrathin Bluetooth keyboard assuming that would have the Shift+Enter shortcut to make a line break. It doesn't, nor can I find any key combination that does, it's always a new paragraph, or nothing happens.
    I have an Ipad3,  IOS 6.1.3. I've spoken to Logitech support - they said talk to Apple iOS support, I spoke with a chap at IOS support who didn't know what a line break was, didn't know shift+enter on a PC made a line break so didn't understand my question and ended the call.
    Anyone know how to create the shortcut as an alternative to the onscreen slow way?

    Yes
    http://support.apple.com/kb/HT5633
    You can also download the remote app if you have an IOS device

  • How do you set a default Home Page in the Safari Applet?

    How do you set a default Home Page in the Safari Applet?

    How do you set a default Home Page in the Safari Applet?

  • How Can You Track Your Ipod If Lost Using The Serial Number

    How Can You Track Your Ipod If Lost Using The Serial Number?

    The find my iphone app has nothong to do with it.
    That app simply allow you to find other devices using your ipod.  It has nothing to do with fining the device on which it is installed.
    If you set up the find my ipod feature that is built into your ipod and the ipod is on and it is connected to wi-fi and it has not been restored, then you may be able to get an approximate street address using icloud.
    Othrewise, it cannot be tracked.

  • How do I remove an old username from the app store when using the update function

    How do I remove an old username from the app store when using the update function.
    I purchased my Mac used.  The former owners username prepopulates when I try to perform the updated function on the app store.  It does not allow me to use a different user name.    I have created my own username and password.  I have even been able to purchase items from the app store, it's just when I use the update function it does populate with my username.  Any help is appreciated.

    The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    1. You don't own another Mac.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    2. You do own another Mac.
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    Once booted in Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.

  • Omit the XML declaration when using the PHP MM_XSLTransform class

    Hi
    Is there any way to omit the XML declaration when using the
    PHP MM_XSLTransform class?
    When using the PHP MM_XSLTransform to transform some XML into
    HTML, the XML declaration is faithfully delivered, which is
    expected. In my case though this ends up in the body of the
    document and is not desired. I wish to choose that the XML
    declaration is not shown.
    I have tried to use the <xsl:output method="xml"
    encoding="utf-8" omit-xml-declaration="yes"/> in the XSL
    stylesheet but the declaration still appears.
    Any help?
    all the best
    Dave

    Jim20005 wrote:
    > I'm using XLS transfomation in DW for reading XML files.
    Now (I'm just back
    > form holiday), my webspace provider has updated to php
    5.1.5. I'm getting this
    > error:
    Comment out line 301 and add two new lines immediately after
    it like this:
    // $xml = DOMDocument::loadXML($content);
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    This is part of a PHP 8.0.2 hotfix that can be obtained
    directly from
    Adobe support.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Several of us have a iPhone 6s and are having trouble with hearing and speaking at the same time when using the phone. ? The speakers seem to be too far apart? Are others having this issue? Solutions?

    Several of us have a iPhone 6plus and are having trouble with hearing and speaking at the same time when using the phone. ? The speakers seem to be too far apart? Are others having this issue? Solutions?

    Not having the problem, don't personally know anyone who is.

  • I use a 27inch lcd screen. what do i have to do to close the mac book when using the big screen????

    i use a 27inch lcd screen. what do i have to do to close the mac book when using the big screen????

    Here is Apple's instructions:
    http://support.apple.com/kb/ht3131
    Regards,
    Captfred

  • HT1688 what is the HDR option when using the camera?

    What is the HDR option when using the camera and why is it important to me?

    The User Guide is available at http://support.apple.com/manuals/ or downloadable from iTunes as an iBook.

  • In mail, is there a master setting for line spacing when replying?

    When replying to an email, the spacing is very compressed, the reply is only one line above the original message.  Is there a way to tell mail that for all replys, it should increase the line spacing between the reply and the original message?  Thanks.

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • HT4623 How can u set up your iphone when all the files are deleted?

    How can I set up my iphone if all the files are deleted?

    What files are deleted?
    Please explain

  • Setting a deployment context when using the embedded OC4J

    I'm trying to debug a servlet using the embedded OC4J server. I have a simple project that includes a servlet source file and and a web.xml file. The web.xml file defines context
    parameters that I want the servlet to read and use when it is deployed. However I don't know
    how to get JDeveloper to set up the servlet context on the debugging environment to use the
    contents of the web.xml file. Could anyone tell me how to do this? I cannot see how to
    do this from the help files.
    Many thanks in advance

    The trick is to ensure that you use a 'Project with Web Module' rather than
    'Empty Project' and then add a new 'HTTP Servlet'. When you do this
    JDeveloper automatically creates a web.xml file. You can add context
    parameters, or practically any other configuration items by right clicking
    on the web.xml tree node inthe system navigator and selecting settings.
    The web.xml file is saved into the directory specified by the 'HTML Root Directory' on the 'Input Paths' panel in the project settings dialog.

  • How do I set up a second iphone using the same iTunes account?

    How do I set up a second iphone on the same iTunes account but give my wife ability to have her own calendar and contacts?

    Create a separate iTunes library for each device. Note: It is important that you make a new iTunes Library file. Do not just make a copy of your existing iTunes Library file. it will work. I am using it through this

  • How do you turn off Flash audio when using captivate Nav bar?

    Hi Guys and Girls
    I have an imported flash file that plays an audio track,
    I have no problem turning the audio off, when the user uses
    the button within the flash file to go to the next slide in the
    captivate movie...
    on(release){
    stopAllSounds();
    _root.rdcmndNextSlide = 1;
    BUT if the user decides to use the navigation bar within the
    captivate movie it all goes pair shape.. The flash audio continues
    to play into the next slide. Anyone have a know how to solve this
    problem?
    How do you tell flash to stop playing the audio when using
    the captivate navigation bar?
    (The flash file is a flip book and the audio NEEDS to stay
    within the flash file)
    Cheers
    Aquil0

    Thank you! Thank you! Thank you! This totally solved my issue. I had a Captivate 4 movie using an embeded animation that had audio. It would play the audio again when the next slide appeared. I have to use Captivate 4, because my audience still uses Flash 7 (yikes). However, if you have Captivate 5 and are having this problem there is a widget that solves this issue: http://blogs.adobe.com/captivate/2010/11/animations-%E2%80%93-audio-sync-issue.html#commen t-3872
    Thanks!
    EliteEraser

  • How do u turn down the tick volume when using the remote control?

    how do u stop the ticking(clicking) when adjusting the volume using the remote control?

    Hi philippalldino,
    I understand that you do not wish to hear your volume feedback when adjusting the volume of your computer. Here is an article that will tell you how to disable this feature:
    OS X Mountain Lion: Turn off the alert sound for volume keys
    http://support.apple.com/kb/PH10762
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

Maybe you are looking for

  • Tweetdeck notifications VS Keynote

    Is there a way to show tweetdeck notifications during Keynote presentations?

  • How to make pdf's searchable for all words for multiple documents?

    I scan hundreds of documents every week at work. These documents are mostly field invoices for industrial work. I have been saving them with the most important/most searched information as the file name so I can search that information from anywhere

  • Time stamp dropping seconds

    I figure someone has had this problem before but didn't see it in the forum anywhere.  I'm adding a time stamp to a file so I've used the "Get Time/Date in Seconds" and wired that to a "Convert to DBL".  This then wires both into an indicator on the

  • Images as visualizer

    Is there a plugin anyone knows of, or a technique that will allow the iTunes visualizer to run a folder of images in a slideshow. Just sort of curious, I know there are numerous otherways I could get the same effect. tim

  • Conversion of sapscripts/smartforms to PDf format

    i want to use the standard program RSTXPDFT4 for converting into pdf format. but i want a way in which the spool number is automatically generated for the current script or smartform opened instead of the manual entry of the spool number by the user.