Return figures

How to reverse the number using labview with given the number and the number of digits? Want to just digital operation only.  For example, 56789 will become 98765. TQ.

Hi Ambrose

The simplest method is to follow as suggested by Gerd

If you don't want that in digital operation you can then follow the attached extract

Tags: NI Software

Similar Questions

  • Calculations to return different results depending on the responsibility

    Hello

    We have a report that uses a PL/SQL function in a calculation.

    When a single responsibility runs the report, the calculation returns figures empty or incorrect.

    When another executes it, it works fine.

    When the function is created, are there grants that must be given to ensure that all responsibilities can use this?

    All the responsibilities have access to the data in the application.

    The service is owned by APPS and it was registered in the EUL.

    Also, there seems to be a difference in if this is executed from SSO launch Viewer or office.

    Kind regards

    Rachael

    Hello

    Your basic problem is that you have

    EXCEPTION
    while others then
    return sqlcode;

    at the end of your code. This means that if an error occurs when you run the function it will be completed successfully, but with some bad days.

    With this exception handling it is difficult to know what you encounter the error, but it could be a problem of access to the tables or type conversion problem.

    Rod West

  • Hello, I accidentally opened an old file Ircat... and now can't figure out how to return to my only current.  With the help of Mac Yosemite, Lightroom CC

    Hello, I accidentally opened an old file Ircat... and now can't figure out how to return to my only current.  With the help of Mac Yosemite, Lightroom CC

    Thank you!

    File-> open recent. Lists the catalogs you have opened and will allow you to choose one of the previous catalogues.

  • is it possible to return a figure to the database from a web service

    I have a REST web services configuration that has 4 values

    Is it possible to use a db call to enter these 4 values that can be used in an insert in the database?

    Thank you

    Yes it is available: [url http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/t_dburi.htm#i1007928] 10.2 documentation packages and Types.

    You must copy my blog instead: my answer was typo with a T too much ;-)

    Edit: Fixed the URL

    Published by: Kim Berg Hansen on October 19, 2012 10:00

  • Return a cell offset from the last value that is true

    I'm working on a document where I keep track of the amount of times my pieces band a certain song (this part, I figured out), but I also want to show what we played for the last time, we play a lot of songs the performance greater than 1. I have now a formula as shown below (sheet 1), but this does not automatically refresh when I insert a new playlist (on sheet 2), which is what I want. So, basically, I want to return the date that corresponds to the last time that a certain song is played, will be updated automatically during the extension of the list (on the sheet 2).

    I tried a lot of things, but I can't find a way to achieve this.

    Some relevant translations:

    -Sheet 1: 'Reply music' = last played

    -Sheet 2: "Optredens (bezetting)' = (irrelevant) performance--> all in one table, with cells unformatted (all white, without borders, sheet 2) to divide the performance and make it visually more attractive.

    I hope that someone of you can help me!

    Thanks in advance

    It looks like all your playlists are in a table in sheet 2. Ok.  It also seems that they are in ascending date order. It's also good.

    A way to do it is with the LOOKUP function. Search for the title of the song and have it return the corresponding date of the C column. Search the LOOKUP function in a column from the bottom to the top he will return to the most recent date, the lowest one in the table.  The direction she is looking doesn't seem to be documented officially, but I must have read somewhere, maybe in Excel.

    A simple formula looks a little like this (but with your name in the table 'table' No 2):

    = LOOKUP (C2, Table 2::B, Table 2::C)

    Note that the SEARCH will return a 'tight match' if the title of the song is not found in your playlist on any date. It can return a date to a different song. If you think that this can happen, wrap it in an if STATEMENT to check when the game in the D column number is 0.

    = IF (D2 = 0, ' ", list of CHOICES (C2, Table 2::B, table 2::C))))

    Note: Unlike the RESEARCH, VLOOKUP and MATCH of research from top to bottom.

  • Enqueue cluster for Labview Teststand, return a cluster by notification

    Hi all

    I get very very frustrated that I can't find a way to spend

    an asynchronous VI with a cluster of Teststand reflecting a LV

    cluster using a queue.

    This works if wire you the cluster Teststand for the VI is there

    an order appropriate to link to. Yet, the VI has no

    Connector, he expects that a cluster in queue, read of the

    PropertyObject by 'GetValVariant', do some magic

    and is supposed to return another cluster using Teststand

    a notification

    I can read singular elements of the cluster in queue, but cannot

    Run in a cluster of LV with, say, the good old 'VariantToData '.

    which indeed works great inside LV

    Same thing happens when I try to regain a Teststand cluster

    using 'SetValVariant' even if both the Teststand cluster

    and the cluster of LabView are the same format and structure.

    The 'Wait' Teststand notifier action is linked to the right cluster

    property, but Labview fails at the "SetValVariant", because not of

    the right type, even if I have sunk the variant data.

    I wonder if I do wrong or Teststand and Labview

    are simply not designed to work together seamlessly.

    Here's the example I'm putting in place, but the reading of the

    cluster fails, while the alternative 'False' works (123.00)

    Defining the notifier cluster fails too, but its definition the

    elements indivualy also fails because Labview is

    What are 'Compliance' and 'Comments' in

    the 'True' alternative, although I tried all

    hierarchy tree.

    You might have figured out, but I really really need to

    get this working, and I can't understand where the

    default is (next between the Chair and the keyboard) because

    the principle works in LabView.

    David Koch

    Okay guys, I give up all hope, that I had to do this work.

    This is a WIP Teststand container/Labview cluster motor relay.

    TestStand 2013-> TCS_main_2.0.4.seq (run TCS_teststand_2.0.0.vi)
    LabVIEW 2013-> TCS_teststand_2.0.0.vi (run TCS_instruments_2.0.0.vi)
    LabVIEW 2013-> TCS_instruments_2.0.0.vi (interface instruments)

    The main idea was to catch Teststand queued of containers,
    convert a Variant, to analyze their structure and
    to match with their counterpart of cluster of Labview.

    The engine is initialized to 'learn' the Labview
    data structures, storing the data type and the names of the clusters
    different elements, as well as the cluster hierarchy.

    A format of target data type and an associated action are also
    stored for each identified cluster/container.

    Then the engine is waiting for incoming Teststand queue
    containers, convert them to a Variant, to analyze their
    structure and * TRY * to match with the stored
    having been analyzed Labview homologous groups.

    This is what I call the "footprints".

    The three main problems were... are:

    1 - different naming convention (TCS_string_teststand_name_convert_2.0.0.vi)

    2 - format of different data type (TCS_variant_tree_convert_2.0.0.vi)
    3 - different (TCS_propertyobject_tree_parse_2.0.0.vi) data structure

    I think I was very close to resolving these issues, but I'm
    short on time. As an entrepreneur, I've spent
    more than a month of work on this value. Who is
    too many given my dead line.

    I'm quite sad to be leaving this unfinished, he would have
    was great to get the motor relay pole upward and
    running, having just to place a container Teststand
    to get something done automatically at the other end
    and just wait for a notification sent for analysis.

    What's left to do is the following, as an exercise
    left for the reader:

    To "explode" the data structure to correspond to of Teststand "
    still more verbose simpler data format

    This means for example that a Labview wave have to
    be transformed into a cluster of 3 datas. You can read the
    suite of document, but it is not very clear on how
    The LabVIEW data type formats are converted to their
    corresponding Teststand counterpart:

    http://zone.NI.com/reference/en-XX/help/370052N-01/tsref/infotopics/labview_data_types/

    Beware, this involves a lot of trial and error, as
    creating a large Labview cluster with all data
    type of support, import it in Teststand and create
    a custom, data type and then compare each converted

    a data type.

    B point A would improve the adequacy between Teststand
    containers and clusters of Labview.

    With a longer data structure mirrored, it will indeed
    help 'TCS_fingerprint_search_2.0.0.vi' to compare
    the structure of the Teststand container with the correspondent
    LabVIEW cluster structure, the elements names
    Always different Convention.

    Conversion of data format C - needs to be done, place holders
    are ready to be filled.

    There are still a lot of work to do in 'TCS_variant_tree_convert_2.0.0.vi '.

    Remember that the type of data "FileGlobals.tcscluster".
    mirrors (wise Teststand) the 'TCS_instruments_2.0.0.ctl '.
    type definition.

    This means that a string has not transformed a waveform.
    Data format should be very close to each other. That's why
    There is no need to focus too much on these "exotic" data
    format conversions.

    Thanks again to all the people who have invested some time
    in trying to help me solve this issue.

    Thanks to nathand for its cluster monitor not recursive.

    David Koch

  • 9401 returns less samples clock then edges.

    I use 2 NI - 9401 s in a cDAQ-9172. One is configured for the input samples, ongoing, falling on board. The other is exit and keep samples, rising of regeneration. My clock is Counter0 producing 1024 cycles and redeclenchables. My goal is to send data to the ESA on the rising clock edge and read the results on the fall. Everything seems to work (no errors) but when I loop writing and reads the entry 1023 samples will give the first reading and 1025 on the second and so on. If I have my number of wire sampled per channel of my meter in my number of samples per channel I timeout. Since I read a sample by front down shouldn't figures, to be the same? I'm trying to reduce my clock speed and change the number of samples and the results are the same. Why am I missing a sample?

    Thanks in advance!

    I can't say for sure what is happening without seeing your code, but I have some ideas.

    I guess you start both entry and exit before generating your first impulse counter.  If you do not explicitly from DI and prior to your sample clock, you can lose samples.  This probably isn't the case because you get more samples to return later.

    I guess that when you read 1023 and 1025 samples so that the first sample of the 1025 should be the last in the first set and that taken as a whole of 2048 all the points are correct.

    If the last statement is true, then what you see is a consequence of the use of continuous tasks.  Your input data not rinse to the host on the number of 1024 samples you would like.  You will get it eventually, but not until enough additional data was generated.

    What are the causes your task to counter to retrigger?  How many times do you get?  Do you know how many times it's going to happen?  It would be better to create tasks for 1024 finite samples, they explicitly commit and start again immediately after the judgment.  This will erase your data at the level of the sample of 1024 guide but will take more time to rearm (this is why the frequency of your trigger is important).

    The other alternative is to divide your data afterwards, maybe a retrigger cycle behind.

  • A return on investment in an array of reading?

    I have existing directories of TIFF with whom I need to only target not follow.  Attached, is an example of the beginning of a VI to read images in a table so that I can deal with them.

    To generate a rectangle for "IMAQ Extract" I need to slide a return on investment in the first picture in the table, so I have a starting point.  BUT I do not see how to then get the parameters of return on investment.  I watched the "Pattern Matching Example.vi" in the 2010\examples\Vision\...... \Labview subdirectory and I think I can sort of see how they make the return on investment with a SINGLE image, but I can't understand how to do the same with the table.

    What I'm missing here?  I figure that a return on investment should depend on the frame size-only and have no reference to array index, but I see nothing in the node of the array property.

    Thanks for any help!

    You must get the reference to the array element and then cast to the specific reference type.  Then, you will be able to read the property KING which will be common to all elements in the array.

    Of course, you must have a return on investment before that the property returns anything.

  • How can I change it time the screen returns to the newspaper in the obligation, when idle.

    If I do not use the system for more than a few minutes he returned to the login screen that requires typing the pasword

    throughout the day, how to change this time-out to lengthenit feature.

    Thanks O T

    Hello

    Open windows control panel, personalization open, click on the link on the bottom right and in the next window, screen saver set time "Wait" to a more acceptable figure and if you would rather not to Log-on after this period of time, Remove the tick box "in»the logon screen curriculum vitae  Click on apply, then Ok to save these changes.

    Kind regards

    DP - K

  • AlbumArt returns when changed to a few songs

    first of all, there is a small problem so don't feel bad if you can't help

    and no this isn't art 1 album is displayed for all the songs.

    I worked around it by making a new file for each song. -_-

    Anyway the problem is that with some songs does not attempt to change the album art.

    I followed the instructions provided by the support section.

    But when I choose art, croop and click on save upper-left, rather than return to change the information of the music jumps to the music player section and the art is not applied.

    hoping that there is an explanation or solution

    and thank you for your time.

    Nevermind, I figured it.

    I was cropping to big.

    Thx for the help anyway

  • Windows 7 is extremely slow to return to the screen saver mode.

    I installed upgrading Windows 7 on my computer and everything is fine.  However, when the system is idle and past in mode screensaver (with or without a password), the return of the screen saver mode are extremely slow (just a white screen).  It is sometimes quick, sometimes it comes back in 3-4 minutes, but most of the time it takes a long time.

    The system is a low end, but more than enough to manage w7.  It consist of:
    Pentium dual core (2140)
    2 gig memory
    NVIDIA 7300GT 256M

    I tried to delete the zone alarm security suite, does not solve the problem
    thought it was the HP 2610 print software, removed and still happens.
    update the bios (MSI p4m900)

    can someone figure this.  Is there something that prevents him to return to the desktop.

    Note that, I try to reboot from the blank screen by pressing the windows, right arrow, return.  But I think also, it does not address key strokes.

    THX

    I found a way to fix it! I did this:

    1. Press win + r and run msconfig. Go to tools and brand to troubleshoot the computer, and then click Start.

    2. then go to system and security and press electricityballance (not sure of the name in English because I have a Norwegian version..).

    3. restart your computer.

    4. my screen saver was not afterwards, but I gave it to display photos and now it works perfectly!

    When I checked the general tab afterwards, it did not have the checkbox to use the... start (a last..) one has been verified and the second has a blue full mark.

  • Key figure of convenience

    Hello

    I was trying to figure out which character has the left/right button. I would need to intercept in an application like this:

    public boolean keyChar(char key, int status, int time){
        boolean retval = false;
            switch (key)
            {
    
                case Characters.<<<< SideKeyCharacter?? >>>>:
                //Action
                retval = true;
                break;
            }
        return retval;
    }
    

    Is it possible to do?  Characters such as A and b... of work.

    Keypad.KEY_CONVENIENCE_1

    Keypad.KEY_CONVENIENCE_2

    Available in 4.2.0.

  • How to read file returned by the file picker

    I'm going to obviously stupid here, but for the life of me I can't figure out how read in a text file returned by the file picker.  I am currently getting the good full path of the file in the file picker but where do I go from here?  BlackBerry.IO.file does not seem to exist in Blackberry 10 and I'm confused as to how I would use the HTML5 File API from only a file returned by the file picker path.

    Can someone please spit out a quick and dirty example showing me the rudiments of reading in the data file from a path returned by the file picker, please?

    Thank you very much

    DM

    Don't know if you have the path to the file, and then you left there. One thing to note. The file MUST be inside you bar (sandbox) OR you need to add the <> ermit > access_sharedermit >
    and then he can live the file in the shared folder on the device.

    Here is a code that you can use to read a file. I poached it our docs found here:https://developer.blackberry.com/html5/apis/blackberry.io.html

    
    
  • Query that returns number 1 - Add additional columns based on percentages

    I have a query that returns a large number.  The return value will always be a single field (a column, a line, a single value).

    I need to have also three other columns in the return of this request: one that returns a number that is 50% of the original number, one that returns a number that is 75% of the original number, and one that is double the original number.  How is that possible?  If anyone can point me to examples, it would be a great help.  I got the results mixed by searching, so I'm not sure good practices.

    Thank you for the input in advance.

    Hello

    Whenever you have a question, please post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the accurate results you want from this data, so that people who want to help you can recreate the problem and test their ideas.

    Explain, using specific examples, how you get these results from these data.

    If you show what you want to do using commonly available tables, like those of the scott schema, then you don't need to display the sample data; just results and explanations.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

    I'm not sure that understand the question.

    If x is a number, then

    .50 * x is 50% of this number,

    .75 * x is 75% of that number, and

    2 * x is to double this figure.

    You can get them all in the same query, if you want to.  For example:

    SELECT ename

    sal

    .50 * sal AS p_50

    .75 * sal AS p_75

    2 * sal AS dbl

    FROM scott.emp;

    Output:

    ENAME SAL P_50 P_75 DBL

    ---------- ---------- ---------- ---------- ----------

    SMITH, 800, 400, 600, 1600

    1600 800 1200 3200 ALLEN

    1250 625 WARD 937,5 2500

    JONES 2975 1487.5 2231,25 5950

    1250 625 MARTIN 937,5 2500

    2850 1425 BLAKE 2137,5 5700

    2450 1225 CLARK 1837,5 4900

    3000 1500 2250 6000 SCOTT

    KING 5000 2500 3750 10000

    1500 750 1125 3000 TURNER

    1100 550 825 2200 ADAMS

    JAMES 950 475 712,5 1900

    FORD 3000 1500 2250 6000

    1300 650 975 2600 MILLER

    Is that what you ask?

  • I can't return my scrolling effects!

    I'm so frustrated right now, I can't figure out how to get my scroll effects works again!

    I know sensitive layout does not work with the effects of scroll, no problem, I was going to just to create replacement provisions. I went to the page master and played a bit with the width of the page so I would like to know where the page begins to break and what changes to do in what concerns other layouts. To do this, I temporarily changed the master page to fluid width, but changed then back to width fixed when I was through. However, whenever I try to preview my page in the browser, it says scrolling effects not be exported! I don't understand what happened, or how to get it back as it was! The captain and web pages are updated and fixed width. What is the problem with my scrolling effects? I have spent so many hours on it, I just want to cry.

    Very well. I finally solved my problem. I have created a new master page and configure it as I have the original, and then applied to the web page master page. The default setting for the master page is fluid width, and I think it should be set to the fluid width for the scrolling of the effects on my web page to work?

    I have no idea how or why it worked, but when I changed the original master in fluid width, all my scrolling effects returned correctly again.

Maybe you are looking for