How can I keep the zeros before a value?

Hi guys

I'm afraid that it will be the first in a series of question that I fall into my first complex program. So far, I've only done small scale, but it is heavier.

The program will be a series of test for 10 circuits connected in 1 Panel. Each circuit have their own user serialnumber must enter in my program.

Serial number have a first letter (A = year 2010, B = year 2011 and so forth). After that, there is a five-digit number.

Example: A00001, A00002, A00003... etc.

Because there are 10 serialnumbers I would like that the user inputs the first serial number: A00001. Then my program automatically increments the serial number of 1 for each circuit. Given that the letter is changed each year I put it as text to the left of the digital control, if the user only need to enter "00001".

My program increment the serial number correctly and I can see the serial number for each circuit. The only problem is:

What I want to see:

User input: 00001

SN1: 00001

SN2: 00002

....

SN10: 00010

What I see:

User input: 00001 (turns into 1)

SN1: 1

SN2: 2

....

SN10: 10

LabVIEW removes my zeros to the left of the value. Ways to change this? I tried to change the DBL to i32 or u32. I only managed to get the zeros «,»

I could probably do any input string, but then I can't increment then user must enter 10 serialnumbers. Where I work, it is very important that the testcrew uses as few times as possible test.

Thank you and best regards,

Even

Just give Format string like '04D %' in numerical order-> advanced editing mode.

-Claude

Tags: NI Software

Similar Questions

  • When I print a document in pdf format to save, how can I keep the page displayed?

    When I print a document in pdf format to save, how can I keep the page displayed? It takes extra time to close each document. He has not done this before going to a new version.

    solved.

    Judy Reynolds

    Office: (979) 703-6200

  • On another PC I want to save my favorites, but my browser Firefox does not work how can I make the backup, before I reinstall Firefox

    On another PC I want to save my favorites, but my browser Firefox does not work how can I make the backup, before I reinstall Firefox.
    Firefox cannot renew its tabs and now won't run and let me do a backup

    This may be considered to be solve my problem.
    I decided to uninstall the rogue program Firefox download and reinstall the same version (No. 8). I used Windows XP Add Remove programs who asked if I wanted to save the settings of Firefox until I uninstalled Firefox. I said yes and operated with the uninstall. I couldn't find a Firefox 8 so I went for the 12 version and installed on the laptop. This version 12 now works with all the passwords one favorite of the uninstalled 8.
    Thank you for all your help and advice.

  • I have 2 phones on my ID Apple how can I keep the two devices to receive the same iMessages?

    I have 2 phones on my ID Apple how can I keep the two devices to receive the same iMessages?

    How to use several devices iPhone, iPad or iPod with a computer

    Using more an iDevice on the same computer

    This mainly applies to couples who add another device and don't want their electronic mail, messages, etc. being duplicated on both devices. To start reading: How to use several iPhone, iPad or iPod devices with one computer. You must create a login separate Apple and password for anyone who will use the new iDevice. See Apple - my Apple ID and frequently asked questions about the Apple ID. The easiest way is to do it on the computer using iTunes: iTunes - how to set up an Apple ID iTunes.

    On the computer, create a new user account for the person with the new iDevice. This is the user account always uses this person. He or she will no longer use the other user account. This way the person will have a separate iTunes library. Note When finished, do not 'share' apps under a single Apple ID. Each of you must buy your own applications under your own Apple ID. When you decide to divide like this you will have to buy new applications they want to use.

    First, transfer the new devices to a new account as well as all your data.  Save pictures of flow picture you want to keep for your camera (unless they are already in the camera roll) by opening your Photos app, tap Albums icon at the bottom. Now press the album My Photo Stream; Press Select; tap the photo you want to select. tap the share (box with the face up arrow) in the lower left corner icon; in the film, and then click Save.

    If you synchronize notes with iCloud, you want to keep, you must open each of your notes and email it to yourself. Later, you can copy and paste the text into the new notes created in your new account.

    Tap Settings > iCloud > remove account (removes it only from this device, not iCloud; the person who maintains the current account is not affected) provide the password to disable find my phone and choose to keep on my iDevice when prompted.  Sign in with another Apple ID to create your new account. Choose merge to download your data.

    Once you are on separate accounts, you can each go to icloud.com and remove data from the other person to your account.

    The above was created by the user randers4. Changes were made to improve the readability and the syntax.

  • How can I keep the dock and menu bar in the window

    How can I keep the dock and menu bar in the window

    First of all, go to System Preferences and select general:

    Under the dark menu and dock option, uncheck "hide and show the menu bar automatically".

    Go back and select Dock Prefs system:

    Make sure that "automatically hide / show the dock" is not checked.

  • How can I keep the updates that I rejected following lists?

    How can I keep the updates that I reject in the following lists of available updates?

    Once you * hide * them - you won't see them even * less * they are re-certificate/changed/updated.  To whom it may * look like * see them again - but you can give the update more than a quick glance - because if she was re-certificate/updated / changed somehow - you might want to install this time.

    --
    Martin Stanley
    MS - MVP
    --
    How to ask Questions the Smart way
    http://www.CatB.org/~ESR/FAQs/smart-questions.html
  • How can I keep the bar of menus in internet explore 9 open by default?

    How can I keep the bar of menus in internet explore 9 open by default?

    Right-click on an empty spot on the toolbar and check that the Menu bar.

     
     
  • How can I keep the "on-screen keyboard" to invite the user every time that I reboot? The system is Windows Vista.

    How can I keep the "on-screen keyboard" to invite the user every time that I reboot? The system is Windows Vista.

    Please explain what you mean... "incentive"?

    The keyboard screen is not supposed to be enabled when the computer is turned on.

    Here's how to turn off on-screen keyboard:

    http://www.Vistax64.com/tutorials/72733-screen-keyboard.html

  • How can I keep the connection

    Hello.

    I have the following situation.

    I'm developing an application using a Web server to authenticate users, when a user is authenticated to create a session that I use to conduct several operations.

    Problem:

    When the user using the application by time, the connection and the session are closed, if the user performs an operation has failed because the session was destroyed and must authenticate again.

    How can I keep the connection and open session

    Hi chicoxml,

    I guess it would be similar to online sites that have the same concept of a session.  As I understand it, is that you essentially need either make the longer session time-out, not all the session timeout or use a different way to authenticate your user.

  • Once I have to zoom on video in post production using the effects Panel and movement controls > scale how can I keep the sharpness of the image?

    How can I keep the sharpness after I Zoom.

    Never exceed 100% scale.  The image is going to deteriorate.

  • I use Lr5 on a PC, working on the Nikon RAW files. Without even touching the images, they lose their shine after a few seconds. Why and how can I keep the liveliness to the origin?

    I use Lr5 on a PC, working on the Nikon RAW files. Without even touching the images, they lose their shine after a few seconds. Why and how can I keep the liveliness to the origin?

    Step 1: Adjust an image in Lightroom, until you are satisfied with its appearance

    Step 2: Use develop-> new preset, select all selections in the new preset dialog box (note: I always uncheck the exhibition here, who should probably be adjusted picture, I'm mostly interested by contrast, vibrance and camera calibration settings)

    Step 3: In the import dialog box, on the right, under appliquer apply when importing, select the preset desired beside development parameters

  • How can I keep the icon in my toolbar?

    When I close the window of FF, the icon disappears - how can I keep it in my toolbar? ASUS w / Wndows 7

    I think you talk in the shortcut on the taskbar, open Firefox and then click with the mouse right button on the firefox icon in the taskbar and select the option fix the Firefox in the taskbar.

  • How can I keep the wargames encroach on the browser on a new tab?

    Firstly, I download and install fire Fox. everything works fine and fast. the second day without any warning a new tab of a site of war games opens automatically... . How can I keep this from happening?

    Is there a model when this happens, for example, when you start Firefox, no matter what time you go to your home page (or open a new window using Ctrl + n), or at random times?

    You can check a few things:

    (1) home page

    Firefox allows several tabs for home page (s). You can see the extra page in the Options dialog box. See: start-up, homepage, tabs and download settings.

    (2) modules

    Unexpected behavior may be caused by unwanted extensions. Try turning off all non-essential or unrecognized extensions on page modules. Either:

    • CTRL + SHIFT + a
    • Firefox orange (or the Tools menu) button > Add ons

    In the left column, click Extensions. Then, when in doubt, turn off.

    Typically, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Any difference?

  • How can I keep the permanently visible Safari menu bar?

    How can I keep visible Safari menu bar so it does not close when I use it?

    Uncheck the box:

    Do not use the full-screen application.

  • When I create a photo album, how can I keep the photos to reorganize when I move it?

    I create a photo album and I move them in the order I want them.  But when I move the album to a flash drive or yet another album, they reorganize in a different order, probably by date.  How can I keep them in the same order?

    You are missing that the files have no order - the order is provided by the spectator

    In an album, the order is provided by the kind you choose photo - on a flash drive the order comes from the look at a program that on a Mac, is usually the finder - with the finder you can life files in many different ways dont par nom, date de creation by name, date created, date modified, size, etc, etc.

    So life files in a specific order, you must set the correct settings for the files and then set the viewing program correctly - the best way to see the photos in a specific order is to export (File menu ==> export) using the name sequential option, then view them by title

    LN

Maybe you are looking for