Why i get different value when subtractin​g two elements of different arrays then the actual value in a timed loop

Hi Everyone
I have a probem in substracting the two elements of two different  1-D arrays. The problem is, I am taking out data from a CCD camera which gives me data in form of 2-D array. So i select 1-D array out of it. Now this CCD output is in a timed loop, hence i am getting data in each loop. I select a perticular array output of the CCD and this is then passed to shift register and in all the loops later on, one of the element of the output array of the CCD is substracted from the same indexed element of the selected array. For reference i have pasted the snap shot of the block diagram. In this snap shot you see three probes. The value at the prob 1 is 232, at probe 2 is 255 and at 3 is 4294967273, where as actually i sould have a value of -23 since i am substacting prob 1 and probe 2 values. Since the value of probe 2 will always remain at 255 as i have fixed it by choosing an array form CCD and i checked the value of probe 1 which never goes above 255 so why do i get this false value here.
Can you please help me in problem.
Regards
Chauhan
Attachments:
clip_image0011.gif ‏15 KB

Your data is U32 (unsigned integer) which does not have negative values. According to unsigned integer math, "negative" results will wrap.
You need to work in a datatype that is appropriate for what you want to do. How many significant bits do you have in the raw data?
Message Edited by altenbach on 03-17-2008 11:15 AM
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Why am I getting an error when I place two OAM files one after the other in different pages?

    Why am I getting an error when I place two OAM files one after the other in different pages? They do not load or play correctly.  They are both configured to play automatically with a .125 second delay and both have a white rectangle "poster" over for a hidden effect.

    Thanks for the idea, Scott! I initially tried your idea, but my OAM files were still not loading correctly.  I tried other combinations of OAM files, and it seems to work fine.
    Back to my original OAM files: I made sure that my elements in my Edge Animate project had different names. I originally copied parts of some elements from one to another, and I think it was confusing to DPS to read it. 

  • Why do I get Error: 404 when I try to download a Lightroom upgrade on the UK site?

    Why do I get Error: 404 when I try to download a Lightroom upgrade on the UK site?

    Try downloading from below link :
    New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools
    Feel free to post , if you need further assistance

  • Why i get that message when i try to setup adobe photoshop?"session has dependencies that cannot be satisfied"

    why i get that message when i try to setup adobe photoshop?"session has dependencies that cannot be satisfied"Photoshop General Discussion

    YOu have not provided any system info nor the full install info, so nobody can say anything.
    Mylenium

  • Why i get x icon when i see bex report in web browser??

    Hi Experts,
    why i get x icon when i see bex report in web browser?? How can i avoid it..??
    DV

    DVMC,
    This could be of two reasons. One is formula collision if you are using formulas in the report. You can set from the properties which formula to act.
    Secondly, if you are having key figures data with diff dimensions i.e diff units or currencies used in calculations. This can be eliminated using NODIM() function in new formula.
    Check out which case applies to you.....

  • I'm getting error messages when I download updates for lightroom and flash for the mac. can't figure out how to trouble shoot.

    I'm getting error messages when I download updates for lightroom and flash for the mac. can't figure out how to trouble shoot.

    It sounds as if your browser and some of your apps are not color-managed.  This is pretty typical.  Even IE9 is only partially color-managed.
    You can expect color-managed and non-color-managed applications to show you different things with the same images.  How different will depend upon how different your monitor color profile is from the image's color profile.
    For web publication and most general use, experts usually advise saving images with the sRGB profile.  If such images, saved through the Save for Web & Devices function, look different to you than you expect, it may be that your input images have previously been saved in another color space.
    You should really try to get your head around color-management by reading more on it.  It can seem baffling and it's difficult to understand without some background.  A quick web search turns up many overviews.  Beware, though, even people writing articles sometimes don't fully understand it.
    -Noel

  • On my Mac, after the installation i get this error when i start - Premiere Elements 13.0 has encountered an error. [/Adobe/pre/main/MediaCore/ASL/Foundation/Make/Mac/../../Src/DirectoryRegistry.cpp-283] any ideas how to fix this

    On my Mac, after the installation i get this error when i start - "Premiere Elements 13.0 has encountered an error. [/Adobe/pre/main/MediaCore/ASL/Foundation/Make/Mac/../../Src/DirectoryRegistry.cpp-283]"
    any ideas how to fix this, i don't know or haven't faound out how to contact Adobe supporet....

    Here's the contact link for Adobe support. It's just three clicks from the site's home page.
    Contact Customer Care

  • Why Cant get my Organizer to open on Photoshop elements 12 on my mac OS 10.6.8

    Why Cant get my Organizer to open on Photoshop elements 12 on my mac OS 10.6.8

    Pse 12 isn't officially supported on mac os x 10.6.8, but your able to install it.
    Mac os x doesn't have some of the updated/newer os features that the pse 12 organizer requires but the editor part seems to work fine.
    Also, camera raw 8.3 is the last camera raw version that will work on os x 10.6.8  and newer versions of camera raw or the dng converter won't be compatible accoording to what adobe has said so far.
    more info in this post:
    http://barbarabrundage.com/2013/10/08/pse-12-and-older-operating-systems/
    If your os x 10.6.8/computer is able to upgrade to mavericks os x 10.9, then you'll be able to use the pse 12 organizer, but if you have any programs that require rosetta to run you won't
    be able to use them any longer, because after snow leopard macs can't use rosetta

  • Calculating the actual value when creating the input schedule on BPC NW 7.0

    Hello Experts,
    I have One questions regarding the calculation when building the input schedule.
    the structure of this input schedule is like this:
    CV: App01-time-entity-account-version-p_datasource ...
                      Plan Value   Actual Value
    Project       1000
    In the backend of BPC ,The Actual value is retrived from other system using BW DTP function, and with the monthly based line item.  We build the BPC-mutiprovider by the actual value cube and the plan data cube.
    From the BPC Office view, we want display the actual value by aggregating historice data till the month which user selected in the current view. These actual data is just the reference for user when they input the plan data. so we dont want these data stored in the application or database.
    Can anyone give us some hints?
    Thanks a lot in advance!
    Best Regards,
    Vivi
    Edited by: Vivi Sun on Jan 19, 2009 1:12 PM

    Vivi,
    Were you able to accomplish what you were looking to do? I would appreciate if you could share that info with us.
    Thanks.

  • How to get the actual value rather than pixel value in vision assistant

    how to get the actual value rather than pixel value by vision assistant in my program.As shown in the figure            this is my programme   this is the result       But i want to get this result

    Check the documentation for the "ADF Dialog Framework"
    It may help
    Atilio

  • Cannot display the actual value of ClobDomain variable in jspx

    I have a custom table and three of its fields/columns are of type Clob and they contain xml data. To populate this table I used ADF Business Component and in my application these fields are defined as ClobDomain. Inserting records to this table works fine. When testing my application module or business component, actual data is displaying. However, when retrieving these data in my page, it is being displayed as wrapped object like weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB instead on the actual value.
    I tried to use the converter in my jspx and created ClobConverter class which implements Converter with the following code;
    public String getAsString(FacesContext context, UIComponent component, Object value) throws ConverterException {
    Reader clobReader = newClob.getCharacterStream();
    char[] buffer = new char[1000];
    StringBuffer sb = new StringBuffer();
    int nchars = 0;
    try {
    while( (nchars = clobReader.read(buffer)) != -1 )
    // Read characters from Clob into buffer
    sb.append(buffer, 0, nchars);
    // Transfer character to StringBuffer from buffer
    System.out.println("sb.toString(): "+sb.toString());
    clobReader.close();
    strClob = sb.toString();
    } catch (Exception e) {               
    System.out.println("Error Encountered."+e);
    return strClob;
    But even this doesn't help resolve the issue.
    Below are the details of my system:
    - Oracle DB Version = 10.2.0.4
    - Weblogic Server Version = 10.3.0.0
    - OSB Version = 10.3.1.0
    Please advise how to fix these problem.

    The output that I saw in the converter during runtime is a wrapped object which is weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB.
    In UI its data type is of ClobDomain since that is how it was defined in my ADF Business component entity and view object. But in the actual db table its data type is only clob. See below sample code taken from my jspx
    <af:inputText value="#{bindings.ErroreventView1Failedmessage.inputValue}"
    required="#{bindings.ErroreventView1Failedmessage.mandatory}"
    columns="120"
    binding="#{backing_edit.failedMess}"
    id="failedMess" readOnly="true" disabled="true"
    rendered = "false"
    wrap="hard" rows="10" converter="#{backing_edit.myClob}">
    <af:validator binding="#{bindings.ErroreventView1Failedmessage.validator}"/>
    </af:inputText>

  • How to mask the actual value from the user

    Hi,
    I am using Jdev 11..1.1.6.
    I created a table with query panel using a VO based on SQL.
    In one of my search criteria i need to show the values to the user as 1,2,3 in a Drop down.
    if user select 1 and clicks search i need to send different values for that particular column. i.e i dont want to show the actual value passed to user.
    Please some one guide me how to achieve this.
    Thanks
    Siva.

    Hi Arun,
    thanks a lot for the reply.
    Am actually new to ADF.
    Can u please explain for masking.
    i have created the LOV with mask value but i cant able to understand where this actual list is correleated with the mask value.
    A little more explanation could be very useful.
    Regards
    Siva

  • When my iphone4 is under the locked mode, ipod can only play two songs at most, and then the system collapses

    When my iphone4 is under the locked mode, ipod can only play two songs at most, and then the system collapses, the screen is black and responds to no commends,  not until I restart the machine. but the ipod function can work well under the normal mode, is it any hardware problem? thank Q!!

    Do you mean crashes?
    Try doing a full reset. otherwise it sounds like you might want to walk it into the nearest Apple Store and get an opinion there.
    Good luck in any case.

  • [svn:fx-trunk] 9127: Fixes bug in Slider animation where we would set the actual value during the animation , ignoring any snapInterval setting.

    Revision: 9127
    Author:   [email protected]
    Date:     2009-08-05 17:25:39 -0700 (Wed, 05 Aug 2009)
    Log Message:
    Fixes bug in Slider animation where we would set the actual value during the animation, ignoring any snapInterval setting. The fix uses the pendingValue property to hold the animated value, which makes the slider look correct, but no actual value update is sent until the animation completes.
    QE notes: None
    Doc notes: None
    Bugs: SDK-21776
    Reviewer: Hans
    Tests run: checkintests, Mustella (gumbo/components/Slider)
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21776
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as

    Revision: 9127
    Author:   [email protected]
    Date:     2009-08-05 17:25:39 -0700 (Wed, 05 Aug 2009)
    Log Message:
    Fixes bug in Slider animation where we would set the actual value during the animation, ignoring any snapInterval setting. The fix uses the pendingValue property to hold the animated value, which makes the slider look correct, but no actual value update is sent until the animation completes.
    QE notes: None
    Doc notes: None
    Bugs: SDK-21776
    Reviewer: Hans
    Tests run: checkintests, Mustella (gumbo/components/Slider)
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21776
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as

  • Why I get an error when running a sequence using the LabVIEW operator interface ?

    I have a simple TestStand sequence calling LabVIEW vis that is giving me an error when I run it with the .exe version of the LabVIEW operator interface and I set TestStand to run the vis using the 8.2.1 runtime engine instead of the development adapter. I made a change in the operator interface to open a vi programatically and get the value of a control, this vi is also used in the TestStand sequence I am trying to run. Could this be causing my problem ?
    Thanks

    Hello Verdulken,
    I have a few additional questions:
    Does your application function correctly when running the LabVIEW operator interface you have created as a VI in the LabVIEW development environment (i.e. does this problem only occur when the LabVIEW operator interface is run as an executable)?
    What is the error that you are receiving?
    Regarding the VI that you open programmatically, do you open it in a visible manner (i.e. use the Show front panel when called option from VI Properties)?If so, do you also close this VI after it finishes (i.e. use the Close if originally closed option from VI Properties)?
    Does the error occur on the step that calls this very same VI again later in the sequence?
    Does your application function correctly if you use the development adapter for all of your calls?
    Thank you in advance for this information,
    Matt G.
    National Instruments
    Applications Engineering

Maybe you are looking for

  • TO IGNORE A HEADER IN A FLAT FILE (SENDER) XI

    Developing a solution XI in file-jdbc cenario and the file is a flat file with header line  and various detail lines. I need to write  the jdbc table ignoring the header line of the flat file. How can We do this? Someone can help me? Thanks and regar

  • Error: Sender agreement not found, lookup of binding via CPA-CACHE failed.

    Hi, I am doing an RFC to File Scenario in which RFC has to be triggered from CRM system. The TCP/IP connection and communication Channel are working fine. But when i trigger my RFC using the RFC destination following errors occur: 1. The SYSTEM_FALIU

  • Plain user and systemd: dependency failed for local file system

    I tried to switch to systemd, but ended up in a maintenance console (Enter root password or Ctrl-D to continue): Enter password. journalctl -b as suggested yields "Dependency failed for local file system". I couldn't find a systemd troubleshooting pa

  • Apps keep on crashing on my iPod Touch

    Recently a lot of apps are crashing on my iPod . I tried closing background apps , restarting the iPod Touch 4g. But anything is not working. Facebook app is not opening even for a moment. When i click on it. It loads and crashes within seconds. Plea

  • Yet Another modelsUnderRay Problem!

    Hi, I've seen a few posts about using the modelsUnderRay for collision detection but none of them have seem to help me. I've got a complex scene and adding collision detection to my character. However for some reason director crashes when I render th