CRIO DMA FIFO transfer Issue-Voltage not coming to correct channels

Hi All,
Using crio 9073 and NI 9205, I am transferring Data (Channel data type = FXP, Word length 37 bits, 16 bits and FIFO also same data type) from FPGA DMA (Requested No of elements configured in FPGA is 16383) To RT DMA (Requested number of elements in 32744)
FPGA notes:
Total channels =16 (Differential mode)
Loop time of FPGA =20 ms (Per read 20 samples from each channel, so 320 samples per iteration)
RT notes:
SCTL=running at 10 ms where DMA transfer happening do that check remaining elements and then do DMA as well.
Issue:
When I run the code in above scenario, whatever different voltages given to 4 channels (loop backed 9263 to 9205, fpga interactive mode and only giving 4 channels voltages now just for testing) and i do DMA in RT side, decimate the 320 data and i found Channel 0 voltage given in FPGA is not coming in 0 index of the decimated array in RT DMA read data, instead Channel 0 voltage is coming in Index 7 of the RT DMA read data.  Channel 1 coming at index 8...vice versa… Seems, some data shifting happening.
But in FPGA i could see correct differential voltage coming to correct channels (Ch 0 is 1.4 V ,FPGA indicator shows me correct voltage at index 0 a 1.4 and vice versa)..
Please suggest me why this is happening and what is best way i can get correct channel voltage data in RT based on my above conditions.

This is how I do where I need to only measure continuos analog values through FIFO. I don't use calibrated analog channel. I use raw analog channel and do calibration in host VI. I have attached screenshot of my code. I put 123456789 check sequence in build array function in FPGA VI.
If I want to read 2000 samples then I keep FIFO 4000 at host side.
I keep sample count in multiple of no. of channel. In my code build array has 3 element so I read 3*X. where X number of sample required per channel.
If you don't understand from code let me know.
PBP (CLAD)
Labview 6.1 - 2014
KUDOS ARE WELCOMED.
If your problem get solved then mark as solution.
Attachments:
FPGA VI.jpg ‏205 KB
FPGA 2.png ‏92 KB
Host VI.jpg ‏168 KB

Similar Messages

  • Mapping Condition issue, Value not coming in multiple segments.

    Hi All,
    File to Idoc scenario.
    My file looks like below.
    HD 89650 28/01/11 "Presciber tan"
    AF "disc-rsn"
    RK "007287001" A
    KE disc-code "007287"
    KE addr-num "001"
    DF w-phone "03 98483299"
    AF "drs"
    RK "007287" A
    KE dr-num "007287"
    DF affil "OPSM"
    DF country "0"
    AF "disc-rsn"
    RK "dr-addraddress-1 17287|1EN" A
    KE disc-code "008287"
    KE field-name "address-1"
    KE element " 1"
    T         16
    Condition:
    I have a condition where I need to create an Idoc segment Z1disc when row - "AF "disc-rsn"" exists.
    For the filed "Z1disc-CODE", I need to pass the value when row "KE disc-code" exists,
    Result:
    From my file, AF "disc-rsn" exists twice, so I created 2 Z1disc segments.
    Coming to the field "Z1disc-CODE", the value "KE disc-code" exists twice in the file. After mapping, the value is coming only once in the first segment. The field "CODE" is not coming in the second segment like below.
    Idoc
    -- Zdisc
    --- Lang -- E    
    --- Code --  "007287"
    ---Zdisc
    Lang -- E
    When the check the display queue, it is showing like below
    SUPPRESS
    007287
    007287 -- (Context)
    008287
    008287-- (Context)
    It showing correctly from display queue, but the value are not populating except in first segement.
    For your information, After content conversion, my source xml will look like below.
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_Optum xmlns:ns="http://luxottica.com/SAP_CRM/DirectSales/OptomDiscount">
    - <RecordSet>
      <Row>HD 89650 28/01/11 "Presciber tan"</Row>
      </RecordSet>
    - <RecordSet>
      <Row>AF "disc-rsn"</Row>
      </RecordSet>
    - <RecordSet>
      <Row>RK "007287001" A</Row>
      </RecordSet>
    - <RecordSet>
      <Row>KE disc-code "007287"</Row>
    Kindly help me, I'm trying all the options and it is not working.
    Is there anything I need to change in Source structure?
    Thanks
    Deepthi.

    Hi Aravind,
    Here is my Source message.
      <?xml version="1.0" encoding="UTF-8" ?>
    - <MT_XIOptum>
    - <Header>
      <HRow>HD 89650 28/01/11 "Presciber tan"</HRow>
      </Header>
    - <Detail>
      <Row>AF "disc-rsn"</Row>
      <Row>RK "007287001" A</Row>
      <Row>KE disc-code "007287"</Row>
      <Row>KE addr-num "001"</Row>
      <Row>DF fax-num ""</Row>
      <Row>DF in-out "I"</Row>
      <Row>DF phone-2 ""</Row>
      <Row>DF post-code "3108"</Row>
      <Row>DF provider-num "4349201J"</Row>
      <Row>DF rec-stat "A"</Row>
      <Row>DF w-phone "03 98483299"</Row>
      <Row>AF "drs"</Row>
      <Row>RK "007287" A</Row>
      <Row>KE dr-num "007287"</Row>
      <Row>DF affil "OPSM"</Row>
      <Row>DF country "0"</Row>
      <Row>DF descript "KK"</Row>
      <Row>DF rec-stat "A"</Row>
      <Row>AF "disc-rsn"</Row>
      <Row>RK "dr-addraddress-1 17287|1EN" A</Row>
      <Row>KE disc-code "008287"</Row>
      <Row>KE field-name "address-1"</Row>
      <Row>KE element " 1"</Row>
      </Detail>
    - <Trailer>
      <TRow>T 25</TRow>
      </Trailer>
      </MT_XIOptum>
    Row> -> [removeContext] ->[ equalsS "disc-rsn" ] -> [createIf] -> <Zdisc>
    This Part is working.
    <Row>> startWith2>IF
    KE disc-code-->THEN > removeContexts>SplitbyValue>SUBSTRING>Code.
    When I check the display queue at Code. I'm getting the below values.
    SUPPRESS
    007287
    007287 -- Context change
    008287
    008287-- Context Change
    Only 007287 is displaying in FIrst segment "Z1Disc" and second value "008287" not coming in second segment "Z1Disc".
    Anything is wrong?

  • Workflow Issue- Value not coming in BUS2032

    Hi
    I am creating a Workflow for Sales order. In USer Exit , i am calling FM "SAP_WAPI_CREATE_EVENT" to trigger the custom workflow with event TRIGGER created in BO ZBUS2032 which is delegated to BUS2032.
    In Workflow Trigerring Event , I am binding._EVT_OBJECT with BO- BUS2032 and created BUS2032 a workflow container.
    When i am triggering the workflow , Workflow is getting trigerred, But nothing is getting passed to BUS2032 due to which Workflow is not coming in Workflow Overview of Sales Order but workflow gets trigerred via SWIA and if i check workflow container values at runtime - BUS2032 is blank.
    Can you please advise.

    Hi Silky,
    Did you debug and see.Check this documentation on this from sap-img.Check this and post.
    http://help.sap.com/saphelp_40b/helpdata/fr/fb/135de9457311d189440000e829fbbd/content.htm
    Regards,
    Madhu.

  • CS5 - TOC not coming in correctly

    I have a document where the TOC is not coming in according to the document layout. Sub-headers are out of order (based on placement in document) and I have sub-headers showing up under Headers they don't belong.
    I have removed all sub-headers and re-inserted them. I have removed all instances of Anchored Objects. Neith fixed the problem.
    Any help would be greatly appreciated!
    Thanks ~ Karyn

    Since the TOC is based on styles, make sure you don't have any styles that are mis-applied. One way this can happen is described as follows:
    Here's a screenshot of a fake document with a few styles and a TOC. The red is the title, which I want in the TOC, and the green is the subtitle, which I don't. I have the cursor set on the subtitle, which you can see in the paragraph styles pallet.
    I have built the TOC that you can see in the first screenshot with the specs you can see in the second. I have a style for the Title (red) Subtitle (green) one for the TOC head,  one for the TOC body and Basic Paragraph for the body (which you really don't want to use, by the way, which I can explain if you need). The title style is the only one that will be gathered for the TOC entries.
    Here, I have deleted the paragraph return that separates the title from the subhead. This can sometimes happen if you aren't careful. Notice that the style is listed as Title, but the text retains the look of the subhead.
    Here, I have put the paragraph return back, but notice that the style still reads "Title" (but with the + that indicates local overrides). By removing the paragraph return, the Title style is applied to the subhead, because they were part of the same paragraph, and you can only have one paragraph style for any given paragraph. Hitting the return key hasn't changed the style, so it's still set to Title, and the + shows because the local overrides weren't stripped out by combining the paragraphs. You might not even notice visually that anything has changed, except in this case, I have used a space-after on the subhead that is missing on the title.
    Now, when I re-generate the TOC, the subhead is included, because even though it looks like the subhead, it's actually the title with local overrides. By re-applying the subhead style to the subhead while holding the Option key, I can remove the local overrides and apply only those aspects that I have defined into the style itself. This can also be done from the fly-out triangle of the styles pallet to any text that is selected with the type tool, or to any text within text frames selected with the Selection tool (and probably for the whole document with a script, but since I don't write scripts, I can 't say that for sure, but probably).
    Now that the local overrides are removed, I can re-generate the TOC once again and only show the title. This may not be what is causing your TOC to fail, but you might want to go through and see if your styles are applied correctly and then generate your TOC again. It's usually best to avoid local overrides when possible, and not at all if it's practical.

  • Report designer issue:data not coming

    Hi Folks,
    I have an issue with bex report designer.
    The thing is i have created a query in query designer and that is my data provider for report designer.
    I am applying some formatting rules and executing it.
    The problem is i am not geting any records except the fields.
    Could anyone help in this regard.
    Regards

    HI,
    There are different sections in a Report Designer. G0Header, G1 Header, Det, G1Footer, G0Footer
    G0 Header: Contains only the labels of the feilds that is displayed on the top of every page.
    G1 Header: is a level 1 header which is displayed Beneth the Group0 Header
    Detail: will display the values of Query Elements(Key/Text) placed in this section.
    G1 Footer: Will be displayed once for each G1 Header that is displayed. This Can have the totals.
    G0 Header: Will be displayed at the end of the page. The footer can have page nuber or totals.
    For Example:
    To design a simple report having Distribution Channel and Sales Amount. The report can be designed as
    G0 Header: [Distribution Channel].Key [Distribution Channel].Text [Sales Amount]
    Detail: [Distribution Channel].Key [Distribution Channel].Text [Sales Amount].Val
    G0 Header: [Result]                                                                [Sales Amount].Sum
    Thanks,
    Saranya

  • Images won't upload and a lot of sites are not coming up correctly or at all

    I have been having issues for a couple of weeks uploading images to Facebook as well as other sites that I use for business, like CreateSpace. Two days ago I discovered a website that will not come up at all on FF, tpgoffice.com. I prefer FF as I am a web designer. I have been forced to use the dreaded IE many times over the last month though.

    Which security software (firewall, anti-virus) do you have?
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • Attachments are not coming through correctly on th...

    for some reason, all of my attachments that come through on my n900 are winmail.dat files instead of the actual pdf/doc/xls, etc.
    anyone have an answer for that one?  or, having the same issue?

    Billakos wrote:
    Delete your e-mail setting and mailbox from the N900 and re enter them.
    Reply if problem is solved.
    yeah, did that, and just to appease the willingess for you post, i did it again, but still the same.
    wierd, i have recieved a couple of email that have jpg files in them and they were fine.  but the large majority are coming through as winmail.dat files.  this includes what are supposed to be pdf's/doc/xls, etc.
    maybe next firmware.
    hope it comes as a christmas present from santa's usb cable! 

  • KP26 : Prices are not coming out correctly

    Hi Gurus;
    My client is having some problem with Activity Price Calculations through T.code KP26. The Client didnu2019t have this issue before the upgrade to ECC 6.0. Client actually wants to make the price uniform for all the months. Please refer below for what we need:
                                               Jan      Feb      Mar      Apr     u2026     
    What is needed:               47.96   47.96   47.96   47.96         
    What's happening now:   46.48   46.49   50.91   44.27
    Client is of the view it is because of the default value 1 in the equivalance no. column. Sap has set the default value as 1 for the column and the client is not getting the desired output. Is there any way of making this price uniform?
    Regards;
    Sumanta

    Hi,
    Equivalent # coloum will not have any impact on that. This seems to be a unique problem after Upgrade.
    Suggest to open OSS message its a program error.
    This may help
    Regards
    Shantanu

  • Adapter type is not coming in Communication channel

    Hi all,
             I am facing a problem while creating a communication channel as i am not able to see any adapter type and its showing as non editable field  .
    i have cretaed my own software component in SLD  am i missing something in SLD configuration ??  because of that  i am not able to see any adapter over there .
    regards,
    praveen

    Praveen,
    You need to import SAP BASIS Software Component Version into Integration Repository.
    You need to download it from service market place.
    https://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
    In Search Term Enter "SAP BASIS <version>".
    Now click on XI CONTENT SAP_BASIS 7.00 -
    > Database independent -
    > SAPBASIS13_0-20000888.ZIP Just save this file on your machine and unzip it.
    Now put this in the import directory: \usr\sap\<SID>\SYS\global\xi\repository_server\import\
    In IR, TOOLS ---> Import design objects and import it.
    Regards,
    Sarvesh
    ***Reward points for helpfull ans, in your last thresd you did not assingned points to any buddy.

  • Why are photos received as attachments not coming in correctly?

    I am sending photos from my MacBook Pro using Lightroom 4 and a gmail account. I'm sending them to an aol account and trying to open them on my new iPad (3). My sent mail shows that 3 different photos were sent, but my received mail shows the first photo all three times. It seems like there is some kind of problem with the iPad not recognizing the 2 additional photos.
    I have tried changing subject lines, clearing cookies and cache, and restarting the iPad.
    This is really frustrating!! Any help would be great. Thanks.

    What size book? This has been reported doing extra large books - it has been reported to go away when the book size is reduced to large
    Report to Apple - iPhoto menu ==> provide iPhoto feedback
    LN

  • Layered .PSD files not coming in correctly?

    I select an object in PS and copied it to a new layer, and did nothing more to the image. So now the image consists of the object on a new layer separated from the background image. I save the file as a .PSD, and bring it into Premiere CS6 with the option to import as individual layers. Now when I bring both images into the Timeline to reassemble the image, they do not line up! The object that I selected, copied and placed on the new layer does not line up with the one behind it. It displays down and to the left of where it originally was. I also tried this by making a selection in PS and cutting to a new layer instead of copying and had the same result. What am I doing wrong?
    Thanks!

    Is the PSD 8-bit RGB? Was it made on a Mac or PC? Are each of the layers rasterized or in bitmapped form?

  • JCO Destination are not coming in Content Administrator

    Hi Team
    I have created one Development Component in Local Development and imported an RFC. The JCOs used are standard WD_MODELDATA_DEST and WD_RFC_METADATA_TEST.. The JCOs are already configured and tested fine.
    When I am running the application it is giving error JCOs are not maintained. When I have gone to Development component in Content administrators. There are no JCos present in JCO Connections tab.
    While in other Webdynpro project JCOs are present under JCO Connections tab.
    I am working in SAP EP 7.3 ....
    Please suggest what can I check.

    I have used the old Adaptive rfc deprecated method now the issue is not coming... The JCOs in ARFC2 method should be maintained some where else.....

  • Has anyone had issues with their itunes not coming up?

    Has anyone had issues with their itunes not coming up?  I keep getting error message 13014.  I just bought a new classic ipod and am not sure if this is the problem.

    Hi
    Your new iPod has certain operating system requirements. Does your iMac meet those requirements?
    http://www.apple.com/ipodclassic/specs.html
    3rd Column on the right hand side, about a 3rd of the way down. To find out which version of iTunes you have, launch it and select "About iTunes" from the iTunes menu.
    HTH?
    Tony

  • Data transfer from RT to FPGA using DMA FIFO

    Hello all,
    My question is "How do you stream data from RT target to FPGA target using DMA FIFOs?"
    I would like to control some indicators (or controls) in FPGA vi using controls in the RT vi using DMA FIFO.
    I have used four controls in my RT vi, but I get only one indicator out on my FPGA vi. (I would actually like to use some controls on the FPGA target using controls on the RT target)
    Is this possible?
    Can anyone help me with this?
    I have attached my vi s. 
    Attachments:
    fpgatest.vi ‏28 KB
    rt_test.vi ‏73 KB

    Based purely on your example, I see two options:
    1. Do as RavensFan suggests and use Boolean Array To Number to send a single number down to the FPGA.  Your FPGA can break up the number easily enough to update the indicators.
    2. Just write dirctly to the indicators.  I do not see a need for the DMA.  Again, based purely on your example.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Finder windows not coming to front and other issues

    Hey Guys,
    I've been having some issues with finder not coming to the front when clicking on the Finder icon on the dock, like it used to.
    Also, if I have a finder window on the front, and I click to an application behind it, the application doesn't come back in front again.
    Anyone else having these issues, anyone know of a fix? Not sure if it's related, but in the force quit window, finder is shown twice?
    It's happening on both my macbook pro and my mac pro, both running mavericks.

    Do you have StuffIt Deluxe installed? If so, see this thread:
    http://discussions.apple.com/thread.jspa?messageID=4195602
    What is happening is that your Finder is crashing.
    Francine
    Francine
    Schwieder

Maybe you are looking for