The efficiency of data value references to avoid buffering arrays

I would like to get NI's formal position on this question.  It was my understanding that DVR's of arrays are an efficient way of avoiding array copying when branching would ordinarily occur in their absence.
This seems to be confirmed here:
http://zone.ni.com/reference/en-XX/help/371361L-01/lvconcepts/external_data_val_ref/
http://zone.ni.com/reference/en-XX/help/371599K-01/lvfpgahelp/fpga_zerocopy_dma/
However, there appears to be some (very outdated) chatter with a contrary view:
http://forums.ni.com/t5/LabVIEW/quot-Data-Value-Reference-quot-and-quot-In-Place-Element/td-p/155846...
http://lavag.org/topic/10983-dvr-vs-pointer/
There are normally lots of changes in LabVIEW from year to year; so if this contrary position was ever true, it may no longer be so. 
Thanks,
Jordan
Jordan McBain, PhD
LabVIEW Controls Engineer
Revolutionary Engineering

You messed up your last two links. They point to some outlook mail server!
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • How to avoid the Amount and Date values for VOID Cheques

    Hi All,
    I had created a two window i.e For Amount and Date. If I process the cheque the Amount value and Date should not trigger for VOID CHEQUES.
    Can any one tel me how to avoid the Amount and Date values for VOID Cheques
    Your help will be greatly appreciated.
    Regards
    Yathish

    Hi,
    I dont know which tablel you are referring to, is it PAYR table and the field VOIDR?
    If a cheque is voided, it would have a reason and it is stored in VOIDR field of this PAYR table.
    Check if the field VOIDR is filled, if it is filled, do not print the amount and date.
    Regards
    Subramanian

  • Are there any advantages to using a Data Value Reference for LabVIEW Classes?

    Hi
    I recently came across an example where the developer had used a data value reference for the class cluster in LabVIEW.
    What are the advantages of doing this?
    Doesn't the use of LV objects already avoid the creation of multiple copies of data thereby reducting memory usage?
    Thanks
    AD

    LabVIEW's OOP is implemented as a By Value.  This means, as Tst stated, branches in wires could mean copies in the object.  The DVR is a way to make it By Reference.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Converting the user response date value to date data type

    Hi,
    I have a parameter which takes date as input (from date and to date).
    I need to get the difference between these two dates.
    So i can use the function todate(userresponsedate,"dd/mm/yyyy")
    but here i cannot hardcode the date format as dd/mm/yyyy.
    Because my reports needs to support to multiple locales and so if i change the browser locale to japanese the input date will appear some thing like yyyy/dd/mm.
    So my function  todate(userresponsedate,"dd/mm/yyyy") is failing over here.Its is giving #error
    Is there any option where it takes the browser locale date format.
    ex: todate(userresponsedate,browserlocaledateformat)
    So that it works irrespective of the browser locale
    Thanks in advance

    HI
    Try to use this formula
    formatdate(todate(userresponse("enter from date");"");"dd/MM/yyyy")
    In the report level you will see only dd/MM/yyyy as string
    Hope this helps u
    sunil

  • ALE Serialization on the basis of Data Value

    Dear All ,
    I have a query related to scheduling of Inbound IDOC .
    I am using a scenario Legacy system to SAP using ALE layer communication . For Goods movement IDOC WPUWBW01 I am having 7 or 8 files and each files are posting one IDOC in SAP . Now since each files are having diffrent movement types so I need to serialize the posting of IDOC into SAP based on Movement type and I have to put a condition that file with movement type 303 should be posted first and then movement type 305 should be posted .
    Approach : <b>I know ALE Serialization for the message type and used SAP Inbound Processing program RBDSER04 and did the serialization .</b>
    <b>But I am not able to do serialization for Movement Type .Can anybody help me on this ? .</b>
    Thanks & Regards
    Prabhat

    The scenario was similar. Files containing IDOCs (for goods movement) were posted to the system using custom ABAP. We wanted to ensure that the IDOCs are posted in sequence of movement type (we wanted 131 posted before 261 for example, even when 261 file came first).
    One option is to create specific message types (say Z301 for bringing 301, Z302 for brining mvt 302 and so on) and then you can use your method to serialize based on message type. But, you will have quite a few Z msg type in this case (not a big issue, but not very sophisticated).
    Other option might be to copy this program into a Z version. Inside, there is a sorting of IDOCs (search for SORT statement). This is to be modified so
    - read data from edid4 for all idocs (in 64)
    - map data to segments so as to get the mvt type
    - store in a reference table (with idoc no and mvt type)
    - apply your sort logic on this table to get the sequence of IDOCs
    - proceed with standard logic to post data in this sequence.
    Hope this helps.

  • The same Excel DATE.VALUE function in SQL

    Hi, I need to convert a date in a number that Excel can recognize.
    I'm trying to do a
    SELECT
    (trunc(SYSDATE) - TO_DATE('1900-01-01', 'yyyy-mm-dd'))
    FROM dual
    And I retrieve this: 41014
    But today in excel is 41016!!
    Why? There is a better solution than this?
    Thank you, R.

    See this topic for an answer: Import Excel Date Field
    Basically you need to do this:
    SELECT (TRUNC(SYSDATE) - TO_DATE('01-JAN-1900', 'DD-MON-YYYY')) + 2
    FROM   dual

  • I want to identify the global indices that correspond to elements of buffered arrays that are above a certain threshold

    I am logging ECG data and am wanting to compute the distance between successive heart beats online. What I need to do is identify WHEN heart spikes occur so that I can measure the time between two beats. I am using continuous buffered acquisition.

    Thanks for the response. I am having some trouble with indices. Everytime I identify a spike, I want to grab its position. To this end, I have a case structure conditioned on the identification of the spike (a simple comparison with a floating threshold). For TRUE, I write to file the index of the main while loop multiplied by the scans/iteration added to the index value of the buffered data. This works fine for the first read, but is offset increasingly on subsequent reading cycles. What am I doing wrong?

  • Report data ( value ... tag) missing in the Webi report retrieved through RestFul Webservice

    I am trying the below URL to get the WEBi report from SAP BO using the Rest Webservice support that is now available.
    http://{serverIP:serverPort}/biprws/raylight/v1/documents/{documentId}
    I am able to get the report but as I compare the same report response when using SAOP Webservice, there seems to be a mismatch in the response. Here is what I see in the SOAP response:
    </td><td c="1" ><cell  ref="1.E.4t" bid="14" h="26" w="231" pad="6,7" sid="-10"><ct >Some arbitrary value</ct><value type="xs:string">Some arbitrary value</value></cell>
    But when I run it through REST, I am missing the <value ..> tag:
    </td><td c="1" ><cell  ref="1.E.4t" bid="14" h="26" w="231" pad="6,7" bt="1" sid="-10"><ct >Some arbitrary value</ct></cell>
    Apart from this right at the start of the xml response, I see some property mismatch as well.
    SOAP has this property extra:
    <property name="output.format.xml.valuemode">yes</property>
    While REST has these property extra:
    <property name="output.format.xml.option.style">1</property>
    <property name="output.format.xml.styledict.fontplatform">html</property>
    <property name="output.format.xml.td.bandinfo">yes</property>
    <property name="source.selected">data</property>
    <property name="xelement.xml.object">yes</property>
    <property name="xelement.xml.object.usemap">yes</property>
    <property name="xelement.xml.object.usersupportedformat">image/png</property>
    I am not sure if:
    the <value ...> tag miss is because of these missing/extra properties or
    current REST support has some issues
    For my application the value tag is a must and I can't do without this, but with REST it seems no way to obtain that.
    Any help or pointer(s) in this regard is appreciated!

    Hello Milind,
    According to our Product Owner Sam Polichouk, the solution should be available for you in 4.1 SP3, which is currently scheduled for release by the end of March 2014 (subject to change).  The product team recommends that you get the raw, unformatted data values from within the Dataset specific call.  This data contains a type to tell the end user what kind of data it is, so you can format it or use it properly.
    The updated documentation for the SDK will be available at SAP BusinessObjects Business Intelligence platform 4.1 – SAP Help Portal Page once the Support Pack is publicly released.

  • Calculating Life to date values

    Hi there,
    the users are looking to get life to data values for service order. We can do this in the query (on the front end) but the performance takes a big hit due to the volume of records that are retrieved. So we are looking to build this calculation on the backend. Has anyone here done something similar and could share their experience on this?  To repeat, the users would like to see the life-to-date value and this will contain any amounts that have been posted to this object. I was thinking about using a standard dso for this solution and use the amounts related cubes as source for this dso. The key figures (or data fields) in the dso would be incremented from the delta loads from the underlying cubes.
    Thanks for sharing your thoughts or experience handling this issue.

    If I am getting you correctly, you are getting the following output(sample) where you are getting few additional orders for which cost$ is zero but we have &cost(life to date value) like 10002563 .
    Order#          Fiscal period               $costs         $costs (life-to-date)
    10001111           001.2012                 5,000             50,000
    10001111           002.2012                 5,000             50,000
    10001112           001.2012                 6,000             30,000
    10001112           002.2012                 7,000             30,000
    10001112           003.2012                 7,000             30,000
    10001113           003.2012                 5,000             10,000
    10002563           001.2012                  0                   5000
    If this is the issue then you can put a condition on cost& Key figure to be not equal to zero.It would solve the issue.
    I would request you to provide us the sample output with both the correct and incorrect orders so that we can further understand the issue.

  • Month-to-Date and Year-to-Date values in Query

    Hello experts,
    One of our BI reports has the following requirement: the user should be asked for the report date. After the user inputs the date, the report shows the key figures in three different "flavors": one is the values for that date, the second one is the cumulate values from the first day of the month of the report date to the report date itself, and the third is the cumulate values from the first day of the year of the report date to the report date itself.
      I created my report date variable based on 0CALDAY. Then I searched for SAP-exit variables that would help me achieve this, but could not really find any, except for 0P_ABO10, 0P_ABO11, 0P_ABO12 variables, all of them have as description "Start of Key Date Year". I tried creating a few selections in which the dates taken were defined as a range from each of these variables to the report date variable (for the year-to-date values), but I got the error "Variable 0P_ABO10 could not be substituted". I also got this error for the other two variables. And I could not find any SAP-exit variables like "Start of Key Date Month", in order to do the Month-to-Date part. My next try was to use the field "Key Date" with a variable in it, instead my own report date variable based on 0CALDAY, but it gave me the same errors.
    I searched the forums and found a few threads that looked useful, like
    First and Last day of month and
    1st day of month / 1st day of week variables
    However, they require some ABAP coding, and I do not know where to place the code (actually, I do not know where to work with ABAP code), and I also believe that I would have to do some changes to it.
    Any suggestions?

    Hi Pedro,
    You have to create customer exit in T_Code: CMOD
    1. Create a Z project
    2. Select RSR00001 as enhancement type.
    3. Go into include ZXRSRU01
    4. create a code like
    Here A is your variable based on 0calmonth with type customer exit and B is variable for 0calday.
    Try to write logic for your case taking this as example.
    WHEN 'A'.
        IF I_Step = 2.
          Loop at I_T_VAR_RANGE into L_T_VAR_RANGE where VNAM = 'B'.
            Concatenate L_T_VAR_RANGE-LOW(4) '001' into D1.
            Concatenate L_T_VAR_RANGE-LOW(4) '012' into D2.
            Clear L_S_Range.
            L_S_Range-low = D1.
            L_S_RANGE-high = D2.
            L_S_RANGE-sign = 'I'.
            L_S_RANGE-opt = 'BT'.
            Append L_S_Range to E_T_Range.
          ENDLOOP.
        ENDIF.
    If you want exact code I can help you in that.
    Thanks,
    Kams

  • Where is the "Last Modified Date"?

    I'm in Report Builder trying to create an Incident report that includes the "Last Modified Date" value.  However, I can't seem to find it in any of the views using the Report Builder wizard. 
    Can someone point me to the right source for that value?
    Thanks,
    Chuck
    Chuck Roy, Pennsylvania Turnpike Commission

    Chris,
    For reports, I would want to use the same data that SCSM uses in Views and Templates.  When creating a View for Incidents you can select based on the Last Modified Date.  When you create an email Template for Incidents, you can select the Last
    Modified date to be inserted into the template.
    In order for our report to display the exact same Incidents as a View that selects based on Last Modified Date, the report needs to use the Microsoft definition of Last Modified Date.
    Generally, I agree with your definition.   However, an easier definition may be that Last Modified Date equals the most recent History log date on the History tab. 
    Either way, as I mentioned above, it needs to be the same as is used in Views and Templates, recognizing that there are timing differences between the data base and data warehouse.
    Chuck
    Chuck Roy, Pennsylvania Turnpike Commission

  • Z10 error message unexpected data value

    I recently upgraded to a Z10. After pairing my phone to my 2012 Chev 2500 I attempted to make my first voice activated hands free call. After going through the command of call (contact name) it starts the call, then it immediately disconnects with the error unexpected data value. I can dial the number with the dial pad or go to my contact list and access the number from there. I did send a Twitter to BBHELP however I still have not received an answer

    The explanation of error 1130610 is the following:Possible Problems - Essbase cannot open a file. Possible Solutions - If you are using an error file, make sure that the error file is being created in a directory that already exists. Make sure you are using the ESSCMD IMPORT command correctly. Put all files the ESSCMD script needs in the $ARBORPATH\APP\applicationName\databaseName directory. Run the ESSCMD script from the $ARBORPATH\APP\applicationName\databaseName directory. Check the ESSCMD script for invalid paths. Make sure every folder that the script is pointing to exists. If you are using an error file, make sure that the error file is being created in a directory that already exists.

  • How to change the schedule line date in SO with reference to value contract

    Hi SD Guru's,
    I need to change the schedule line date in the sales order with reference to the value contract by using some algorithm that i will write. The problem that i can't find the suitable place to add the algorithm. I can't add it to the Copy control because there is no schedule lines in value contract and copy control for schedule lines does no exist.
    I can not add to user exit MV45AFZZ  , because order that was created with reference to the value contract, does not go through this user exit.
    Do you have some ideas where i can add it?
    Thanks and Regards
    Viky
    Edited by: Viky Sloutsky on Oct 20, 2010 12:43 PM

    Hello Viky
    How about using program MV45AFZB- USEREXIT_CHECK_VBEP or USEREXIT_MOVE_FIELD_TO_VBEPKOM
    or program FV45EFZ1- USEREXIT_CHANGE_SALES_ORDER
    Does the program go through these exits when an order is created with ref to a value contract??
    Also I am wondering why you need to change a Schedule line determined by Availability check and/or delivery scheduling?

  • How to dynamic to add +/- 10 to the y axis based on returned data value max/min

    Hi,
    We have two ways to extract/present the data/chart. One is using SQL Reporting and one is using EXCEL. However, we hardcoded the max/min value on y asix to various data set so the chart looks good. However, SQL reporting seems using auto on the y asix so
    when some values are 0, it just overlapped with the x-asix as dipicture below (left hand side is SQL reporting and right hand size is EXCEL) 
    Please advise how to add an +/- interval on the y asix based on the max/min returned data value (e.g if the max returned value is 100 and min returned value is 0, the max value on y asix would be 110 and min value of y asix would be -10)
    Thanks

    Hi kkcci88888,
    According to your description, there is a chart in the report, you want to set vertical axis range and interval dynamically. For example, if the max value of the column is 100 and min value is 0, the max value on y axis would be 110 and min value of y axis
    would be -10. If that is the case, please refer to the following steps:
      1. In design surface, right-click Y axis and open Vertical Axis Properties dialog box.
      2. In Axis Options pane, click (fx) button next to Minimum and type the expression like below:
    =Min(Fields!num.Value)- 10
      3. Click (fx) button next to Maximum and type the expression like below:
    =Max(Fields!num.Value)+ 10
      4. Set Interval to 10, Interval type to Number.
    The following screenshots are for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • ALV Report how to display from and to date values in the header.

    I develoeped alv report . i want to display selection screen from and to date values in  top of page...
    any sample code pls guide me..

    You have to do many things...
    first find the selection details using the FM.
    RS_REFRESH_FROM_SELECTOPTIONS
    use the Blog to Align/populate the Header  from the selection table
    /people/community.user/blog/2007/05/07/alignment-of-data-in-top-of-page-in-alv-grid

Maybe you are looking for

  • No data found error on Form on a Table with report

    Hi Everyone, I'm using Application Express 4.1.0.00.32 on Windows 7. I built a Form on a table with report. Earlier I was using rowid as a passing parameter but then I had to change it to primary key column from report to form. So in the "Fetch row p

  • How do I stop more than one user opening the same file?

    I'm about to install Lion Server and we're concerned that more than one person will be able to open the same file at the same time. Can this be prevented? If not it seems to make the concept of a server pointless? Any help appreciated. Already annoye

  • How can I fire an event case on the value change of an indicator, or a network variable?

    Hi!  I have an event structure setup to look for a value change of an indicator on the front panel.  The indicator is updated by the value of a boolean network-published shared variable through a seperate parallel loop that is polling all of the netw

  • Nested detail taskflow w/h back btn support - Is this even possible in ADF?

    Problem description: I have a master-detail page, when you select an item takes you to the details page. The way this happens is that the detail page task-flow's managed bean reads params from the request url, runs an expensive search (params validat

  • MPD and flash i conflict

    I have this litle problem with mpd and flash.When i am listening to music from mpd flash dosn`t work.when i have luck just sound isn`t working. But if i`m watching videos on youtube or have a chat msg on facebook mpd dosn`t work but after 10 - 15 min