How to make re-usable bank of LED indicators?

Hi All,
My toplevel Labview GUI needs to have several banks of LED indicators, e.g. 6 rows of 8.  How can I make a bank or the entire 48 LEDs a sub-vi?  I tried making a sub-vi, but the LEDs on it do not appear on the main vi front panel when I add it.  I.e. the output indicators on the LED sub-vi do not appear on the main vi when it's added.
Any ideas on how to achieve this?  I wanted to make it a subvi so I could reduce the clutter on my top level main block diagram.
Thanks

here is an example of a bool.ctl
Harold Timmis
[email protected]
Orlando,Fl
*Kudos always welcome
Attachments:
boolctl.ctl ‏5 KB

Similar Messages

  • How to Make application usable by persons with disabilities as blind

    Hi All,
    I am developing a custom webcenter portal application.
    During the development 1 thought came to my mind that I should develop the application for persons with disabilities such as blind.
    But I have no idea from where to start and how to move further.
    I searched on internet but could not found anything other than -
    >
    Oracle software implements the standards of Section 508 and WCAG 1.0 AA using an interpretation of the standards at http://www.oracle.com/accessibility/standards.html.
    >
    Also WebCenter Accessibility Features enables any application for this.
    Please suggest me how to move forward and what consideration i should take before moving ahead.
    Also Please guide me about the limitations.Any idea regarding this would be appreciated.
    Thanks
    --NavinK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Accessibility involves making your application usable by persons with disabilities such as low vision or blindness, deafness, or other physical limitations.
    In the simplest of terms, this >means creating applications that can be used without a mouse (keyboard only),
    used with a screen reader for blind or low-vision users, and used without reliance on sound, color, >or animation and timing.Have a look at -
    Section 2.9 Overview of WebCenter Accessibility Features @ http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10148/jpsdg_plan.htm#BABCIDHB
    and http://docs.oracle.com/cd/E17904_01/web.1111/b31973/af_access.htm#ADFUI9888

  • HT5559 JAVA WITH CHROME!!! I am trying to login to my bank account at nordea.dk. This website uses somekind of java thing. Chrome cant't load it. Works perfect with Safari. How to make it work in Chrome?

    I am trying to login to my bank account at nordea.dk. This website uses somekind of java thing. Chrome cant't load it. Works perfect with Safari. How to make it work in Chrome?

    Do you speak of true blue Java or Javascript?  If the latter then it is a problem with the Browser.
    But if it is the real Java, do you have the offical version of Java from Oracle installed?
    Getting applications to see official Java is a nightmare.  If you install the Runtime Environment only (JavaRTE) most applications do not see it.
    To force offical Java system wide, I found you have to install the Java Developer Kit (JavaJDK).  It's a larger install as it also comes with documentation and compilers but it make offical Java system wide.

  • How to make bank management system using java file system

    Hi, I have some fields
    1.ID
    2. Deposite
    3. Withdraw
    4. Balance
    Now how can i manage this Bank Management System using java file system.
    Thanks in advance.

    Then we're back to (1): Do your own homework. Google has zillions of links on handling files in Java. When you have written some code and have an actual problem, we'll be happy to help you with it.
    (edit) Incidentally, this sounds suspiciously like the sort of problem they set for the certification programs. In which case, don't bother; they're not worth the virtual paper they're printed on.

  • How to make vendor payment thru RTGS

    Hi,
    Will someone pl let me know as to how to make vendor payment thru electronic fund transfer?
    Our vendors are paid thru RTGS. Can some pl let me know the complete business process procedure.
    And also the configuration required for the same.
    Thanks in advance
    Regards
    Anand

    Dear Srikanth,
    Thanks lot for your reply.
    Precisely, following is the scenario as regards vendor payment by RTGS goes.
    A letter stamped & signed by an authority specifying the list of vendors and amount to be paid to each is given to bank. And based on the letter bank effects the payment by RTGS.
    Then bank intimates back to the company that payments according to letter have been effected.
    Based on above I seek your suggestion as to how this can be done( Config plus Business process procedure).
    By the way, can T code F-58 be used for this to post individual payment and payment advice be generated to be sent to individual vendors? By doing this vendor line item(s) would be claered and bank sub Acct would be debited. And at the time of executing Bank statement, bank sub Acct's line items are cleared?
    Will it be ok or RTGS payment can be done Only using F110?
    PS:- in F-58 system allows only Cheque PM. for any other PM it gives error...
    Please suggest at your earliest.
    Regards
    Anand

  • How to make screenshot/jpg/pdf of ENTIRE long Safari window (not just visible part)?

    I want to get a "screenshot" (i.e. an image in any format -- PNG, JPG, PDF, whatever) of a looooooooong Safari window diplaying a Web page that entends far below the bottom of the visible screen area and has to be scrolled down to see all of it.
    I know about the standard screenshot keyboard tricks in 10.6 -- Command-shift-4, Command-shift-4 then spacebar/click, Command-shift-3, etc. But not any of them allow the user to get a screen shot of the entirety of a long/deep window -- they only capture what is visible on the screen.
    Also, another trick people often mention is to "print" (command-P) the Safari page, but instead of sending it to a printer choose "Save as PDF." Brilliant -- except that for some reason I've never been able to "print" a Safari page -- as soon as I hit the command-P keystrokes in Safari, I immediately get a spinning beachball that will only go a way with a force-quit of Safari. This has always been true on this computer (MacBook Pro) -- not sure if it's a common bug or if it's just an eccentricity of my particular machine. Either way, that option is off the table because "printing" is impossible with my Safari.
    I also searched around for various third-party freeware applications, and despite a lot of grandiose promises, none of them actually was able to capture an entire window including portions not currently visible on the screen.
    I did find a commercial application called SnapWeb that does have the capability to do exactly what I want -- but it doesn't produce usable images in demo mode and requires $$$ to unlock and work properly, something I'm currently unwilling to pay for a simple one-use gimmick that simply must be part of the OS already.
    So my question is:
    Is there any native way within the 10.6 OS that allows users to capture an entire long Safari window as an image file (not as a Web Archive, but as an image file composed of pixels), which includes the entirety of a Web page no matter how "long" it is, even if it extends far below the visible screen footprint?
    And if there is no native way in 10.6, if there a freeware/shareware application/widget/plugin/whatever which does the same thing?
    I already know about a commercial software that does it (SnapWeb), so I don't need more recommendations for paid apps. And I know that I can laboriously construct a JPEG by hand with Photoshop by taking a screenshot of the visible window, scrolling down a little, taking another screenshot, etc. etc., and then
    "stitching" them together. Yeah, it's possible (and in fact is what I've done in the past), but it's a time-consuming hassle that shouldn't be necessary.
    Help! I've wondered about how to do this for years, and have never yet found a satisfactory answer.

    Woo-hoo!
    After fiddling with Paparazzi! for another 40 minutes, I finally deciphered (through trial-and-error) how to maneuver through its awkward user-interface to an extent that I was finally able to make it "work" -- at least work sufficiently for my purposes. And lo and behold, it does indeed have the capacity to capture a screenshot of an entire long Web page, including the portion not visible on the screen. In fact my first attempt was to experiment with this very page of our thread on Apple "Discussions" about how to solve this problem -- and I got Paparazzi! to save it as a jpeg!! The whole thread, top to bottom, exactly as on the screen, not re-formatted for printing. The final file size was 985 pixels wide by 4,204 pixels long (1.2mb).
    I have since experimented with a couple other pages and had success with them as well.
    HOWEVER, I can't guarantee that Paparazzi! will work with every page on the Web, because I think one of the problems when I first attempted to use it was that the page I was trying to get a screenshot of contained a lot of Flash elements and other data-heavy widgets, and I think those messed up Paparazzi!'s memory or overwhelmed it or something. But perhaps such huge and problematic pages are rare enough to not be much of an issue using Paparazzi! under normal circumstances.
    So, I'll consider this problem "solved," and give user "jsd2" a "This helped me" star, since even though I already had Paparazzi! he encouraged me to revisit it.
    And for the record to help those who might stumble on this thread in the future seeking a solution to the same problem:
    The freeware program to get is called "Paparazzi!" and is available directly on the developers site here:
    http://derailer.org/paparazzi/
    Also, note that the current version only works with 10.6.8 or later, but if you have a previous version of the Mac OS, the developer helpfully maintains an archive of older releases that work with older OS versions -- you can access the old (and new) versions here:
    http://derailer.org/paparazzi/downloads
    It's also available for free download on various popular third-party sites, like:
    http://www.macupdate.com/app/mac/15966/paparazzi!
    Be warned that Paparazzi! does not have a very intuitive user interface, nor a user manual, so be patient with it and you should be able to figure out how to make it work.
    If you want another application that also does the trick and which has a simpler and better user experience, but you don't mind paying money to buy it, you can purchase and download "SnapWeb" on its developer's site here:
    http://www.tribalmedia.com/bts/snapweb/snapweb.html
    And if anybody seeing this in the future knows whether or not there is a native way to capture entire Web pages built in to 10.6, please post the info here. Thanks!

  • How to make Business Area as the reqd file on the Account Assignment level

    How to make Business Area field as the required field  on the Account Assignment level?
    Thanks!
    Mrudula Patel

    You will have to be a little more specific about account assignment. Not sure what kind of document you are concerned about.
    For G/L accounts, the account assignment (Field Statu groups) is done in customizing under SPRO -> Finacial accounting -> Document -> Line Item -> Maintain Field Status Variant. The settings for the fields to be displayed can be maintained here.
    You need to know the field status variant used for the account. This can be found in transaction FS00 under the create/bank/interest tab. You can also reach the maintenance transaction for the variant by double clicking on it.
    Hope that helps!
    Rishi

  • How to make field 'profit center' as non-mandatory in Transaction F-28?

    Transaction F-28 shows Profit Center field as mandatory. How to make it optional; i have already checked it in field status groups-its suppressed over there?
    Field status groups are suppressed. I have also checked posting keys and posting keys assigned to the relevant Bank G/L Account.
    Document splitting is inactive on my company code.
    Payments can be processed through transaction code: F-26 (Incoming Payment: fast entry) without Profit Center requirement.
    But at F-28 (Incoming payment), profit center is mandatory.
    Any Help in this regard will be appreciated.
    Thanks.
    Arslan Qureshi.

    Thank You Karan
    I have Un-checked profit center accounting at transaction OKKP, but no effect.
    why can i post incoming payment through F-26 but not F-28.
    Also Document type is DZ in both Transactions. its only in F-28 that it askes for Profit Center
    Thanks
    Arslan

  • How to create executable to run in application and how to make full screen

    I am developing an application for running in Desktop.
    How should I make a executable so that I can launch application directly ?
    Additionally, how to make the stage/scene to full screen throught the code (without explicitly mentioning height and width), because the monitor/display size might vary from model to model.

    I don't know if you can make a standalone executable, although there are packagers for Java doing that. I don't know if they are usable with JavaFX. License prohibits to package the runtime, so it must be downloaded on each computer from Sun servers. That's what the JNLP does, I think.
    You can also create a shortcut on the desktop with a setting in the JNLP: inside the <information> tag, you can put:
            <shortcut>
                <desktop/>
            </shortcut>to create a shortcut (user is prompted and can decline).

  • How to make thermal vias in a part

    Hello I am working with some high end LED parts and I need to make thermal vias and a nice heatsink area. I would like to know how to make the copper area and or the vias when designing a part be assignable to a net. That way I can join the thermal relief area to a powerplane if necessary. Currently I am having to manually heatsink each led every time which is dramatically time consuming.
    Thanks!

    Acidshock,
    I would recommend that you create a custom footprint. For the heatsink area, just add a SMT pad (Place >> Pin... select SMD) and configure it to have the shape that you are looking for.
    If you want to have it automatically connect to a specific net, then you need to modify or create a custom symbol/component in Multisim and add the extra pin that references the SMT pad you just created in the custom footprint. In this way you will transfer your design from Multisim to Ultiboard with the heatsink pre-configured to a net.
    If not, then you will have the SMT pad every time you use your custom footprint, however, you will need to manually use the Netlist Editor to assign that pad to a specific net.
    If what you need is a via for this purpose, then instead of SMT pad, use a normal through-hole pin, just configure the pad shape accordingly to fit your heatsink needs... when you place the Pin (remember you are creating a custom component), once placed double-click on it and find the tabs for manipulating the shape of the pad.
    I hope that helps,
    To get more information on creating custom components in Ultiboard and Multisim check the following tutorials:
    http://zone.ni.com/devzone/cda/tut/p/id/5631
    http://zone.ni.com/devzone/cda/tut/p/id/3173
    Nestor
    National Instruments

  • How to make in a program periodical​ly switched relay.

    I have a FP-1000(rs 232 controlled) with FP-DO-400 module.
    I need to switch it on(off) periodically. Something like switching it on every 30 seconds for 1 second.
    I just do not know how to make using LabView 7.0. I can control it switching manually but I'd like to make it automatically. Can someone give a couple of hints how to do it?
    Thanks.

    Hi,
    Thanks for posting your question on the NI forem.
    I have attached an example to make switching a simple boolean led on every 10 seconds for 1 "Minute"
    Essentially you would need a while loop, ever 10 sec the virtual led lights up in front panel the select vi resets the shift register every 10 sec and the loop exist after 60 sec (minute)
    Hope this helps!
    Thanks,
    Kurt App.Eng.
    Attachments:
    226838.vi ‏19 KB

  • How to make iMovie to read ADVC-110???

    I'm struggling how to make iMovie to recognize my Canopus ADVC-110 so I can transfer my VHS tapes to iMovie..
    Pleease help

    Hi s
    < When I open up iMovie HD - which video format do I use? >
    • DV
    • Go down under the viewer window and You can select Camera or a pare of siccors.
    Camera should have a black triangle and let You select iSight or ADVC. If not it doesn't detect the
    ADVC
    • Most probably it is. 6-pin end is about double the size and is rectangular eccept on short end that
    are curved to prevent wrong turning
    4-pin end is smaller and has an indent on one of it's longer sides for same reason.
    If it is not dectected on either of Your Macs it indicates a problem with either the ADVC or the FW-Cable.
    • The Cable is far more often the problem. Try to borrow another one and test.
    HERE Comes my long long list. Use it with care - not all apply to Your situation.
    I would print-out and cheque off those that are usably. No guarantee at all.
    Capture/Import problems:
    a) File-Vault is on - turn it off
    b) don’t Daisy chain camcorder - external hard disk - Mac
    (except for some Canon-Cameras)
    c) Slow hard disk (fragmented: repair permissions, repair hard disk, use a faster hard disk)
    d) Something is occupying the CPU/System, like other programs, Internet etc.
    e) Bad RAM-chips
    f) drop outs on the miniDV-tape - make a camera to camera copy on a tape which You have previous recorded with a time code (dummy recording).
    g) FW-wire cable OK?
    h) Break in the time-code on the miniDV tape (make a camera to camera copy on a tape which is prerecorded with nothing/anything so that the tape has a time-code from beginning to the end)
    i) defective camera TRY IT ON ANOTHER MAC !
    j) remove bookmarks in iMovie project
    k) Do You have desktop pictures or screen-savers active? Try turning them off.
    l) Updating - OS has to be a clean install - not an update eg from X.3.x to X.4.x (no good)
      OS X.4.0-2 needs a clean install to work (I use X.3.9)
    m) Updating QT and/or other updates (to 7 needs v6 to be cleaned out first)
      QT v.7 needs a clean install to work (I use 6.5.2)
    n) Have you tried the crazy fix:
    Open GarageBand, play a few notes, close it and reopen iMovie. The camera should import fine now. (Sue/SDillini)
    o) NEW (from Sue/SDillini):
    Trash the Font Collections Folder.
    These files are found:
    /YourUserName/Library/FontCollections folder.
    Drag the folder to the trash and launch iMovie. iMovie will create a new FontCollections folder containing the files it needs when it next opens.
    p) or thrashing the com.apple.imovie.plist file (Rodney Brown2)
    q) - Other programs interfering like Flip4Mac
    r) - Third party or old plug-ins
    May be You find some help in my list:
    Mac:
    • hardware
    ◊ Slow hard disk (fragmented: repair permissions, repair hard disk, use a faster hard disk)
    ◊ I wonder how full your Mac's hard disc is. (David Babsky) A near full hard disk prevents Import/Capture.
    10% free is recommended + space for Import/Capture + work space (about 4 to
    5 times the amount needed for Capture) eg on a 200Gb hard disk You need 20Gb + (one hour tape)
    13Gb + 50Gb = about 80 to 90Gb free space.
    ◊ Disconnect all other ext devices (FW and USB) exept Camera (and keyboard + mouse) and try again
    ◊ Rebuild Desktop (Tech-tool or fingersetting during start-up) (System up to 9)
    ◊ Reset PRAM (Tech-tool or keyboard finger settings alt-cmd-P-R ??)
    ◊ Reset PMU ( Restting the PMU...is the the alt-ctrl-shift and powerbutton shortcut? ) (Sue)
    PMU: http://docs.info.apple.com/article.html?artnum=86760
    PMU/SMU are essentially the same in the PM G5.
    ◊ Reset SMU
    SMU: http://docs.info.apple.com/article.html?artnum=300341
    ◊ Bad RAM-chips
    ◊ disconnect Mac from powerline (not just switch off, really plug out) for a few minutes to reset FW ports
    • software
    ◊ File-Vault is on - turn it off
    ◊ Something is occupying the CPU/System, like other programs, Internet etc.
    ◊ Do You have desktop pictures or screen or energy-savers active? Try turning them off.
    ◊ Updating - OS has to be a clean install - not an update eg from X.3.x to X.4.x (no good) OS X.4.0-5 needs a clean install to work (I use X.3.9)
    ◊ Updating QT and/or other updates (to 7 needs v6 to be cleaned out first) QT v.7.0.0-4 needs a clean install to work (I use 6.5.2)
    ◊ Have you tried the crazy fix: Open GarageBand, play a few notes, close it and reopen iMovie. The camera should import fine now. Sue/SDillini
    ◊ Running iDVD at the same time as iMovie can cause problems: (Lennart Thelander)
    ◊ If You also have installed FinalCut Express/pro there are possibly problems with this
    ◊ Other programs that interferes like Flip4Mac
    ◊ Codecs added to QuickTime
    ◊ Old plug-ins to iMovie or third party alike
    iMovie:
    ◊ remove bookmarks in iMovie project
    ◊ Trash: com.apple.iMovie.plist and com.apple.iMovie3.plist : files (Xinram)
    Connection:
    ◊ don’t Daisy chain Camcorder <--> external hard disk <--> Mac
    ◊ FW-wire cable, is it OK?
    ◊ USB/USB2 is NO GO !
    ◊ Cheque FW connection at Camera end. OK? (Adam Smith1)
    ◊ Cheque FW connection at Mac end. OK?
    Camera:
    ◊ The Camera is set to VTR ? (not as when You ”film” record with it)
    ◊ You may be need to go to the Camera menu and select digital out.
    ◊ defective camera TRY IT ON ANOTHER MAC ! (if the A/D chip in the camera is harmed then it will say in iMovie that the camera is connected and You can forward resp. backward the tape but there will be no picture or sound just the blue screen).
    ◊ connect camera to power-line, not battery-only....(Karsten Schlüter)
    ◊ Canons don't allow daisychaining on firewire, make it "only device" on port (Karsten Schlüter)
    ◊ Cheque the menu on Your Camera so that it communicates with the FW digitally to Your Mac
    ◊ Date and Time is correct on Your Camera ?
    Tape:
    ◊ Drop outs on the miniDV-tape - make a camera to camera copy on a tape which You have previous recorded with a time code (dummy recording).
    ◊ Break in the time-code on the miniDV tape (make a camera to camera copy on a tape which is pre-recorded with nothing/anything so that the tape has a time-code from beginning to the end)
    ◊ If You recorded in LP-mode (90 min on a standard 60 min tape with 12-bit sound). Try to change in iMovie pref. to import but not as individual clips. If this doesn’t work You have to make a Camera to Camera copy with the receiving Camera set to SP-mode and 16-bit sound.
    More:
    ◊ follow advises here http://docs.info.apple.com/article.html?artnum=43000
    ◊ follow Grandmaster Dan's advice for Sony cameras here: http://www.danslagle.com/mac/iMovie/usage/5020.shtml
    NEWS: Jerry Harris writes:
    I know that in a lot of the new Sony HD cameras, iMovie requires that you turn i.Link Conv off. I would look for a similar setting for your camera. This setting has to do with shooting a movie in one format, and using the camera to import as a different format. For instance, if you shoot HD footage and have i.Link conv on - the camera will send DV to the computer etc...
    So, case in point: look for a setting on your camera that has to do with the video format and see if that helps.
    Yours Bengt

  • I was able copy the hardrive of my old macbook from "My Passport" onto the desktop on an older iMac. but i dont know how to make my hardrive and user name be the main one since someone had used it in the past and had their info on the comp. please help!

    I recently broke my 2008 macbook. i was able to use an external hardrive to back up my data onto My Passport. I was going to buy a new computer but a friend told me sher had an older version of the iMac. (not sure how old but it doesnt have a camera if that helps) i was able to hook it up and turn it on but i ran into a few problems. 1) the "authentic" user or whatever it says is someone who previously used the computer. i added me as a user but im not sure how to make me the main user. 2) after hooking up My Passport, i was able to drag my files and copy them to the desktop.(i think i did it correctly) now, i dont know how to make my hard drive and applications and iformation the "main " info. The current apps on the iMac are super old versions of iTunes and iPhoto and such. 3) while trying to open the apps from my macbook on the iMac, it said it didnt have the right software to open these apps.
    I am so computer illiterate so someone please help!!! Also, i do not have internet in my new apartment yet so if there is a way to make this happen without using the internet that would be preferred. sorry for the horrible spelling and poorly written paragraph.
    THANK YOU!!

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make downloadable links in Adobe Muse

    I am new to website design and am trying to figure out how to make downloadable links for some PDF flyers, PSD templates I am creating.   Not sure if "downloadable links" is the correct term for what I'm trying to say but in a nutshell I am creating Business Flyer's in PDF form and Photoshop PSD template files that I would like to be able to have my users click a link that allows them to download them right to their desktop.  Any help would really be appreciated!

    Hi caybar10gaming,
    I had the same question as you and was searching online for how to add "downloadable links" as well so your not alone in that lol. Anyways, I found this video that explains how to do this. I hope this helps you, as it did me. Good Luck  
    http://tv.adobe.com/watch/muse-feature-tour/add-and-link-to-any-type-of-file/
    -Caitlin

Maybe you are looking for

  • How oracle decide whetehr to use index or full scan (statistics)

    Hi Guys, Let say i have a index on a column. The table and index statistics has been gathered. (without histograms). Let say i perform a select * from table where a=5; Oracle will perform a full scan. But from which statistics it will be able to know

  • Draw an visio shape as an .vdx file and render the same in a IE browser

    I had generated an Visio Diagrams getting input from the excel file and stored it in an local path. private void DynamicVisio_Load(object sender, EventArgs e)             string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= 'c:\\Test\\Full

  • FCC-Mapping all content in a single field

    Hi all, I have a requirement to map all the content in the textfiles to the single tag of xml .Do any one know how to configure this in Communication channel.  I referred SAP help docs but all for mapping it with by separter or by fixed length etc..

  • Turn pdf docs into a continuous document

    I have a continuous document feeder for scanning, but I need to know how to merge the continuous pdf's into one continuous document so I'm not sending 35 separate pdfs to my client.  Can someone tell this green pdf person how to do this? thank you!

  • Photoshop crash maybe video driver

    I've been having a problem with photoshop crashing sometime while working in 3d. according to the reliabilty monitor it is related to a dll named "AHCLIENT.DLL." I could be wrong but this file is part of adobes help. I have been told that it is due t