How to make a value decrease of time, at intervals of one second

Hello, I am working with an Agilent N5181A to send a command from my code. I've set up the frequency, and now I want to be able to change the value of the amplitude. Right now I have a constant set to-30 and I want to replace it so that it passes from-30 to-80-10 intervals every second.

For example:

-30

-40

-50

etc.

so that in the end, I reached-80, I have attached a screenshot to understand, thank you.

The frequency setting, it's what you pass to the value of frequency control. How often you update the voltage depends on the waiting period. You said you wanted 1 second intervals. That's why I used 1000 msec in the example. Of course you should not put all the code in the loop. Just as the tension and everything what you need (i.e. a measure).

The stop is a control. If you do not know how to create a control on the front panel, you might want to go back and very basic LabVIEW tutorials and review them.

The timeout value is what you want. You said that you wanted to have the values decrease--30 to 80. If this is what you want, use a value of-80 in the control. If you want to stop at-90, enter.

Tags: NI Products

Similar Questions

  • How to make the value - EV to the Red of an element

    Hi all

    I am using oracle 10 g Forms.

    I'm doing the value of the Red element when it has EV value.

    I tried like this

    IF: XXTLSPOPROCBLK. BUDGET_SAVING < 0 then
    SET_ITEM_PROPERTY ('BUDGET_SAVING', 'r255g0b0', foreground_color);
    end if;
    in him when validate the point.

    But the problem is that it makes the value to red in the element.

    Thanks and greetings
    Srikkanth.M

    Srikkanth.M wrote:
    Hi all

    I am using oracle 10 g Forms.

    I'm doing the value of the Red element when it has EV value.

    I tried like this

    IF: XXTLSPOPROCBLK. BUDGET_SAVING< 0="">
    SET_ITEM_PROPERTY ('BUDGET_SAVING', 'r255g0b0', foreground_color);
    end if;
    in him when validate the point.

    But the problem is that it makes the value to red in the element.

    Hi, Srikkanth.M

    Sorry, I won't go through all of your needs.

    You must use the built-in function: DISPLAY_ITEM

    Follow the steps...
    1. create a visual attribute named NEG_RED with your color.

    write the following code in the TRIGGER of the post REQUEST

    /* sample POST-QUERY trigger */
    
    IF:XXTLSPOPROCBLK.BUDGET_SAVING < 0 then
     Display_Item( 'BUDGET_SAVING', 'NEG_RED');
    end if; 
    

    I hope this works...

    Hamid

  • How to make flag appear after some time signal of Boolean

    Hello and good day to all...

    I'm doing a change in case of false to true after having received the signal of 3 or more than a Boolean.

    example of situation, the signal is sent, but the case will change true after three times of the signal is received then the turn of the real deal. If only twice a

    signal is received, the case will not change...

    Does anyone have suggestions or ideas how to create? Or have another way to solve?

    Best regards

    Leman lennon

    You must use a shift register to track how many times the Boolean value is true.  If true, then incremented.  If set to false, then don't.  If the value in the registry change = 3, the value is true, then run your business structure.

  • Re: How to make the values in the table as required

    Hi all

    I use JDev11.1.2.3.0

    I have 5 TariffRate (LOV), quantity fields (text input), BillQuantity (text input), amount(input text), calculated quantity (text input). These fields are in the format.not table in the form.here, that the logic is

    BillQuantity = quantity * calculated the amount

    amount = quantity * calculated the quantity * TariffRate

    Here rate rate, calculated quantity, quantity which is mandatory.but I am not able to set the amount and the amount calculated as mandatory.if I select tariffrate in LOV immediately asking amount and quantiy calculated when the property set to true, or quantity.hints.mandatory the problem is that I'm not able to select the value of tariff rate for the second time , now I need to select the quantity and the quantity calculated values first without selecting the rate rate.so how I can configure mandatory for quantity and calculated quantity.can someone help me please.

    I guess you are hit by "required field" error because you refresh the dependent fields (for example, the amount and the calculated quantity) by PPR declarative (for example "partialTriggers" attributes of these fields in the tariff rates field reference). In this way, when you choose a new tariff, ADF Faces includes the fields of PPR - ed in the life cycle, they are validated and they result in errors of "required field".

    You can work around this behavior in the following way:

    • Remove attributes of mandatory fields that depend on the rate of "partialTriggers" (i.e. loose quantity and the quantity calculated rate by removing the attributes 'partialTriggers' of the Quatity field and calculated quantity);
    • Add a ValueChangeListener for the rate field. In the ValueChangeListener add commands for programming up to date dependent fields, for example:

    {} public void tariffRateValueChanged (ValueChangeEvent valueChangeEvent)

    AdfFacesContext.getCurrentInstance () .addPartialTarget (quantityField);

    AdfFacesContext.getCurrentInstance () .addPartialTarget (calculatedQuantityField);

    }

    This way ADF Faces will not include the quantity field and the quantity calculated in the life cycle JSF (and they will not be verified for non-empty values). I use this trick for a long time and it really works.

    Dimitar

  • How to make the sum of the time through SQL?

    Dear friends

    I have a sh_detail table and there are three fields hours1, hours2 hours3. all fields are of type varchar2.

    data are like

    hours1 hours2 total hours3

    02:45 00:18 01:25

    00:38 01:45 00:00

    02:15 02:00 00:15

    1. I want to add on three fields in the total column

    2 and want to make the sum of all areas as select sum (hours1) of sh_detail.

    Please help I will be grateful.

    Kind regards.

    As others have said, use the NUMBER to store times, or the type of data correct INTERVAL, even if the latter cannot be aggregated (using the SUM).

    In the meantime, this will give you the output desired in a few minutes (it is trivial to convert it back in format hh: mm if you wish):

    SQL> with sample_data (id, hours1, hours2, hours3) as (
      2    select 1, '02:45', '00:18', '01:25' from dual union all
      3    select 2, '00:38', '01:45', '00:00' from dual union all
      4    select 3, '02:15', '02:00', '00:15' from dual
      5  )
      6  select id
      7       , sum(h1) h1
      8       , sum(h2) h2
      9       , sum(h3) h3
     10       , sum(h1+h2+h3) as total
     11  from (
     12  select id
     13       , to_number(substr(hours1, 1, 2))*60 + to_number(substr(hours1, 4, 2)) as h1
     14       , to_number(substr(hours2, 1, 2))*60 + to_number(substr(hours2, 4, 2)) as h2
     15       , to_number(substr(hours3, 1, 2))*60 + to_number(substr(hours3, 4, 2)) as h3
     16  from sample_data
     17  )
     18  group by rollup(id) ;
    
            ID         H1         H2         H3      TOTAL
    ---------- ---------- ---------- ---------- ----------
             1        165         18         85        268
             2         38        105          0        143
             3        135        120         15        270
                      338        243        100        681
    
  • How to make a value in a temporary table, the match against another table...

    Hi all.

    Please is - can someone provide some guidance on how to...

    1. take a value from a temporary table, the match against another table that contains the first values 'equivalent' value.
    2. take this exchange value, call something (using the slider or the variable?) so I can add to my API to load it into ORACLE...

    Apology of this sounds confusing, I hope you know everything what I want to do...

    Manythanks...

    Steven

    and call the API

    declare
       v number;
    begin
       SELECT oracle_loc_code
          into v
       FROM SU_IEXP_LOCATIONS
          , SU_TEMPLOYEE_DETAILS
       WHERE chris_loc_code =location_id
       ;
       Hr_Assignment_Api.update_emp_asg_criteria (v);
    end;
    
  • How to make Firefox warn me every time other software tries to install the plug-in for ff?

    If I'm confusing things noy, there was a device that a user informed of the new plug-ins insltalled by other programs.
    For example, I install VLC media player. FF plugin VLC is also installed. What I want is: next time I run firefox, a message appears asking you whether or not I want to use the new plug-in (plugin VLC).
    Sorry for my English, I thank you.

    When we announce modules, extensions, themes and plugins, we hear, it's all types of modules (if I understand what you are asking), see: disable or remove modules.

    But if you install a program outside of firefox you can not take any notice of firefox, it is not possible, as download new version of Flash player, and then install the version with firefox closed, you can not take any notice, but when you open firefox, you can see that Flash player is updated.

    Thank you

  • How to make an animation of fluid ink, like television CCTV one?

    I like the fluid animation ink of CCTV and want to create one, anyone have any idea what they were used to create it and how it was done?

    You have 3 options.

    1. buy some stock footage

    2 buy and aquarium, fill it with water, ink in water and the film drag dispersion

    3 invest in a complete system of fluid simulation (a lot of $$$) and simulate the flow of ink

    The first option is by far the easiest, the second requires some knowledge of lighting, a decent camera, some experiments and is a lot of fun, the third is too expensive and slow to render.

    Once you have your habits to use procedural mattes or effects of color and layers to create different colors. It is that easy. You can not make animations realistic fluid ink inside which resemble. You may be able to approach with special, but it's your only option inside AE.

    Directly from Vimeo for video CCTV page you can see that the ink was filmed for their project:

    Ink & Footage: Thore Bornemann, Felix Martens

  • How to make several records to reappear after I did accidentally one "delete" in my list of folder on an external drive?

    Help please!

    I accidentally did a right click to remove my files on an external drive. The external hard drive is in my list of files, but none of the folders that are still on it.

    The pictures are always in the folders on the drive and in their records.  I tried an import files for to displays, and LR sees all of them as existing in the catalog, so he knows about the photos.  And LR is the re not important.

    I just want the folders appear again in my list of folders on the left.

    Someone knows how to fix this error, I did? Thank you.

    For anyone interested, I had to add a folder to my external hard drive, then right-click and select VIEW the PARENT FOLDER.  ADOBE's SUPPORT thank you, I'm so relieved, feel stupid, but relieved.

  • How to make "Open link in a new tab" back to the second line after "open"?

    I've recently upgraded to FF4.0, but I'm so used to opening new tabs by right-clicking on a link and selecting "Open link in a new tab" instinctively moving a notch and clicking on it in the second selection. New FF4.0 there for the first option. Is there anyway to reposition?

    You can reposition it using the editor from Menu Add-on - https://addons.mozilla.org/firefox/addon/menu-editor/

  • How to pass a value of text to another page?

    If you have a text input and a button to the page 1 how to make that value available on page 2 after clicking on the button. I created a flow of the page by clicking on the button brings me to page 2 but not sure where you get the value of input text that was on page 1.

    Thank you.

    As you can see in the code I added an inputText and a CommandButton on page1.
    I use setActionListener to pass the value of page1 page2 declaratively.
    In faces config, I created a stream of page 1 to page 2. The value 'of result' as the action attribute of the commandButton control.
    I created with an outputText page2.
    Everything you enter in page1 should appear in page 2 when you click on the CommandButton.
    Yet, you can't make it out, let me know your email id, I will send you the sample application.

  • make a graph in real time of 1 DBL value at a time, using a loop for

    I have a somewhat interesting programming task where I have the following situation: (I have attached a mac version of vi Labview 2013)

    -Using a patented (pre-made and uneditable) sub - vi, who receives a value of 0 or 1 as input and reads off a single measure, whenever he receives 1 while a value of 0 is necessary to 'reset' of the vi to rehearse a new measure.

    -I would like to run this sub - vi repeatedly in a loop For each value of "measure" are sent to a curve of waveform to give a direct value (real time) for the graphic to display.

    -As it is, I have a vi file that simulates action in a loop but built in a 1 d array to get exuent values sent a waveform curve.

    -I don't know how to make a real-time graph which receives 1 value double both.

    -In addition, I want only every 2nd value sent to the loop for, but I already have several ideas on how to do it.  First of all, I am concerned about the target in real time.

    Kyle Shiel

    A graphic, not a graphic, allows you to update a point at a time. It would be inside the loop for. update the chart or not, you can use a select statement or the structure of the case.

    These are pretty basic functions in LabVIEW. Please see the free tutorials.

  • How to make an update of location to a group of photos at the same time?

    How to make an update of location to a group of photos at the same time?  This used to be a feature in iPhoto.

    I use El Capitan 10.11.6 and Photos 1.5

    If yu have OS X 10.5.1 s you say that you can not - with OS X 10.11.6 Photos 1.5 (a free update in the app store) you select them and info - enter the location and it will apply to all photos

    LN

  • How to measure and mark the value of real-time data?

    Hello

    I need to measure and trace in time real RMS value of EMG power. I did a VI. But I don't know why it didn't work. Can someone help me please? My VI is set in 2013 and 2011 both version. An example of data is also attached. Thanks in advance.

    Taslim. Reza says:

    I tried RMS PtByPt VI. But it has not been wired because the source was table 1 d of double and double sink.

    Well, ptbypt tools affect only one value at a time, so you must place them in a loop FOR. Here's how.

  • How to make a button than increse value

    HY guys, I want to make two buttons which when they press increse or decrese value that one Eurorest between them. The value I guess must be in a list. But I have no idea how to make a list of numbers and, more important still, how to add the feature to increase value to the buttons. I use Blackberry 5.0

    I know as tot creata a button for this:

    ButtonField increase is new ButtonField ('increase', ButtonField.CONSUME_CLICK);.
    Add (increase);

    Can someone help me? If you can give me an example of code, I'd really apreciate.

    If your list is to be static, you can set up a table, for example with an int]

    If you want the list to be dynamic (in size), you can use a vector. It is only necessary to objects, you should encapsulate your numbers in a class. For int which is whole.

    In your form (or), you can store the index of the currently selected number. When you click the button, you increase the index with + or - and load the new value of the vector/matrix.

Maybe you are looking for

  • connect iPad wifi stalls

    I am able to connect to the wifi, but then the connection stalls. It happens on 2 ipads, 1 mini ipad, iphone 6 and iphone 6 +. Laptop PC, Surface and imac connect ok. Does anyone have insight into this?

  • Printer Exchange cartridges

    Can someone give me the necessary information to swap old color printers cartridges, not used for new ones for my new color printers.  Thank you.

  • Satellite A60: Squeaky HDD

    Hi people. I have a laptop A60 series (cel 2.8, 512 MB combo) with disc hard 30gig. It is around the age of 10 months and I hear crackling noise from the hard drive, whenever I need a large or startup file.isn't this unusual? I mean it leads to a sor

  • HP 2113w: Hard disk error code hp 2113w 3f1

    Drive hard 3f1 failure, what do I do

  • Sur-texte/insert in motion on a Boolean control

    Does anyone know how to move the text we or the text "off the coast of the State" value Boolean control to the lower-left corner of the control?  For example - if you resize the control on the Panel before you say 204 X 204 pixels and then try to mov