How to create a few new loops to monitor parameters

Hi all

Now, I should create a few new loops to monitor the parameters, all parameters have own monitoring frequency.

I'm trying to use to use sub VI, but the sub VI contains the infinite loop for monitoring and For just run only once, is that I just followed a values.

My main question is this: how to create some news loops of real-time monitor parameters of different frequencys

Without seeing your application as a whole, it is difficult to give an exact answer, but there are basically two steps (and many details):

  1. The data that you want to monitor must be accessible or published somehow like being in a global, FGV, event defined by the user, etc.

  2. Create a VI that a while loop that global readings, FGV or whatever several times. The rate at which you read is based on speed, the value can change.

That's all - with the exception of all the details that I mentioned earlier.

Mike...

Tags: NI Software

Similar Questions

  • How to create password protected new folder in Windows 2007?

    How to create password protected new folder in Windows 2007?

    No such thing as Windows "2007"!
    If you mean that Windows 7, then you can not natively. You must use a third-party encryption application.

  • How will I know if new loops for 10.1.1 has uploaded?

    So I downloaded the new update, but I can't say the old the new loops loops.  Download it and install it or I have to click on the option 'Download the sounds available' in the menu?

    OR

    Can someone give me the name of loop for one of the loops again so I can search my library of loop?  Thank you!

    It is no new loops have been installed for me, but they may have been installed earlier by the logic. Maybe the update adds iOS GarageBand loops, take a look at this list.

    How to get iOS GB loops in GarageBand for Mac.

  • How to create unique variables in loops? (AS2)

    Hello

    I wonder if it is possible to create variables in a loop for which uses an incremental number in the name of the variable.

    This is the code I tried (like a long shot) but does not work:

    var i: Number;
    for (i = 1; i < 10; i ++) {}
    var ['number' + String (i)]: number = i;
    }

    trace (number5);

    What I'm trying to create here is a series of variables called "Number 1", "Number2" and 'Number3', etc. Is there another way to do it? I need them to be public (I think that's the word?), so they can be used elsewhere in the script.

    I would appreciate any advice.

    Try this:

    for(var i : Number = 1; i < 10; i++)
    {
        this["number" + i.toString()] = i;
    }
    trace(number1); // will output 1
    

  • How to create two small screens on one monitor, to two search boxes different of rperform

    a need to display monitor and research 2 questions side by side almost of half of a screen at 2, as to split through the Middle so to speak... at the same time. to compare my results. Please help... it seems as if it should be pretty simple, but I'm stumpped. (sp)?  It's too late to worry the shell in my words. I hope youall are not too maticulas... hmmmm...

    I did it again!

    Hi Carolmorrow,

    ·         What version of the operating system is installed on the computer?

    If you use Windows 7, then you can use Snap to arrange windows side by side, which can be especially helpful when comparing two documents or when moving files from one place to the other.

    Arrange windows side by side on the desktop using snap

    http://Windows.Microsoft.com/en-us/Windows7/arrange-Windows-side-by-side-on-the-desktop-using-snap

    Hope this information helps.

  • How to create a new BB - 10 App?

    Hello..

    PLEs help me...

    How to create the 10 new web app bb base?

    Well this documentation will help you get started:

    https://developer.BlackBerry.com/HTML5/documentation/creating_hello_world.html#lzi1359756502119

    Basically, you need to have the .html file and the config.xml file.

    The Ripple emulator will help you test this chrome, but you must get the SDK to build your application, test it on a simulator & publish later.

  • How to create objects with names being together &amp; quot;. on the fly &amp; quot;?

    Hello world

    I don't know how to create objects with different suffixes in their references "built" on the fly via loop 'for '. I mean, it's, 'typical' how to create a few sprites could be:

    var sprite1:Sprite = new Sprite();
    var sprite2:Sprite = new Sprite();
    container.addChild (sprite1);
    container.addChild (sprite2);

    and what happens if we want to create 100 these objects to aid 'for' loop so that we do not need to type:

    var sprite1:Sprite = new Sprite();
    var sprite2:Sprite = new Sprite();
    var sprite3:Sprite = new Sprite();
    var sprite4:Sprite = new Sprite();
    ...
    var sprite100:Sprite = new Sprite();

    the question is to know how to "integrate" the number name of the instance of the object during the creation of objects of mass? I remember some old "eval" and the square brackets "["objectName"+ objectId]" magic spells, but they do not seem to work in AS3

    Greetings

    :

  • How to create a survey online or for new customers?

    Hello

    I want to create a survey for my new graphical clients. I have a few business questions to new clients and need written answers. I want to stop sending a pdf form, is not well designed for an excellent online form.

    In fact, I know how to how I will present and send the page, but not for a tip: how to create an editable multiline text field online by someone Muse?

    I tried to use this type of text box of a contact form, but it is not effective.

    I tried a wuffoo embed widget, but I don't want to use an external service (like getosmosis.com, or something)

    I have well on the browser in editing, but I don't know if it's a good idea to do this, or really effective.

    I want to build a page scrolling with anchor points and a vertical menu sticking to the 10 chapters of questions and a "send" button at the end to receive the form in my Inbox mailbox, exactly like a message in a contact zone.

    You have an idea? Advice?

    Thanks for that, guys.

    Mikael.

    Forms are forms and editing in the browser has nothing to do with it. I'm afraid that you really need to use other services or sign up to a British Colombia account Pro, if it is really so important to you.

    Mylenium

  • Using a loop on AS3.  How to create instances of a class 1000 and put them in a vector/matrix?

    Using a loop on AS3. How to create instances of a class 1000 and put them in a vector/matrix?

    public var newArray:Array = [];

    for (var i: int = 0; i<>

    {

    var newClass:Foo = new Foo();

    newArray.push (newClass);

    }

  • How to create the new line in actionscript 3

    I have this simple script that is supposed to take a comma to separate values from xml and transform into something similar to an unordered list if only I could get a '\n' to work. Here is my script.

    var dont_forget:Array = myXML... dont_forget [n]. Split(",");

    var d: Number = dont_forget.length;

    While (d-) {}

    detailsMovieClip_mc.dont_forget.text = ">" + dont_forget [i] + "\n\r";

    trace (dont_forget [d]);

    }

    When the trace is running it shows me the values so I know they are there. However, I see that the last value. How to create a new line as a 3?

    Use the appendText method.  By assigning the text using "=" you're crushing on each pass through the loop.

    detailsMovieClip_mc.dont_forget.appendText (' > '+ dont_forget [d] + "\n\r" ');

  • How to create unique variables for... in loop? (AS2)

    Hello

    I have a function onEnterFrame controlling all the movie clips in a table. The movement of each of these clips is controlled by a few variables - speed, acceleration, etc - that are changed on every enterFrame. I can't understand how to create unique variables for each element of the array. Now my variables are the same for all elements, and therefore the proposals of each video clip are the same.

    I used this code to add my video clips in the table:

    for (i = 0; i < starNumber; i ++) {}
    duplicateMovieClip (star, "star" + I, i);
    starArray.push (this ["star" + String (i)]);
    }

    I do a similar thing to create unique variables for each? Or is there something I need to do my loop (myClip in myArray) which is contained in my onEnterFrame function?

    I can post my code if that would help (65 lines).

    Creating unique variables is easy way out. Here's the modified code using unique variables that should solve your problem:

    var i: Number;

    var starArray:Array = [];

    var starArray_X:Array = [];

    var starArray_Y:Array = [];

    var mc:String;

    var scale: number;

    var speedXMod:Number;

    var speedYMod:Number;

    var starNumber:Number = 10;

    var minSize:Number = 15;

    var maxSize:Number = 80;

    var speed: number = 0.2;

    var minSpeed:Number = 0;

    var maxSpeed:Number = 1;

    for (i = 0; i< starnumber;="">

    duplicateMovieClip (star, "star" + I, i);

    starArray.push (this ["star" + String (i)]);

    }

    (MC starArray) {}

    starArray [mc] ._x = (Math.Random () * Stage.width);

    starArray [mc] ._y = (Math.Random () * Stage.height);

    scale = (minSize + (Math.Random () * (maxSize - minSize)));

    ._xscale starArray [mc] = scale;

    starArray [mc] ._yscale = scale;

    var startSpeedX:Number = ((Math.pow (-1, (Math.round (Math.random ())) * (minSpeed + (Math.Random () * (maxSpeed - minSpeed)));)))

    var startSpeedY:Number = ((Math.pow (-1, (Math.round (Math.random ())) * (minSpeed + (Math.Random () * (maxSpeed - minSpeed)));)))

    [mc] starArray_X = startSpeedX;

    [mc] starArray_Y = startSpeedY;

    onEnterFrame = function() {}

    (MC starArray) {}

    speedXMod = ((Math.random () * acceleration)-(0,5 * accélération));

    speedYMod = ((Math.random () * acceleration)-(0,5 * accélération));

    If (((Math.abs (starArray_X [mc] + speedXMod)) < maxspeed)="" &&="" ((math.abs(stararray_x[mc]="" +="" speedxmod))=""> minSpeed)) {}

    [mc] starArray_X += speedXMod;

    } else {}

    [mc] starArray_X = speedXMod;

    }

    If (((Math.abs (starArray_Y [mc] + speedYMod)) < maxspeed)="" &&="" ((math.abs(stararray_y[mc]+="" speedymod))=""> minSpeed)) {}

    [mc] starArray_Y += speedYMod;

    } else {}

    [mc] starArray_Y = speedYMod;

    }

    If (((starArray [mc]._x + starArray_X[mc]) > 0) & ((starArray [mc]._x + starArray_X[mc])))<>

    starArray [mc] ._x += starArray_X [mc];

    } else {}

    starArray_X [mc] * = - 1;

    starArray [mc] ._x += starArray_X [mc];

    }

    If (((starArray [mc]._y + starArray_Y[mc]) > 0) & ((starArray [mc]._y + starArray_Y[mc])))<>

    starArray [mc] ._y += starArray_Y [mc];

    } else {}

    starArray_Y [mc] * = - 1;

    starArray [mc] ._y += starArray_Y [mc];

    }

    }

    }

    }

  • How to create a new profile on a MacBook?

    How to create a new user or COMP

    OS X Yosemite: Configure users on your Mac Try this.

  • How to create a new my sign? new update because not good very uncomfortable

    How to create a new my sign? new update because not good very uncomfortable

    Have a look here: Restorer of Classic https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer/ theme

  • How to create (or delete) a new tag for a Web site, so that his tag appears (or does not appear) whenever I restart Firefox?

    How to create (or delete) a new tag for a Web site, so that his tag appears (or does not appear) whenever I restart Firefox?

    See this - https://support.mozilla.org/en-US/kb/How%20to%20set%20the%20home%20page

  • How to create a photo album already on my new iPad Pro?

    How to create a photo album on my new iPad Pro with photos already imported to film?

    Hmm...  How the pictures came to the film?

    Try to open your Photos App, select Albums at the bottom, if you see the film, then press the sign in the top left + album name and then copy photos from film. The pictures in the album will not copies, they are only pointers, photos will still be Q.C.

Maybe you are looking for

  • Mac data folder does not

    I have format my macbook air and installed window 10... but unable to find drivers since internet... Please help me

  • Satellite A300 - error occurred in the audio settings

    When I try to watch a DVD or movie files from an external hard drive using a TOSHIBA DVD PLAYER, it finds the file or good movie starts to play and then an error message pops up saying to what follows - * an error has occurred in the Audio output set

  • 100 HP LaserJet color MFP M175: scan to the PDF Format

    Hello While using the scanner of HP LaserJet 100 color MFP M175a I don't get an option to save the file in PDF format. I use a scanner through Windows Fax and Scan. Kindly help

  • weird characters

    Hi, I just met this problem. I intend to read my excel file and display on a table. That's what I've met, someone knows why?

  • politics does not create the new partition

    Location: I have an old XP computer where I want to add a second partition. The computer is part of a network of SBS 2008. Nor, disk management, or line of Diskpart command let me add a partition. According to Microsoft, literature, network policy se