For loop that controls generator from RG

This might be a stupid question which is easy to do in C++.

I searched for 20 pages and could not figure out how to solve.

Basically, we want to leave at some point (200 MHz), take 10 MHz at a time, put an end to some point (300 MHz).

Firstly it output a signal of 200 MHz for 10 (variable) seconds, show a signal of 210 MHz for 10 seconds, then exit a signal of 220 MHz for 10 seconds, blablabla.

So we need a variable that initialize at the beginning, add 'step' to each iteration.

However, I can't find a variable (which can store the value) in LabView which can help me to do so.

The table in LabView can store the value, but it is quite difficult to use the table.

The C++ function (somehow) looks like this.

CIN > startpoint > stage > end point;

CIN > duration;

a = start;

b = step;

c = endpoint;

d = duration;

for (i = 0; i< (c-a)/b;="">

{

RFoutput (a);

Wait (d);

a = a + step;

}

Is anyway use LabView to realize this?

This might seem stupid, but I'm stuck for a long time!

Thank you very much!

If you think that the paintings are difficult to use, you need to start with some tutorials of LabVIEW base before making a simple program.

In any case, look in the shift registers to keep state between iterations of the loop. You can also create a ramp of table covering your values and your autoindex then a boudanriy of loop FOR. There is even a function called 'ramp model.

Tags: NI Software

Similar Questions

  • where is the free rope brushes model for Illustrator that are available from adobe?

    The internet is full of links that will take you to the Adobe add on the article where it is supposed to be rope free model brushes... Geeish, it takes at least 10 sites. Click on the link and I can not find them... ideas anyone?

    Hello, please could you send us the links in question and we will follow upward? We are not aware of all the reasons for rope on Addons. We do not have a lot of brushes and patterns on Addons, but none that give a rope effect.

  • I want to have my model centered on my screen, so all of my pages that I generate from it are centered.

    I want just a simple way to do this without going into the bootstrap information and etc.  Is this possible?

    My web page looks good, but it's on the left side of the screen and not centered.  All the div I want centered is centered.  I understand how to Center a div with the left and right margins set to auto.  I want to just my next page centered on the screen.  I've read several others who have asked this question, but nothing got answers.  I must be dense.  HELP PLEASE!

    Thank you.

    Don

    You don't use a Bootstrap, your layout is governed by this CSS rule:

    {.user_page_area}

    Clear: none;
    margin left: 115px;
    right margin: 100px;
    top of the margin: 25px;
    margin-bottom: 75px;
    text-align: left;
    Width: 1000px;
    float: left;
    padding-left: 0px;
    color: #171F58;
    do-size: 110%;
    }

    Change the values for margin-left and margin-right for auto, remove the left float and specify the max-width width:

    {.user_page_area}

    left margin: auto;
    margin-right: auto;
    top of the margin: 25px;
    margin-bottom: 75px;
    text-align: left;
    Max-width: 1000px;
    color: #171F58;
    do-size: 110%;
    }

    And your styles.css file is not downloaded, but it's probably not not required.

  • Would like to see the code for a static page generated by Muse

    I'm very comfortable with HTML and CSS and some Javascript and PHP, but I'm curious to see what the code on a page built Muse looks like.

    Thank you very much.

    http://Muse.Adobe.com/ or sites "Site of the Day' linked from there.

    Note that the Muse allows you to insert HTML codes in the head or the body of a page and also supports third-party embedded via widget custom code. Validate sites of Muse. If find you one that doesn't, you are most likely looking at a custom code that has been added to that generated by the Muse. In most cases, you will see comments shouting the custom code or widget.

    If you are a developer, you are looking for something that will generate the code for you to move forward in a text editor, Muse is probably not the right tool for you. But if you are ready to embrace the change of paradigm of work leave within brackets Muse offer (for example MuCOW widgets), rather than take the exit code of Muse and pulling in a text editor, some of the amazing productivity gains and collaborations are possible. This article provides an overview of how a team to Al Jazeera has exploited the skills of journalists, designers and coders to create the site of Beyond the Beach using Muse Prize winner.

  • loop for doesn't loop in table built from worksheet

    I'm probably doing sonthing but really stupid...

    first I build and table of data in a worksheet (RefLookup)

    the spreadsheet contains 3 rows above the row is my label (getting by)

    the second row it my face value

    the third row is my minimum value.

    REF is my live stream of data to be searched.

    then, I put this in a loop for loop through the table until she finds that go the Ref data in the lie...

    Then I just stop the loop and the index of output value.

    This index value is the opportunity to review worksheet data and return the label for this index.

    from what I can understand the code should... work. but it does not go past the first itteration of the loop for

    any ideas?

    Please and thank you

    John

    You must set the comma separator, otherwise you get all the data. (read spreadsheet)

    You do this too complicated. Here is the equivalent code. I don't know that it can be much more simplified!

    You don't need the outside while loop. find once is enough.

    You probably want to add a "select" after the loop that selects NaN instead of the last value if nothing is found, based on the Boolean value.

  • I fell for the "eventvwr" scam and gave the appellant to control remotely from my computer.

    I fell for the "eventvwr" scam and gave the appellant to control remotely from my computer.  When I insisted on getting a phone on their part number, I shut down the computer, waited a bit and restarted again.  Everything seems normal, but I'm worried.  I had to give them a "id" so that they could take control remotely.  I have to worry about remote access to my computer now?

    I fell for the "eventvwr" scam and gave the appellant to control remotely from my computer.  When I insisted on getting a phone on their part number, I shut down the computer, waited a bit and restarted again.  Everything seems normal, but I'm worried.  I had to give them a "id" so that they could take control remotely.  I have to worry about remote access to my computer now?

    Remove all device has been installed to allow remote access.

    You need to change passwords on accounts and examine your computer and all data within being compromised.

    Your line of safer driving is to reformat/reinstall your operating system.

    You can also check the following links for more information:

    http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspx

    http://www.mypchealth.co.UK/GuideScam.php

    http://ask-Leo.com/i_got_a_call_from_microsoft_and_allowed_them_access_to_my_computer_what_do_i_do_now.html

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-security/i-fell-for-the-eventvwr-phone-scam/8e79cd60-0a09-4ED6-85b0-056230878815?page=1

    Good luck...

  • Hi, I would love someone to help me get my serial number for this program, that I buy from best buy

    Hi, I would love someone to help me get a serial no for my adobe program that I buy from best buy.

    Number of WINE, redemption Code and serial number

    VIN number starts with the AFDB and 19 characters. It appears under the code barcode on the sticker on the back of the box of the product. VIN number also appears on the Bill labeled as Nbr series.

    The Code redemption 24 characters and contains alpha and numeric characters. It is printed in black skin off the coast of the sticker on the back of the box.

    The serial number is long of 24 characters and numbers only. It is generated when the user enters the Redemption Code in the site http://www.adobe.com/go/getserial .

  • Is there a way to make transitions from State/animations of a States - button for example fl.control?

    Is there a way to make transitions from State/animations of a States - button for example fl.control?

    All I can do now is to change the structure of the skin and that's it, I can't do an animation between States as I can with Flash Builder skins. So is it possible to do so, any technique or I need to create a button from scratch?

    Thank you!

    simplebuttons have properties upState, etc., that you can use to assign some movieclips to the 3 States.  You can use the property movieclps currentFrame (seem to) smooth the transition from one State to another.

  • Footers that disappears into the PDF generated from FrameMaker 9

    Three other writers and I are having a problem with feet disappearing into FrameMaker.  Here's the problem: in FrameMaker, footers appears correctly.  When convert us a book in PDF format, many of footers disappear.  We find that a footer (or a part of the footer) appears on the first page of the chapter, but then footers disappear in the rest of the chapter.

    Here is some info:

    ·        

    We use the frame 9.  My version is 9.0p250.  I also use Adobe Acrobat 9 Pro Extended, Version 9.3.2 and Adobe Distiller: Professional Version 8.1.3

    · We have been able to reproduce this problem by using several guides.

    · Oddly, footers appear correctly when I print a single chapter.

    · I tried to restart my machine and then only FrameMaker loaded (if memory problems).

    · I optimized the book file and associated chapters.

    · I experimented with different settings distill.

    Does anyone else have this problem?

    It is probably a symptom of the MS Hotfix that corrects a problem with the text in PDF documents endangered generated from several Windows applications (not just FM).

    More info here:

    PS The hotfix KB 952909

    Adobe blog: hotfix for FrameMaker

    Please let us know if this is the case-

    Sheila

  • The execution of a stored procedure from inside the cursor for loop?

    I posted this in the SQL Developer forum, but I tried in SQLPlus and get the same error, so I think it's an encoding issue.
    I have a piece of code that I'm trying to write that will only be executed once. The goal: we have three tables relating to the pieces of information. Each table has a column that stores the number of site that belongs to the part. We want to copy the parts of a site to about 130 sites which don't have any info on parts. The number of site is stored in another table. So I created three stored procedures, one for each of the three tables that we, who take 2 inputs: a source and destination site. Procedure names are: ptfile_copy_fac, ptxref_copy_fac and ptvndrs_copy_fac.

    The problem I have is that I can run the procedures in a separate worksheet in SQL Developer, but when they are integrated in this cursor for loop, I get the following message from SQL Developer:

    ORA-06550: line 23, column 11:
    PLS-00103: encountered the symbol "PTFILE_COPY_FAC" during the expected in the following way:
    := . (@ %; immediate)
    The symbol ': = ' was replaced by 'PTFILE_COPY_FAC' continue.

    He repeated this for each of the three methods. I have attached the code I am trying to run below. He expects an assignment operator, but I have no idea why.

    If there is a better way to do this, by all means let me know. I'm a SQL Server guy, I'm not sure how to do what I do using PL\SQL.

    / * Declares the variables source_fac and dest_fac.
    The source_fac is the installation that we copy parts.
    The dest_fac is the installation we copy parts to.* /

    DECLARE
    source_fac facility.facility_num%type;
    INSTALLATION OF DEST_FAC. TYPE % FACILITY_NUM;

    / * Declare cursor to use loop for.
    Slider load number installation and the status of the installation.
    Is not installation of 1 or 2, since these will be
    the main source of facilities.*.

    CURSOR fac_cursor
    IS
    SELECT
    facility_num,
    div_state
    Of
    installation
    WHERE
    facility_num NOT IN (1,2);
    BEGIN
    FOR fac_row IN fac_cursor
    LOOP

    / * Test for the State of the installation. If a Canadian State, the source_fac value 2.
    Otherwise, the value source_fac 1.* installation.

    IF fac_row.div_state IN ("AB", "BC", "Mo", "NB", "NL", "NT", "NS", "NAKED", "WE", "PE",
    "QC", "SK", "YT")
    THEN
    source_fac: = 2;
    ON THE OTHER
    source_fac: = 1;
    END IF;

    / * Sets the installation of destination to the facility_num from the cursor * /.

    DEST_FAC: = FAC_ROW. FACILITY_NUM;

    / * Execute the three procedures, past of the source and dest AEC variable * /.

    run ptfile_copy_fac (source_fac, dest_fac);
    run ptxref_copy_fac (source_fac, dest_fac);
    run ptvndrs_copy_fac (source_fac, dest_fac);

    END LOOP;

    END;

    Published by: SunDevilKid on March 3, 2010 15:31
    Update the comments you make more sense of the code.

    EXECUTE is a SQLPlus command, change your code to

    dest_fac := fac_row.facility_num;
    ptfile_copy_fac(source_fac, dest_fac);
    ptxref_copy_fac(source_fac, dest_fac);
    ptvndrs_copy_fac(source_fac, dest_fac);
    END LOOP;
    

    Max
    http://oracleitalia.WordPress.com

  • Hi someone help please I am signing the apple tv correctly and it says the password for itunes that is incorrect. However, I am now connected from my computer and it is OK

    Hi someone help please I am signing the apple tv correctly and it says the password for itunes that is incorrect. However, I am now connected from my computer and it is OK

    Have you tried to reboot your router, correct your location settings, you use audit stage 2.

  • How can I delete a file on my iOS device that I downloaded from my iCloud? I just want to keep the Preview on my iOS device without using my storage iOS for the entire file.

    How can I delete a file on my iOS device that I downloaded from my iCloud? I just want to keep the Preview on my iOS device without using my storage iOS for the entire file. This means that the file is still in the iCloud and available to be downloaded to any device.

    In practice, I want to be able to scan and download through my documents located in my iCloud and once I didn't need them on my iOS device I would like 'load their return to the cloud' to my storage of the iOS device is not used.

    Thank you in advance to the community!

    Max

    The only way I found to do that once a file has been downloaded is to remove it and add it again through either from Finder on Mac or iCloud.com.

  • Maximum limit for the number of periods loops that can be run at the same time?

    I am developing a simulator that requires many pieces of code to execute in parallel.  As a result, we were in loops just for this purpose.  I didn't count but there are close to 100 call loops that eventually run at a given time.

    A week ago, I've reached a point where the Simulator was working fine but when I added a more timed loop, it would break LabVIEW.  When I say LabVIEW crashed, I want to say there is no warnings that popped up, and LabVIEW just stopped completely.  Worse still, LabVIEW didn't offer even to recover the work when I start it back up again.  However, removing an additional timed loop allows everyone to work normally again.

    I'm under LabVIEW 2009 Version 9.0f3 (32 bit).  I have observed this behavior even on two different systems, one that is 3.2 GHz Xeon Quad-core with 2.0 GB of RAM, running Windows XP SP3 (32 bit) and the other is a 3.0 GHz AMD Athlon 64 Dual Core with 4.0 GB of RAM, running Windows 7 Professional (64 bit).

    Because the two systems are quite different, and LabVIEW appears to hang at the same point, I wonder if someone has already noticed such behavior.  I searched online and can't seem to find any reference to such a limit on call loops.

    One last thing.  I made an attempt to replace all the loops timed with while loops, but this seems to lead to some kind of hunger because the Simulator becomes suddenly jerky, without seeming to consume all resources more than when the call loops were in place.  So, which doesn't seem to be an option.

    I think that you are limited to 128 Timed loops in a system. Could not find anything by specifying that online, I am sure that I heard him. Also, the Sources Software-Triggered clock Timing loops can only be counted between 0-127.

    However, it certainly sounds like a bug that LabVIEW would crash during the approach of this limit rather than up a significant error.

    You can do some things to help avoid the unstable behaviour of the normal use of many parallels while loops. Place one or more loops in subVIs and then distribute these subVIs enforcement systems . This will give you your application with multiple threads of execution, which will reduce the ground being. If you don't do this, your curls probably all run System Standard of performance, which, by default, cannot have 8 wires at his disposal to share between all the loops.

  • How can I find and restore volume control that has disappeared from my system icons?

    The icon for the volume control in the toolbar at the foot of the screen disappeared.  How can I find it and restore?

    Hi Fran,

    Please see the following article for instructions that should help solve this problem: http://support.microsoft.com/kb/945011.

    Good luck!

    Kosh

  • My system is XP SP3. I have MSOffice 2003 SP3. I have 28 updates for Office that won't install after many attempts and a "FixIt" run or two from Microsoft.

    My system is XP SP3. I have MSOffice 2003 SP3. I have 28 updates for Office that won't install after many attempts and a "FixIt" run or two from Microsoft. That this has something to do with the .net framework 4.0 or something? I used Windows update, and then update Microsoft, all this without success.

    If the fixit does not resolve the problem, read the article:

    How to troubleshoot incidents to update your installation of Office on the Office Update Web site
    http://support.Microsoft.com/kb/304498

Maybe you are looking for

  • How can I get rid of the virus of whitesmoke?

    I tried to reset Firefox, ran Malawarebytes and Super Anti Spyware, ran Norton and even tried downloading TDSKILLER. Nothing don't straightens this virus or get rid of it. When I have Firefox, it seems to go away; However. my PC runs slowly. I don't

  • Requirement of 12 CPU Oracle

    Plan to install Oracle 12 on 64-bit Linux.What is the recommended number of CPUs?  In general, a higher number is preferred as quadcore or higher.  But in the cloud environment, more processors means the higher the price to pay, sometimes, the differ

  • Visual C++ Redistributable required to run updates

    Why you're not able to get the new June 20th, 2016 updates on your creative cloud, if you are running Windows 7.So I spent all day on this because Adobe did not anywhere that I could find it. But I'm hoping some of you to save a lot of time wasted...

  • Temporary rotation tool?

    Hello worldI work with an Intuos Pro 5 and I would like to know if it is possible to define a shortcut (or maybe already there) to rotate the view quickly. I know the "Rotation" tool and its shortcut "R", but I'm looking for a 'temporary tool', somet

  • Is there a cloud creative plan that can buy once to use forever?

    I want to use all Adobe Creative cloud applications, but I'm from Viet Nam, then Adobe Creative cloud plans are so expensive for me. I don't want to pay each month for all applications of Cloud creative. I want to pay once to use forever. Is there an