How do I create a VI which sweeps from 1000 to 11000 then back to 1000 again

Hi
I feel like a newb asking this question considering that the last thing
I did was a GPIB interfacing program, but I'm trying to create a VI
which simple sweeps a number starting at 1000, up to 11000 then goes
back down to 1000 again, the steps are taken in increments of 1000,
attached is a program which almost accomplishes this goal, except that
when I give out a positive number it just goes 11000,10000,11000,10000
so on and so forth, any help would be appreciated.
Attachments:
Sweep Program.vi ‏45 KB

Instead of analyzing your code to understand exactly what causes this to happen (I don't like nested conditions which look like that), I will just suggest that you take a more simple approach. Attached is one example - if it needs to go up, it goes up, and if it needs to go down, it goes down. This could probably be made more efficient and simple, but this is just a quick example.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
Try to take over the world!
Attachments:
Sweep.vi ‏48 KB

Similar Messages

  • How do you create a pdf which is in a readable view, rather than having to rotate the document?

    How do you create a pdf which is in a readable view, rather than having to rotate the document?

    This cannot be done with Adobe Reader. Do you have Adobe Acrobat?

  • How can I create Object Tag which supports Sun and MS JVM both.

    Hi,
    I have created object tag as shown below
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    name = "TestApplet" height="0" width="0" >
    <param name="code" value="com.apps.TestApplet.class" />
    <param name="codebase" value="codes" />
    <param name="archive" value="TestApplet.jar" />
    </object>
    The above tag is working fine with the below JVM combinations in Windows XP.
    1) Only Sun JVM
    2) Only MS JVM
    3) Sun JVM & MS JVM
    But these conditions are not working with Windows 2000.
    How we can create object tag which will support for these two opertating systems?

    I am not able to understand the problem. From my understanding, you have an applet which you are trying to display in a browser using <object> tag. If that is the correct then all it matters is the browser and the JRE�
    For example the below code when put in a JSP or a HTML, will use JRE 1.6.0_01 that is available on the client machine. If that is not available on the client machine then it will try and download automatically in IE.
    This below code is for IE� if you are using Mozilla Firefox then you need to change the �classid� attribute to �java: com.foo.bar.ui.MyClass�
    <OBJECT ID="Gantt" classid = "clsid:CAFEEFAC-0016-0000-0001-ABCDEFFEDCBA"
                  codebase = "http://java.sun.com/update/1.6.0/jinstall-6u1-windows-i586.cab"
                  WIDTH = "980" HEIGHT = "495" ALIGN = "baseline">
                   <PARAM NAME="cache_option" VALUE="Plugin">
                  <PARAM NAME ="CODE" VALUE = "com.foo.bar.ui.MyClass" >
                  <PARAM NAME="MAYSCRIPT" VALUE="true">
                  <PARAM NAME ="cache_archive" VALUE = "Myjar.jar /" >
                  <PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.6.0">
                  <PARAM NAME = "scriptable" VALUE = "false">
                  <strong>
                     This browser does not have a Java 1.6.0_01 Plug-in.
                     <br />
                     <a href="http://java.sun.com/update/1.6.0/jinstall-6u1-windows-i586.cab">
                       Get the latest Java Plug-in here.
                     </a>
              </strong>
            </OBJECT>

  • How do we create a promotion which is not out of the box?

    hello,
    how do we create a promotion which is not out of the box?

    Hi,
    You can create a new item item descriptor in /atg/commerce/pricing/pricingModels.xml.
    ~ Praveer

  • HT201365 Hello Apple, I'm having a problem with activating my iPad 4. I created iCloud account which differs from Apple account but I now forget my iCloud password. How can settle it ? Thank you so much

    Hello Apple, I'm having a problem with activating my iPad 4. I created iCloud account which differs from Apple account but I now forget my iCloud password. How can settle it ? Thank you so much.
    Lydang
    <E-mails Edited by Host>

    Hello Apple, I'm having a problem with activating my iPad 4. I created iCloud account which differs from Apple account but I now forget my iCloud password. How can settle it ? Thank you so much.
    Lydang
    <E-mails Edited by Host>

  • How can you create a writable PDF document from a PPT presentation ?

    How can you create a writable PDF document from a PPT presentation ? Upper part with the image , lower part with a free space in order to take notes for students during presentation or course.
    Thanks.
    B

    You can make a PDF file out of you notes and handouts but using the Adobe PDF printer.
    Open your PowerPoint Document then go to “File” “Print”
    Select ‘Adobe PDF” Printer
    Under slides, select which way you want to print. Note it will not print to a printer but to a PDF file.
    After then go into printer Properties and Setup PDF properties, do the following: (see second image below)
    Default: PDF/A 1-b
    Adobe Security: none (change as needed)
    Adobe Output folder: Prompt for Adobe file name
    Adobe Page size: Letter (change as needed)
    Check the following check boxes
    View Adobe PDf Results,
    Add Document Information,
    Rely on system fonts only,
    Delete Log files for successful jobs.
    Select OK
    A pop will ask you where you want to save the document. The file extension should be PDF. After giving the file name select okay and the file should popup as a PDF. Down side is if you want to speaker notes included then you will have to do another file, like wise with just screen shots then combine into one PDF document.
    I used Acrobat IX Pro. So to do this you need Acrobat IX or X Pro.
    Hope this will help.
    Tiger26

  • How can one create a paint color generated from a photo using Kuler?

    How can one create a paint color generated from a photo using Kuler?

    The best way to remove a pattern is to use a Fast Fourier Transform.  There's a free plugin (as well as examples and instructions) here:
    http://dl.dropboxusercontent.com/u/6795661/4N6site/improc/fftplugin/examples.htm
    Using the plugin requires editing the individual colour channels, which PSE does not natively allow.  You'll need the reasonably-priced Elements+ addin:
    http://elementsplus.net/
    Here's a crop at 100% of the result I got:
    The pattern is much reduced.  With some experimenting, you can probably do a little better.
    Ken

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • How can I create a java.awt.Image from ...

    Hi all,
    How can I create a java.awt.Image from a drawing on a JPanel?
    Thanks.

    JPanel p;
    BufferedImage image =
        new BufferedImage(p.getWidth(), p.getHeight, BufferedImage.TYPE_INT_RGB);
    Graphics2D g = image.createGraphics();
    p.paint(g);
    g.dispose();

  • How do I create a single PDF Portfolio from an Outlook 2011 email with multiple non-pdf attachments?

    How do I create a single PDF Portfolio from an Outlook 2011 email with multiple non-pdf attachments?
    Email has 3 attachments--some are not pdf. I'd like all three converted into pdf files along with the email itself, and all appear in the email's pdf portfolio.

    I would also like an answer to this question. 
    I am trying to convert an Outlook email to a PDF, then all attachment are appended to the PDF as pages instead of attachments. 

  • How do i create a playlist in itunes from my iphone 4s?

    how do i create a playlist in itunes from my iphone 4s?

    denisefromnj wrote:
    On my iphone 4s I have 2 songs in the purchased category that I want to manually move into an existing playlist.  I can not figure it out.
    If the existing playlist is a regular (non-smart) playlist, then you can edit it directly on the iPhone. Just select the playlist and you should see an "Edit" button at the top, above the songs.  If you don't see that, then it must be a smart playlist since those can't be edited on the device. Once you tap the Edit button you would then navigate to the song you want to add and press the blue + sign to the right of the song, then press Done when you're finished.
    One caveat though, if you auto-sync your iPhone, the changes you make will not be preserved -- the playlist will revert to how it was next time you sync to iTunes.  So if you want to edit a playlist on your iPhone and then transfer it to iTunes, you have to create a new (empty) playlist on your iPhone, add the playlist that you wanted to edit to the new playlist, then add or delete more songs to the new playlist.  When you auto-sync, the new playlist will transfer to your iTunes library.
    But if you manually manage your iPhone, the playlist should remain in its edited state even if you connect to your library (but admittedly its been awhile since I tried manual mode).

  • How do i create a table of contents from bookmarks?

    How do I create a Table of Contents from the list of bookmarks?  How do I format a Table of Contents?

    Hi Brent!613,
    I think you may have landed in the wrong forum. Are you using Acrobat? If so, this thread from the AcrobatUsers.com may be useful: https://answers.acrobatusers.com/Create-Table-Contents-pdf-Bookmarks-q192651.aspx
    Best,
    Sara

  • How do I create. A single PDF from multiple files? PDF pack on iOS

    How do I create. A single PDF from multiple files? PDF pack on iOS
    The primary reason I signed up for. PDF Pack was to create a single PDF from multiple image files and other PDFs .
    Is this possible? If so how
    thanks in advance
    rich

    Hi Rich,
    The combine files feature isn't available when you're using Reader for iOS. However, you can log on to the web interface at Adobe Acrobat.com using your Adobe ID and credentials, and use the Combine Files feature there.
    Please let us know if you need further assistance.
    Best,
    Sara

  • How could I create a "Linked Server" link from SQL Server 2008R2 64-Bit to Oracle Database 11.2 64-Bit?

    How could I create a "Linked Server" link from SQL Server 2008R2 64-Bit to Oracle Database 11.2 64-Bit?
    Let's say the SQL Server and Oracle Database are in the same Company Internet Network.
    I have the code, but I do not know how to use it. Such as what is System DSN Name? Where could I get it. What does it look like?
    Do I need to install any Oracle Client Software in order to link from SQL Server to Oracle? Or SQL Server has the built-in drivers installed already that I can directly create a Linked Server from SQL Server to Oracle?
    I need to know details. Thanks.
    USE master
    go
    EXEC sp_addlinkedserver
         @server  = '{Linked Server Name}'
        ,@srvproduct = '{System DSN Name}'
        ,@provider  = 'MSDASQL'
        ,@datasrc  = '{System DSN Name}'
    EXEC sp_addlinkedsrvlogin
         @rmtsrvname = '{Linked Server Name}'
        ,@useself  = 'False'
        ,@locallogin = NULL
        ,@rmtuser  = '{Oracle User Name}'
        ,@rmtpassword = '{Oracle User Password}'

    You need an OLE DB provider for Oracle. There is one that ships with Windows, but it only supports very old versions of Oracle. Oracle has an OLE DB provider that you can use. I don't know if it's part of Oracle Client or how it is bundled.
    You should not use MSDASQL or any DSN.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How do I create a duplicate image inside the same page? Then how do I change the color of that image

    how do I create a duplicate image inside the same page? Then how do I change the color of that image from black to red?

    Hello there!
    Here is one way to create a duplicate image and colorize it. As you can see below, I have one image right now, that I want to duplicate.
    My layers panel looks like below.
    To duplicate your image, click the downward arrow on the right side of your Layer Panel.
    Select Duplicate Layer. This will duplicate the layer that the image is on.
    Select "OK" to approve the duplication.
    As you can now see in the Layers panel, the image is duplicated. The new layer is now at the top of the Layer panel.
    Now to colorize your image, go to Window > Adjustments.
    The Adjustments panel will now be opened. Select the Hue and Saturation icon as seen circled in red.
    The Hue and Saturation propertied panel will be opened. I selected "Colorize", and adjusted the hue and saturation bar to achieve the level red in my photo.
    As you can see below, the image is now red.
    Now i want to make sure only ONE of my image layers is red. I moved the Hue and Saturation layer to only be on top of the bottom layer. The image on the top layer now will not be affected by the red.
    Select the move tool, so I can now move the image layers so we can see both of them.
    With each image layer selected, you can take the move tool and move the images. I moved mine on top of eachother and you can see my red layer (bottom) and the non red layer (top).
    I hope that helps. i have also included helpful links.
    Please post back with any questions,
    Janelle

Maybe you are looking for

  • Is there a way to make duplicate e-mail drafts to be sent out

    I would like to know if there is a way of duplicating an e-mail that I drafted to send out. In other words: I need to send the same e-mail to a few dozen times. I do not want to do BBC's The e-mail would need the subject and body info with the To: bl

  • Curve, Battery with Red Line

    I got a BB Curve today, tried to charge it but a battery image popped up with a red light through it. Anyone know what I have done? Battery dead? Well pissed off with it atm. EDIT: its an orange battery isn't it spose to be blue? Cheers Message Edite

  • THE Solution for partial sync or no sync of contacts and calendars and iPhone malfunctions!

    Alright. So...this worked for me too. Finally...and no hlep from the apple store OR apple care! Got a new phone from apple store...FAIL...no call back from Sr. Tech...FAIL. So...I did the following: On the phone first: 1) Switch to airplane mode 2) R

  • Error while Using TYPE ....

    Hi All ... I have create a TYPE as Follows :- CREATE OR REPLACE TYPE test_type AS OBJECT (     id number(12),      name varchar2(50) Then , In Package Specification used ..... type test_tab_type is table of test_type; Now , In Package Body I am using

  • How to use two group tags in the header?

    I am using BI Publishing,RTF Template,I found when I put two group tags before <?start:body?> ,the BI Publishing only keep the 2nd group tag right before <?start:body?> as header, it moved the 1st group tag to the body section. Is this a bug? Can any