Collective PR indicators

Dear All,
We created few Collective PR Indicators for every Project . When we use them in the Material , to create Collective PR.
the System is throwing the Error for some PR's . The Error Message No is CN 706. Purchase Requistion for Material cannot be generated..
1) The Purchasing data is complete 2) the Material is not marked for deletion  3) The Purchasing view is maintained.
We tried using ME51N , We could create the PR Successfully. Any help would be appreciated
Regards,
Shareeq

Dear All,
We found the Solution. The same Collective PR Indicator can be created in more than one Project But cannot be used in more than one Project.
But the Error Message is misleading .. It should the"  Collective PR Indicator cannot be used in More than one Project "
Thanks Everyone.
Regards,
Shareeq

Similar Messages

  • Web Cockpits & Dashboards

    Hi All,
    Can some one explain me what exactly are Web Cockpits and Dashboards. Are these two same?
    Best Regards,
    Nene.

    Hi,
    You use the BI Administration Cockpit to perform administration tasks in BI more simply and quickly. You can call the BI Administration Cockpit from the BI Administration 1.0 business package in SAP Enterprise Portal. It supports BI administrators in status monitoring and performance optimizing by providing an overview of the objects and processes in BI systems. It provides BI administrators with a central point of access that is focused on critical situations and allows for navigation to more detailed information and error handling and optimization applications
    The motivation behind BI Admin Cockpit is Easy administration for complex Enterprise Data Warehouse. It supports the BI Administrator in various things like status tracking, performance optimization etc. It provides single point of entry with cockpits like Real-time monitors, Runtime Statistics and you can also monitor across the systems. There are drill-down to details to in monitors and even processing options are given. In this way the administration task will become easier and faster. Currently there are 3 main parts in BI Admin Cockpit:
    1) Data load Satus
    2) Data load Statistics
    3) Query Runtime Statistics.
    Even ST03/ST03n fetches data from BI Admin Cockpit cubes
    A dashboard will be more to do with requirements and customizing web templates. There are however some dashboards available under EP. As for BW you can create your own templates and have them precalculated if necessary depending on usage
    A dashboard is kind of cockpit for very high executive reporting, and it contains in a single "wall" a collection of indicators, KPIs, graphs and so on in order to better understand the "direction" of a company...
    Hareesh

  • Dashboard in BW

    hello friends,
    can you please tell me what is the dashboard in BW and how it is using in enterprise portal.
    Regards

    hi
    A dashboard will be more to do with requirements and customizing web templates. There are however some dashboards available under EP. As for BW you can create your own templates and have them precalculated if necessary depending on usage.
    A dashboard is kind of cockpit for very high executive reporting, and it contains in a single "wall" a collection of indicators, KPIs, graphs and so on in order to better understand the "direction" of a company...
    http://www.bitpipe.com/rlist/term/Dashboards.html?src=ggbp12124b&CMP=KNC-GoogleAdwords&HBX_PK=dashboard&HBX_OU=50
    https://www.sdn.sap.com/content_documents/How%20to%20Evolve%20from%20SAP%20BW%20to%20a%20Full-Blown%20SAP%20NetWeaver%20Implementation.pdf

  • Dash Boards

    Hi All
    what is dashboard how do we make that can anybody explain step by step procedure or post a link for the same.
    Points will be awarded
    Regards
    Raj

    Hi Raja,
    A dashboard will be more to do with requirements and customizing web templates. There are however some dashboards available under EP. As for BW you can create your own templates and have them precalculated if necessary depending on usage.
    A dashboard is kind of cockpit for very high executive reporting, and it contains in a single "wall" a collection of indicators, KPIs, graphs and so on in order to better understand the "direction" of a company...
    http://www.bitpipe.com/rlist/term/Dashboards.html?src=ggbp12124b&CMP=KNC-GoogleAdwords&HBX_PK=dashboard&HBX_OU=50
    https://www.sdn.sap.com/content_documents/How%20to%20Evolve%20from%20SAP%20BW%20to%20a%20Full-Blown%20SAP%20NetWeaver%20Implementation.pdf
    Regards,
    Mani

  • How to selectOneMenu

    Hi
    I'm rendering a selectOneMenu and I need to show one value in selected way, of course this must be in a dinamyc way but I don't find how to do it.
    <h:selectOneMenu id="tipo" styleClass="input"  value="#{semaphoreBean.typeId}" style="width:200px;">
         <f:selectItems value="#{semaphoreBean.types}" />                                        
    </h:selectOneMenu>     Could somebody help me please?
    Any help is welcome
    Regards

    Thank BalusC
    but I have a doubt. How can I preset this value if I'm receiving it across of a parameter, let me see that
    this the previous jsp
      <h:commandLink value="Ver mas detalles..." action="#{semaphoreBean.detail}">
             <a4j:actionparam value="#{userLogin.nodeId}" assignTo="#{*semaphoreBean.nodeId*}"></a4j:actionparam>
            <a4j:actionparam value="#{userLogin.indicatorId}" assignTo="#{semaphoreBean.typeId}"></a4j:actionparam>
    </h:commandLink> and this is the current jsp
    <h:selectOneMenu id="tipo" styleClass="input" value="#{semaphoreBean.typeId}" style="width:200px;">
         <f:selectItems value="#{semaphoreBean.types}" />                                        
    </h:selectOneMenu>     
    and the ManagedBean look like this
    private String indicatorId;
         private Collection<SelectItem>types = new ArrayList<SelectItem>();     
         private Long nodeId;
         public SemaphoreBean(){
              System.out.println("const");          
              System.out.println(this.getTypeId());
         public Collection<Indicator> getIndicators() {
              IndicatorService service = getBean().getIndicatorService();
              if(user == null){
                   user = getCurrentUser();
              IndicatorTypeService typeService = getBean().getIndicatorTypeService();
              IndicatorType type = typeService.getTypeByName(this.getTypeId());
              indicators = service.getIndicatorByNode(user, type, nodeId);
              return indicators;
         public void setIndicators(Collection<Indicator> indicators) {
              this.indicators = indicators;
         public String getIndicatorId() {
              return indicatorId;
         public void setIndicatorId(String indicatorId) {
              this.indicatorId = indicatorId;
         public Long getNodeId() {
              return nodeId;
         public void setNodeId(Long nodeId) {
              this.nodeId = nodeId;
         public String detail(){          
              return "detail";
         public Collection<SelectItem> getTypes() {
              System.out.println("getTypes");
              IndicatorTypeService indicatorTypeService = getBean().getIndicatorTypeService();
              if(types.size()==0){
                   for(IndicatorType type : indicatorTypeService.getAllTypes()){
                        SelectItem select = new SelectItem();
                        select.setLabel(type.getDescription());
                        select.setValue(type.getId());
                        types.add(select);
              return types;
         public void setTypes(Collection<SelectItem> types) {
              this.types = types;
         public String getTypeId() {
              return typeId;
         public void setTypeId(String typeId) {
              this.typeId = typeId;
              System.out.println("setTypeId");
         public User getUser() {
              return user;
         public void setUser(User user) {
              this.user = user;
         

  • How to display data collected in main vi to indicators in another vi

    Hi,
    I am collecting data using NI 6251 USB DAQ
    in the main vi but as i have too many controls and indicators on the
    main vi front panel. so i want to display the indicators(graphs) in another vi. i also
    want the vi with the graphs to open automatically. Does any one know how
    i can do this? I would
    really appreciate any help.
    Thanks,
     ygupta
    Solved!
    Go to Solution.

    Hi,
    Search forum for the sub vi concept.
    For your reference i have attached a example.
    you can see procedure for the same on the net.
    regards,
    Shrek
    Attachments:
    graph.zip ‏11 KB

  • (1) Would like to pause syringe pump at certain volume while still collecting diameter data, (2) Would like to delay chart and numerical indicator output until after syringe pump is run

    Hello:
    I am using Labview to control a New Era Pump Systems automatic syringe pump and to record diameter measurements from a LaserMike optical comparator. My program is fully functional, the code is attached with all auxilliary files in the NE-50X folder. I mostly understand my program, I used drivers for the NE-50X pump found on the NI website to build my code and added to it as needed. My program currently does the following:
    After I push the white Run button, I am prompted for a file name. After I enter one, Labview begins collecting data from the LaserMike and syringe pump and outputs them to their respective numerical indicators and waveform charts. Then I can change the syringe pump flow rate and syringe diameter on the front panel. Once I push the green RUN button on the front panel, the syringe pump runs, and the balloon diameter vs. syringe volume XY graph begins to record. I can then reverse the direction of the pump and/or pause the pump however many times I like, while Labview still records diameter from the LaserMike. Pushing the red STOP button on the front panel terminates the program and stops the pump.
    Here are three things I would like to change about my program that I don't know how/what to do:
    1) I would like the LaserMike and syringe pump to output to their respective numerical indicators and charts only AFTER the green RUN button on the front panel has been pushed and the pump is running.
    2) I would like to be able to pause the syringe pump at two specific volumes while Labview continues to collect data from the LaserMike. I do not mind if I would have to push RUN to manually restart the program. I just want the pump to stall for a few seconds once the syringe pump dispenses a certain volume without the program terminating.
    3) I would like the program to terminate once a certain volume has been dispensed. I would also like the syringe pump to return to zero, its starting position, after each test so that each test is identical.
    If anyone has ideas about how to do any of these three things, your help is greatly appreciated.
    Attachments:
    Balloon Diameter.vi ‏132 KB
    NE-50X.llb ‏994 KB

    1.  You can set a boolean value when the Run button is pressed and use that boolean value to determine whether or not your indicator is updated.
    2.  You check the value of your syringe volume every loop iteration and pause the pump if a certain value is reached.  You can have the program wait for the user to press a button to restart.  You can also have it pause for a period of time and continue automatically.
    3.  Just like #2, you can wait for a certain value and stop the overall loop once that value has been reached. 
    Your program is an excellent candidate for event handling.  I have attached a link to a tutorial.
    Brian R.
    District Sales Manager
    Washington DC
    National Instruments

  • How to trigger creation of collective orders

    Hi,
    How to trigger the creation of Collective orders.
    regards

    Hi,
    Collective Orders
    Use
    In a collective order, planned orders or production orders are linked to one another over several production levels. Each order in the collective order has its own order number. If subassemblies are produced directly for superior orders within a production process, without physically entering the warehouse, it is useful to have a representation via collective orders.
    The components for which separate production orders are created in the collective order are called directly produced components (see Creating Collective Orders)
    Prerequisites
    A collective order cannot be created for components that have one of the following indicators set:
    · Co-product
    · By-product
    · Alternative item with strategy 2
    · Alternative item with usage probability 0
    · Discontinued
    · Follow-up material
    · Intra material
    Features
    Collective orders offer the following advantages:
    · Integrated view of a production process
    Collective orders make it possible to represent different levels of the production process together in the system. The production process can be viewed as an integrated whole.
    · Separate order number for every order
    Every level in a collective order represents a separate production order/planned order. Every production order/planned order has its own order number. This enables you to process the entire collective order, a subtree in the collective order or an individual order.
    · No placements in storage or removals from storage between production levels
    Within a collective order stock movements only take place for the leading order (that is, the order that is at the highest production level) and not for directly produced components. This makes it easier to maintain the collective order in comparison with several individual orders. A further advantage is a more realistic representation of the costs of the production process, since subordinate orders can be directly assigned and settled to superior orders.
    · Business functions simultaneously for several orders
    Certain business transactions can be carried out simultaneously for several orders. Releasing an order that belongs to a collective order has the effect that all the hierarchically subordinate orders are released simultaneously.
    · Automatic change to dependent orders
    Changes to an order automatically affect dependent orders / components affecting orders. For example, if you change the order quantity in an order then
    ¡ the relevant quantity changes are automatically made to dependent orders
    ¡ the requirements quantity of the directly produced component is automatically changed.
    In the collective order, you also have the option of manufacturing directly produced material in a different plant to the planning plant.
    · Set status in leading order
    If you make changes in subordinate orders that have an affect on the status, then the system sets the corresponding status in the order header of the leading order in the collective order as follows:
    u2013 CFCO Confirmation in collective order
    u2013 GMCO Goods movements in collective order
    u2013 RLNE Release taken place in network
    In this way you are informed about changes in the whole collective order.
    · Reading master data
    You can copy the routing data and BOM data to the order again. You can find more information in Read master data.
    Example
    You want to produce a pump. The BOM for the pump contains a pressure regulating valve and a spiral casing. You want to enter these two components in separate production orders, but you do not want them to be posted to stock.
    You set the special procurement type to direct production in the material master record for the pressure regulating valve and the spiral casing, so that production occurs using a collective order.
    When you create a production order for the pump, a collective order is automatically created, which contains subordinate production orders for the pressure regulating valve and the spiral casing.
    Creation of Collective Orders
    Use
    Collective orders are only created if the special procurement type is set to direct production in the components for which the separate production orders are to be created (materials planning area in the material master).
    In the standard system, 52 is the special procurement type for direct production (that is, for components that are produced within a collective order).
    To create a collective order, you must use an order type with internal number assignment.
    Hope this helps.
    Regards,
    Tejas

  • Difference in Customer account statement and collections

    Kindly clarify my doubts about customer account steatement and Collections. basically whats the difference in the two and what are the standard T_codes for these two.
    thanks
    anya

    HI ANYA
    T-code:  F.27
    Definition
    An account statement and open item list are two types of correspondence. They differ with respect to the information they contain and the way it is displayed. Unlike an open item list, an account statement displays all items in a specified period along with the balance carried forward. The open item list merely displays the open items for a certain key date.
    Type of correspondence that your company sends to its customers.
    The system includes a SAPscript form that you can use for customer account statements for the Philippines, form F140_CUS_STAT_P1. You can modify this template to meet your company's requirements. To do so, from the SAP Easy Access screen, choose Tools ® Form printout ® SAPscript ® Form.
    Structure
    The following information is displayed in the template for the customer account statement:
    Account balance at the start of the selected period
    Open item list as of the key date, including the total
    It is sorted by transactions with or without special G/L indicators, currency, posting date, and document number.
    Account balance at the end of the selected period
    Cleared item list between selected key dates
    It is sorted by currency, posting date, and cleared item document number.
    Withholding tax list between selected key dates
    It is sorted by withholding tax type, posting date, and document number.
    Aging in 0, 30, 60, 90, and 120 days
    Integration
    You can print the customer account statement.
    Note the following restrictions regarding customer statements:
    You cannot create statements for one-time customers.
    In the case of customer head offices with local branches, customer statements contain the address of the head office and not that of the branch.
    The account statement can be created for your customers or vendors is an extract from the customer account which enables him to check the items there or is merely for information purposes. The account statement displays the balance carried forward, all items in the chosen period and the closing balance of the account.
    The open items list is a special form of account statement. It is also sent to the customer for verification or information purposes. Occasionally, the list is also used as a reminder letter. The open items up to the chosen key date are displayed in this list.
    Both letters contain the document number or reference document number, the document date, the document type, the currency and the amount for every item as well as the balance of the open items at the key date. The account statement may also contain the clearing document number. If branches were included in the letter of a head office, their addresses are listed at the end of the letter.
    The layout of the letter is determined via a form. Depending on the form used, the letter may also contain, for example, the days in arrears per item at the key date or other information. The form must be defined and stored in the system.
    Printing Customer Account Statements
    Use
    Printing of customer account statements is based on correspondence type SAPP3. Correspondence type SAPP3 is preconfigured to run the RFKORDP3 print program, which is delivered with report variant SAP&SAPP3. You can modify SAP&SAPP3 to meet your company's needs. For example, you can change the aging period and the number of the aging column.
    To modify or define a new report variant for the RFKORDP3 print program, in Customizing for Financial Accounting, choose Financial Accounting Global Settings -- Correspondence -- Assign Programs for Correspondence Types. Select correspondence type SAPP3 and choose Environment -- Maintain variants.
    Procedure
    Printing Individual Account Statements:
    Request correspondence type SAPP3 . To do so, from the SAP Easy Access screen, choose Accounting -- Financial Accounting --Accounts Receivable --Account -- Correspondence --Request.
    Issue the correspondence request by choosing Accounting -- Financial Accounting -- Accounts Receivable -- Periodic processing -- Print correspondence -- As per request.
    Print the customer account statement from the spool file by choosing System -- Own spool requests. Select your spool request and choose print.
    COLLECTIONS
    Collection is the settlement of receivables due, in particular, bills of exchange.
    Collection Account
    Definition
    A G/L account that the system uses to record checks receivable that you have presented to banks for collection. It denotes that a check has been sent to a bank and is awaiting clearing
    Reward if useful to u
    narendran vajravelu

  • Different Order Types within a Collective Order

    Dear PP Gurus,
    I have a requirement for having different order types with in a collective order. For example, in a BOM of 3 levels, the order type for each assembly should be different say ZPP1, ZPP2 and ZPP3.
    For this, I have maintained separate production scheduling profiles in each of these assemblies with the respective order types. Also, I have maintained MRP groups separately for each of these materials. Further, in Plant Parameters, no default order type is assigned.
    However, when I create the order, the system creates all orders with order type ZPP1 which is for the header material.
    As per SAP help, this is possible but I am not able to create collective order with different order types.
    Please suggest any SAP Note or configuration changes which I have missed out.
    Thanks!
    With Regards,
    Nitin

    Dear Sabine,
    Thanks for your reply.
    However, as per SAP help, this is possible. Please refer to the link http://help.sap.com/saphelp_470/helpdata/en/ee/b6532cae8011d19e97080009b0db33/content.htm
    In this link, under Pre-reuisites section, in Point 2 it is mentioned
    "This indicator is transferred into the order header (master data) of the orders. If there are differing order types within the collective order, the setting of the indicator of the order type of the leading order takes precedence. This indicator is transferred to all lower-level orders and overrides their original indicators."
    The above line implies that different order types are possible with in a collective order.
    Please suggest some way out.
    Thanks!
    With Regards,
    Nitin

  • A collection of threads: FAQ's, intros and memorable discussions

    Welcome to the SDN Security Forum!
    In addition to the information accessible via the SDN Security Main Wiki and the SDN Security Forum Search and
    searching the SAP Service Marketplace (see the thread on OSS Note Search Techniques), this "sticky post" lists some threads from the forum as:
    - an introduction for new members / visitors on topics discussed in threads,
    - a collection of some threads which provided usefull answers to questions which are frequently asked,
    - a collection of some memorable threads if you feel like reading some security related material.
    - a collection of OSS notes which have been proven to be generally usefull to know about.
    The listed threads will be enhanced from time to time. Please feel welcome to contact me via the details in my SDN Business Card if you would like to suggest any threads for inclusion here.
    Keeping an eye on the SDN Security Homepage for relevant blogs (often there are security aspects to other blogs as well),
    the Security Area of the SAP Service Marketplace ("OSS" logon required) and subscription to the SAP Security Newsletter
    can also be generally recommended if you are interested in security.
    New!Also see SAP's Security Disclosure Guidelines and do not use SDN to report software bugs. Contact details are in the link.
    PS: When asking a question in the forum, please also provide sufficient information such that the question can be
    answered usefully, and when the question is answered please indicate which solution was found and close the thread.

    Identity Management
    CUA will never die! => Blog from SAP about CUA support myths.
    CUA information and advice needed!!! => There is a seperate dedicated forum for this now.
    User Management and Password Rules
    User Comparison => PFUD and "valid to" role assignments, and other search terms.
    Effect of Keeping User IDs => Why and how to avoid deleting user ID's.
    FORCE PASSWORD CHANGE => Think twice about updating SAP tables.
    ALEREMOTE ID locked by KRNL => Where did a (CaSe-sensitive) password come from and why did it fail?
    DDIC and changing ownership of Jobs => Restricting DDIC access and logging, by restricting it's use.
    Copy User Masters from 4.7 to ECC 6.0 => Old hats, new (easy) tricks and win a round of beers, instead of points
    Profile Parameter: login/password_logon_usergroup => Exceptions, development requests and analzing logon problems.
    Authorizations
    Trace => Contributing to SDN can enable a difference for everyone, depending on the reason code ...
    Security Design => Derived roles, role design and (potential) design errors.
    F110 - S_BTCH_ADM => S_BTCH_ADM vs. S_BTCH_JOB.
    How to securize SE16N => Be carefull with S_DEVELOP authorizations, regardless of S_TCODE.
    Giving authorization for img => Tcodes, activities and projects within SPRO.
    Role and Naming concpets => Important first step with lasting consequences.
    display access for the tcode SCC4 => Tweaking table auth groups with transaction SE54.
    No control over workbench tcode start => The "System => Status and F1 trick"; also see SAP note 1085326.
    Is SU24 only for removing security checks? => What the SU24 indicators are for.
    Effect of "changed' objects during upgrades => The rules of SAP note 113290.
    How to remove SPRO from SAP_ALL profile => The Neverending Story.
    How to create new org.level and further actions? => Reports for converting organizational level fields.
    Granting Authorization Group SC in S_TABU_DIS => New authorization object S_TABU_NAM to access individual tables.
    error while uploading roles from quality to production => Upload roles, or transport them.
    SUIM RSUSR010 does not return completed list of t-code. => Special SUIM reports explained by SAP guru Bernhard Hochreiter.
    Maintaining different values for Accounting Type (KOART) => A little bit of everything in PFCG which you need to know.
    Adding Object Mannully Vs. Adding Object in SU24 for Tranaction => When to use SU24 to make changes.
    Too many duplicate objects coming while adding Tcode through MENU => SU24, PFCG merge option and role design.
    Not add authorization objects that exist in role when adding transaction => Initial installation tuning of SU24.
    Do you give SAP_ALL and SAP_NEW to developer in Dev and QA environtment? => Developer type authorizations.
    Errors occurred during post-handling PRGN_AFTER_IMP_ACTGROUP_ACGR for ACGR => Solutions for profile name collisions.

  • What is the use of Match(X) or Copy in Business Content Collected Obj..?

    Hi All,
    In Business Content, After doing Drog nd Drop on Collected Objects, There, after Install Icon(I) we will find <u><i><b>Match(X) or Copy (M)</b></i></u> ......
    Can anybody tell me what is mean by it and why and where do we use it.....?
    Please Reply me.......
    Regards,
    Kiran Telkar

    Hi Kiran,
    Match (X) or Copy
    If the SAP delivery version and the active version can be matched, a checkbox is displayed in this column.
    With the most important object types, the active version and the SAP delivery version can be matched.
    From a technical point of view, the SAP delivery version (D version) is matched with the M version. As in most cases the M version is identical to the active version (A version) in a customer system, this is referred to as a match between the D and A versions for reasons of simplification.
    When a match is performed, particular properties of the object are compared in the A version and the D version. First it has to be decided whether these properties can be matched automatically or whether this has to be done manually. A match can be performed automatically for properties if you can be sure that the object is to be used in the same way as before it was transferred from Business Content. When performing matches manually you have to decide whether the characteristics of a property from the active version are to be retained, or whether the characteristics are to be transferred from the delivery version.
    Example of an automatic match
    Additional customer-specific attributes have been added to an InfoObject in the A version. In the D version, two additional attributes have been delivered by SAP that do not contain the customer-specific attributes. In order to be able to use the additional attributes, the delivery version has to be installed from Business Content again. At the same time, the customer-specific attributes are to be retained. In this case, you have to set the indicator (X) in the checkbox. After installing the Business Content, the additional attributes are available and the customer-specific enhancements have been retained automatically. However, if you have not checked the match field, the customer-specific enhancements in the A version are lost.
    Example of a manual match
    An InfoObject has a different text in the A version than in the D version. In this case the two versions have to be matched manually. When Business Content is installed, a details screen appears which asks you to specify whether the text should be transferred from the active version or from the D version.
    The Match indicator is set as default in order to prevent the customer version being unintentionally overwritten. If the Content of the SAP delivery version is to be matched to the active version, you have to set the Install indicator separately.
    The active version is overwritten with the delivery version if
    ¡ the match indicator is not set and
    ¡ the install indicator is set.
    In other words, the delivery version is copied to the active version.
    If the Install indicator is not set, the object is not copied or matched. In this case, the Match indicator has no effect.
    In the context menu, two options are available:
    a. Merge All Below
    The object in the selected hierarchy level and all objects in the lower levels of the hierarchy are selected as to Match.
    b. Copy All Below
    The Match indicators are removed for the object in the selected hierarchy level and all objects in the lower levels of the hierarchy. If the Install indicator is also set, these objects are copied from the delivery version to the active version.
    hope this helps.
    Regards,
    Sreedhar

  • DAQmx: Numerical indicators go blank intermittently using DAQmx Read

    Hello everyone,
    I was wondering if anyone else has ever fought this issue and won.  I have a loop (I will attempt to attach an image of the block diagram) which performs a DAQmx Read operation.  The loop employs a 200 millisecond wait.  The loop scales the data, sends all of the values to little indicators in an array, picks out a few critical values to display on duplicate large indicators, and optionally logs the data by streaming it to disk.  The task will usually (99.9% of the time) be run at 100Hz.  So, I was figuring I could do a "Read All", since at 200 ms of wait time due to the millisecond multiple wait function, I should always have around 20 points to read in the buffer the next time around.  This would allow me to have very current readings in my displays.  I could do a partial read, but then I figure I would have a lag between the displayed values and the reality of what's going on in the test.  Having current readings, as current as can be, is highly desirable for this application.
    I figured everything was good with what I was doing, especially when I tested it with a simulated device (I know a simulated device behaves much differently than a real device, especially at start up).  Everything seemed to work well.  When I go to the real hardware, though, I intermittently get blank indicators.  Actually, it is more like intermittent numbers in my indicators.  Most of the time, the DAQmx Read operation returns a null, empty array (no data available in the buffer).  I must be missing something, because I figured that a 200 ms wait would allow another 20 samples to be collected.
    If someone could please just ease my conscience and let me know that I haven't done something very fundamentally wrong in this code, even if you couldn't help me with a solution, I would very much appreciate it.  I feel that this code should work, keeping data in the indicators at all times, and don't know why it doesn't work.  If you could offer me the solution, even if it is to point out that I did something very wrong, I would much appreciate it.
    I am just writing this code, and still have some icons to make, so the sub VI's still have the default icons.  Sorry about that.  Basically all those do is get array subsets, or scale data, or write data to the data files.  If you need to ask questions about the code, I can understand.  I am not the greatest yet at writing self documenting code yet.  And if you need to know what that event structure does, it watches the two boolean button controls to determine what state in the state machine to go to next, and the time out case of the event structure highlights a data value if it goes out of bounds.
    Sorry if I am too wordy.  I have been accused of that before.  I just notice a lot of "Help!  DAQ doesn't work.  How do I fix?" posts, and I don't see how I or anyone else could help that person at all.
    I am using LV8.2, with DAQmx 8.3.1, on Windows XP, 1GB of RAM, and a fairly healthy Duo core processor.  I have a workaround where I throttle back the read operation, only reading 55% of the available samples, as reported by a DAQmx Read property node (the highest percentage I found that prevents the indicators from going blank).  This introduces a small lag between the real world and the data on display, however.  Also, it seems like a processor dependent solution.  I would have to tweak this percentage for every machine I run this on.
    If I have left anything important out, please let me know, and I will do my best to clarify, and thank to anyone who reads this, and a big thank you to anyone who takes the time to reply.  Again, I would be real happy with a "That code looks good to me, and your thinking is correct", if that indeed is the case.
    Thanks.
    Attachments:
    Log Monitor Block.JPG ‏292 KB

    Yeah, as you and Erik said, just specifying (Sample Rate / 5) as the '# to read' could do the trick.  Then you can ditch the 'Wait (msec multiple)' function.  I don't think I'd recommend the -1 = infinite timeout though.  I'm pretty leery of stuff that can lead to an infinite wait or an infinite loop.  Even a 1 sec timeout should easily be way more than enough.  Note however that this method depends on all your processing code executing in under 200 msec on average.  Otherwise, your reads will fall behind and you'll eventually get a DAQ buffer overflow error.  My earlier suggestion to first query for # available samples and then read the MAX of (# available, SampleRate/5) will prevent cumulative fall-behind effects.
    There's too many unknowns to speculate with any confidence on exactly why the software timing method didn't work.   I can point out some additional things that bear greater scrutiny though.
    1. You've got some sort of function dealing with file streaming that takes a path input and produces a path output.  This probably means that every loop iteration you're using the path to open a file, write data, and close the file again.  This actually may consume more than 200 msec, at least some of the time.  Because this runs in parallel with the msec wait function, something like the following could be happening:
    A. Iteration 1 proceeds as expected.  The DAQ read collects 20 samples, the file write consumes only 100 msec, and the wait msec function ends after 160 msec in order to end on a 200 msec multiple.  The wait function took longest, so your whole loop ends on a 200 msec multiple.
    B. On iteration 2, the wait msec function ends after 200 msec on the next 200 msec multiple.  The DAQ read collects another 20 samples (because it's been pretty much exactly 200 msec since the previous loop iteration started) right away.  However, Windows was busy messing with the file cache so this time your file write consumes 375 msec.  The file function took longest so your whole loop ends 175 msec into the next 200 msec multiple.
    C. On iteration 3, the wait msec function ends after 25 msec on the next 200 msec multiple.  The DAQ read collects 37 samples that have come in since the prior call 375 msec ago.  The file function consumes only 50 msec this time, ending the loop 25 msec into the next 200 msec multiple.
    D. On iteration 4, the wait msec function ends after 175 msec at the next 200 msec multiple.  The DAQ read collects the 5 samples that have come in since the prior call 50 msec ago.  Uh oh, not enough samples...
    One possible fix is to open the file outside the loop and leave it open until after the loop is done.  Opening and closing files has quite a lot of overhead.  Inside the loop, you'd be passing around the file refnum.  Doing this one thing alone might also be a way to fix your timing problem.  Along similar lines, you could write the data to a queue and then do your file writes in an independent loop that reads the data out of the queue.  You can search here for "producer consumer" for more info.
    -Kevin P.

  • Multiple Trigger Level Data Collection

    I'm having some difficulty with a unique data collection problem. I'm using DAQ Assistant to collect and display voltage data on a graph and in numeric indicators. I need to add functionality, so that when the user clicks a control, the incoming data is sampled and shown in a table. Each sample should occur at a succesively higher trigger level-- i.e., 1st sample when channel 0 is near 1 V, 2nd sample at 2 V etc... Is this possible using Labview 8.6? I have experimented with the Trigger and Gate function, but have been unable to trigger the manual trigger at successively higher levels. Any help or ideas would be appreciated! 

    Hi Sailorguy,
    Please have a look at this forum and see if it helps. Thanks!
    Ipshita C.
    National Instruments
    Applications Engineer

  • Leg indicators in Transportation

    Can anyone clearly explain about all leg indicators in Transportation?

    there are 4 leg indicators in transpt'n
    Preliminary leg,Main leg,subsequent leg,return leg and direct leg.
    We have 3 types of shipments
    individual shipment, collective shipments and transportation chain.
    Individual shipment is where one mode of transport is used from source to destination means it would be a direct leg.
    collective shipments also use a group of shipments use one mode of transport which would be direct leg.
    Transportation chain is where if suppose from delhi to bombay we use truck to transport and from bombay to newyork we use ship for transport and from newyork to washington dc we again use truck.
    in that senario first step Delhi to Bombay = Prileminary leg
    second step Bombay to Newyork = Main leg
    Third step Newyork to Washington = Subsequent leg

Maybe you are looking for

  • Turning Open items which are partially payed into Close items.. How?

    Hello, In our company we use partial payment to Vendors using transaction F-59 and also automatic paymant of full amounts. Everything is working correctly but since we use very offen partial way of paymant, on transaction FBL1N I have a lot of open i

  • How to resize a Cropped photo

    iPhoto on iPad 3 with iOS 6. I use the Crop tool to select a portion of the image. Tap Edit to confirm my selection. The image is now displayed in the editting panel. How do I get the image to fill the editting panel? What seems to happen is if I hav

  • Why can't I receive and download my app from Testflight/iTunes connect?

    This problem just started during the switch from Test Flight to iTunes connect last week. I've been receiving the email invite but when I go to download the app TestFlight says: "You aren't currently testing any apps. To accept an invitation, you mus

  • Itunes had error and shutdown while updating. when restoring iphone do you lose pics, texts emails etc?

    Itunes had an error and shutdown while updating my iphone 4.  Itune tells me my phone is in recovery mode and I must use restore before im able to use itunes.  I cannot do anything on my phone now.  It shows icons telling me to connect to itunes.  I

  • Runtime.exec not executing the command !

    Hi all, I'm connecting to Progress Db thru JDBC trying to execute a stored procedure which has a statement Runtime.exec("ksh -c aa") where aa is aunix script which i'm trying to run from java snippet . when i run this code as a seperate java program