How to check number of elements available in RT FIFO?

Hi,
    Without using READ FIFO function is there a way to check the number of elements in RT FIFO? I am looking a function like the get queue status function VI.
    Thanks a lot!
    Regards,
    Tom
Solved!
Go to Solution.

RT FIFO Read and Write functions have had a "# elements" output since LabVIEW 8.2.  You should be able to utilize that output to determine how many elements are left in the FIFO.  If you have a version of LabVIEW previous to LabVIEW 8.2, you can utilize the attached VI to determine how many elements are left.
Regards,
Keith M.
Applications Engineer
Attachments:
fifo.vi ‏65 KB

Similar Messages

  • SAP Script - How to check a text element is empty in Script.

    Hello Friends,
                  I like to display a text element when it is not empty, otherwise I like to display some other text.
    I know how to read text element in Script, but 
    How to check a text element is empty in Script
    Thank you for your time.
    Senthil

    Hi Senthil,
    Inside text element, we print the variables.
    Variables actually gets printed in the form.
    if the variable contains value the variable gets printed on script. if not, then variable not gets printed.
    hope this helps.

  • How to check number of rows processed in a package

    i have a pakage wid at least 11 procedures which runs on running a report now user run the report and he told me that records are not fully processed records are less so how to check how many records are processed so i can conform the data
    its urgent plzz any suggestion
    thanks a lot

    And here's some hints for you posting on the forum...
    a) do not post in UPPER CASE unless you are highlighting a word or two. Typing everything in UPPER CASE, is considered shouting and is not polite.
    b) do not say that your requirement is "urgent". Everyone here is a volunteer with their own jobs to do and your requirement is not "urgent" to them. Suggesting they drop everything to help you is poor netiquete and, again, quite rude. It also presumes that your issue is somehow more important than other people who have posted asking for assistance. Sure, everyone else would like their question answering as soon as possible, but they aren't so rude as to demand urgent attention, so neither should you.
    c) Always tell us your database version. The answers you are given may vary depending on the capabilities of the database version you are using and if you don't specify a version, people will have to assume you are using the latest supported versions and the answers may not work for you if you have a less capable version, even if those answers are technically correct.
    d) Always try and give an example of what you mean. Provide sample tables (create table statements) and sample data (insert statements), with example code or queries that you've tried (where relevant), showing what you expect to get as output and explaining any logic that is to get from the source to the output.
    e) Post any code or data inside {noformat}{noformat} tags so that it retains formatting on the forum.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to check whether two elements are available in an array?

    For example,
    String str1="2"
    String str2="3"
    String [] str3={"2","4","8","9","3"};
    Is there any feature available by default to check whether both str1 and str2 are contained in str3?
    Or we can only compare by doing equals() and a loop?

    cross posted in the java-forums.
    Please do not cross-post questions in multiple forums. This will frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. For this reason, many volunteers here and at the other sites refuse to help repeat offenders.

  • How to check the qty is available when doing stock transfer.

    I need to remain the confrimed qty while doing stock transfer.
    for example:
    Unrestricted use : 20
    Sales Order       :  10
    Max qty for stock transfer = 20 - 10 = 10 but not 20.
    How to do customizating?

    Dear Amruta
    Thank you very much for your help.
    I use Checking Group '02' and can you tell me which checking roll is suitable for checking the qty while doing stock transfer.
    eg: the atp is 10 pic and stock transfer is allowed in 10 pic. it will message me if the transfer qty is more than 10 pic.
    Many thanks,
    Slam

  • How to check string array elements with a string with in one forEach tag ?

    Hi All,
    I am new to JSTL and EL. I need to change the following Java code into JSTL and EL.. I struggled to change this code into JSTL.
    How can i change the if loop which tests the string array element with one bean property ?
    -------------------------------------------------------------------------------------------------------------for(int j=0 ; j < iSelectedCount; j++)
    if(strSelectedRoleId[j].equals(lineRole.getRoleID()))
    isAvailable = true;
    Please help me on this.
    It is very urgent......
    Thank you for ur help,
    Natraj

    import java.util.Calendar;
    Calendar rightNow = Calendar.getInstance();  // gets the current date and time to millisec
    Calendar earlyTime = Calendar.getInstance().set(Calendar.HOUR_OF_DAY, 6).set(Calendar.MINUTE, 30);
    Calendar lateTime = Calendar.getInstance().set(Calendar.HOUR_OF_DAY, 8).set(Calendar.MINUTE, 0);
    if (rightNow.compareTo(earlyTime)> 0 && rightNow.compareTo(lateTime) < 0){
    // do something
    }Try this.

  • How to check a query element based on the technical name of a query builde?

    We often see, e.g., 401OQ2EEM5EJH4GQ5N2HFNE7P as a query element of a query builder.  How to know what kind of InfoObj. or R2R link it would be base on the long technical name?  We remember there is a table to look these up, what's the table name and how to look for it's description name?
    Thanks

    hi Ari,
    The table you recommend seems to only work for Report to Report link, but not for query element, is there any other table that we can find which InfoObj. is used for this long technical name in query?
    Thanks and we have given you rewards points.

  • How to check number is infinity or not ?

    hi,
    i have 1 function which can take 2 args as number...it can be anything.
    i have to check if number is infinity return a/0 else retrun a/b.

    >
    answer is by using binary_float / binary_double ?
    using it i will get INF in result ...is it true ?
    >
    About INF
    Regards,
    Christian Balz

  • How to check .me email address availability

    I am thinking of moving my wife and me from our personal Google Apps domain account and want find out the availability of an email address on .me for my wife and me.  I want them to be similar, such as [email protected] or [email protected], but I don't want to setup one first and find out the other is already taken for the same configuration.  E.g., giving me first.last@ and her firstlast@.  Is there any way to check compatibility before setting up the actual .me account?  I suspect if I choose a name and iCloud accepts it, then she chooses the same format and it doesn't accept it, the process can't be undone.  We have a very unique last name so I'm hoping it won't be a problem, but wanted to ask anyway.

    In Mail go to the Mail Preferences and then Accounts
    and create a new gmail account. When you are ready,
    you can delete the Comcast account.
    Thanks for the reply. However, when I go to mail>Pref>Acc, I only have a .mail account listed. Nonetheless, I on occasion have things addressed to me on this computer at comcast. I figure I must have listed it in the process of registering my product, or something like that. I tried to go to Apple.com to review my registration page, but I couldn't manage that. Do you have any other suggestions? Thanks again for your input.

  • SQL to check number of extents avail for a segment in a tbs

    Does anyone have SQL to compare a segment's next_extent to the size and number of free chunks in dba_free_space? Currently I am taking the next_extent * some factor (e.g. 4) and comparing it the SUM of space in dba_free_space. However, the problem with this is it does not account for the size of the free chunks.
    Thanks.

    I have some good sql for managing this stuff. I'll email it to you tomorrow.

  • Number of elements at logical level / odbc driver

    Hi everyone,
    I'm new in BI area and I cannot understand one basic thing.
    I study documentation about BI server, exactly chapter about "creating dimensions" and I'm confused about setting "number of elements at logical level"
    It looks for me that "number of elements at logical level" is static.
    What will be when someone update data in the table and number of elements will be different than number of elements in our logical level?
    example:
    current column with distinct values:
    channel_desc:
    direct sales
    tele sales
    catalog
    internet
    partners
    in this case I set number of elements at logical level 5.
    after a while some update data in the table and our column looks (see below)
    column after update with distinct values:
    channel_desc:
    direct sales
    tele sales
    catalog
    internet
    partners
    others (added value)
    Does it mean that I have to change it to current numbers of elements?
    I'm sure that this is misunderstanding in my case, but I don't know where?
    Second problem which I have:
    BI with oracle database is on linux
    client software on windows
    I can import data from database like sybase or flat files to the physical model, I can view data, but when I create whole model (physical, bussines model and mapping, presentation) and I try access data from "Answers" I have this error:
    "Data source name not found and no default driver specified"
    regards
    Bart

    Number of elements is just an indication used by the BI Server (e.g. when generating LOV's in Answers). It won't cause any problems when it doesn't hold the exact number of elements available in the dataset.

  • Check input  values are available in Hex

    how to check input values are available between 0x0000000000000001 to
    0xFFFFFFFFFFFFFFFE
    i am using following code. but error will come
    public boolean hexCheck16(String hex)
    String hex_min = "0x0000000000000001";
    String hex_max = "0xFFFFFFFFFFFFFFFE";
         int min1 = Integer.parseInt(hex_min.substring(2).toString(),16);
         int max2 = Integer.parseInt(hex_max.substring(2).toString(),16);
         int num = Integer.parseInt(hex.toString(), 16);
         if(num >= min1 & num <= max2)
         return true;
         else
         return false;
    Error is : java.lang.NumberFormatException: For input string: "FFFFFFFFFFFFFFFE"
    how to solve?

    Use BigInteger (and lose the "0x").

  • Final number of elements after SDO_AGGR_UNION

    Hi!
    I'm curious about how Oracle define number of elements in sdo object we've got after SDO_AGGR_UNION.
    Each object in ROAD table is of SDO_GTYPE=2002(line segments) and SDO_ELEM_INFO = 1 2 1.
    Say, we want to union all lines in table.
    After
    -- union about 400 rows
    select SDO_AGGR_UNION(MDSYS.SDOAGGRTYPE(t.geoloc, 00000001)) from (select geoloc geoloc
    from road t
    where
    SDO_GEOM.VALIDATE_GEOMETRY(t.geoloc,00000001)='TRUE'
    )t
    we have one aggergated object with SDO_GTYPE=2006(multiline) and !30! elements in SDO_ELEM_INFO, means it's 10 multiline segments now.
    It seems the number of SDO_ELEM_INFO elements depends on the number of rows processed. And it's always about 350-360 points in SDO_ORDINATES for each multyline segment in SDO_ELEM_INFO.
    Is there any way to get the only one multyline?

    Hi maha,
    First of all it depends of your user_sdo_geom_metadata entry. There you have defined a tolerance value. what have you defined there?
    As i can see you have SDO_GEOM.VALIDATE_GEOMETRY(t.geoloc,00000001) defined - so my question: do you mean 1 or 0.00000001? 0.00000001 may be a bit too much!
    /* 1.9.1 SDOAGGRTYPE Object Type - Oracle® Spatial User's Guide and Reference
    The tolerance value in the SDOAGGRTYPE definition should be the same as the SDO_TOLERANCE value specified in the DIMINFO in the xxx_SDO_GEOM_METADATA views for the geometries, unless you have a specific reason for wanting a different value. For more information about tolerance, see Section 1.5.5; for information about the xxx_SDO_GEOM_METADATA views, see Section 2.4.
    The tolerance value in the SDOAGGRTYPE definition can affect the result of a spatial aggregate function. Figure 1-12 shows a spatial aggregate union (SDO_AGGR_UNION) operation of two geometries using two different tolerance values: one smaller and one larger than the distance between the geometries.
    I assume, your tolerance is defined too small for your point distances.
    regards, Andreas

  • Check Number and F110

    Hi,
    While running F110, the check number is not picked up from my check lot I gave in the print variant. (I am giving Payment method, Bank account number, Account number and check lot number, along with all the other selections in the print variant).
    1. Any suggestions why the check number is not picking up?
    2. For my ABAP reports, I need check number Table and field names. What table do I get the check numbers from?
    Thanks in advance for your suggestions!

    Hi Sam,
    Go to TCode FCHI Here you need to provide check no range for a lot no. IF check number range is available then check which lot no is being available. Give that lot number in variant maintained for F110. then try executing it.
    If above does not solved your problem try this also:
    Put a break-point in your print program & go to TCode FCH7 then reprint any available check. This time you will be in Debuggin mode. no check the structure REGUD-CHECT. weather check no is 0 or not?
    If this initial then it means Strucutre is not filled. In this case open another session & go to TCode SE11 & provide table name PAYR. in this table check weather check no is initial or not. If it is initial then there is some some problem in defining Check lot numbers.
    Ashven

  • How canI get my serial number for Elements 11?

    How canI get my serial number for Elements 11?  Does anyone know how to help me.  I did puchase it sometime ago but lost all computer data and had to replace computer.  Hope someone can help.
    Thanks
    Steve

    If you have no record of it at your end, the only place you might find it is at Adobe's end via logging into your Adobe account and seeing if it is listed there.  If you registered the software it should be.
    Beyond that your only hope might be to have Adobe support check your information to see if the software/serial number is available and if it can be given to you.  Try contacting them by chat or telephone.
    Here is a link to a page with options to help make contact:
    http://www.adobe.com/support/download-install/supportinfo/

Maybe you are looking for

  • Generate Valid XML from pl/sql

    Hi, A new-bee here. I want to know how to generate a valid xml document. I have a schema which by the way includes two other schemas. This is the code I am using but I don't know how to make sure that I insert the child nodes in the right sequence. A

  • Ore program makes my Java Program crash, which uses lots of memory (Urgent

    I use a very huge HashMap to calculate something, and the HashMap size may be increased dynamically. And I start the program with -Xms300M -Xmx300M (The OS is Win2000). When I start some programs which may use more memory , My program shows that the

  • REP-1818: Unable to read data in image format.

    I am using Report Builder 9.0.4.1.0 Oracle ORACLE PL/SQL V9.0.1.5.0 - Production Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 Operating system is Linux Redhat I have a run that produces a report from a table with blobs. I get error REP-1

  • Help: Hotmail messages won't delete in Mail

    I've had this super annoying problem since I installed Leopard: whenever I receive a message on my hotmail account, it's impossible to delete, and it will keep showing up as unread everytime I throw it in the trash, until I finally delete it in my ho

  • Datapump network import from 10g to 11g database is not progressing

    We have an 11.2.0.3 shell database in RedHat Linux 5 64-bit platform, and we are pulling data from its 10g database (10.2.0.4) HP-UX platform using datapump via NETWORK_LINK. However, the import seems to be not progressing and completing. We have lef