Data Transfer b/w Target and host using DMA FIFO's

Dear NI,
     Am facing a problem while writing data into the DMA in the Host environment,
Steps i did:
1. Invoked the FIFO in the Host environment.
2.Connected it to the VI reference.
3.Configured the DMA Depth.
4.Started the FIFO.
5.An Array is initialised and adata is fed into Array using the File operations.
6.and the DMA is read in the Target VI.,
In the Above process, i attached a indicator to the DMA while reading in the Target environment,
but i could not observe any activity,
if some one tried please let me know the procedure to do the same,
am attaching the Host VI for reference
Attachments:
host.vi ‏172 KB

Hi Kalyansuman,
 Good afternoon and thanks for your post.
I would again like to stress you must keep your post in one place on the forums. Now lets discuss your problem!
I am confused about what your trying to acheive. You want to read and write data from the FPGA?
Then normal setup is to open a FPGA VI reference, then do the read/write and close the reference outside of the loop.
 If
then require to do this twice, I would have two loops. (but use the
same references), then merge the error clusters, and the use a single
close FPGA reference. 
The reason why your DMA may not be working:
1) Have you tried them on their own (just a read for example)?
2) Have you taken a look at the examples in NI Example finder? They have two which show how to implement FIFOs.
3) Is this a cRIO or an R-series board?
Any more clarifcation would be great. For example,do you get an error? what do you mean by no activity?
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help!

Similar Messages

  • Data transfer b/w SAP to Java using IDOC and Interface SAP Jco

    Dear Experts,
    The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
    For this data transferred we are planning to use IDOC process and for interface "SAP Java connector (Version 3.0.5)" we are planning to use. As per our understanding, from Java side one program needs to be written to connect with SAP as "Registered program". This registered program will appear in SAP GATEWAY automatically and using tRFC, TCP/IP connection both SAP and Java system will be connected.
    In this case we are having some doubts.
    1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
    2. We are planning to install "SAP Jco" in Java server. Is this correct...??
    3. Other than SAP Jco any other softwares needs to be installed or not..??
    4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
    5. Any sample Java program for the SAP Jco version 3.0.5 to create the "Registered program" with SAP..? (e.g. SAP Listener program).?
    If anybody has detailed steps or explanation please share it with us.
    Thanks in advance
    Warm Regards,
    VEL

    Hi All,
      For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
    When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
    Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
    Regards,
    Velmurugan P

  • 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

  • I Have a iPhone 4s and I keep getting this error "Could not activate cellular data network" I have sprint and to use any internet om my iphone i have to connect to wifi. What do i do to fix my celluar connection. I took my sim card and put it back in.

    I Have a iPhone 4s and I keep getting this error "Could not activate cellular data network" I have sprint and to use any internet om my iphone i have to connect to wifi. What do i do to fix my celluar connection. I took my sim card and put it back in and it still didnt work.

    Davidb24 wrote:
    Ok but im not the one who pays tge sprint bill
    Apparently, no one pays it... That's why they shut off your service.

  • Data transfer between SAP & Java and Vice versa using IDOC Process

    Dear Experts,
            We are working on one of the good requirement related to data transfer between SAP and Java software. Client requirement is, they want to transfer the data in both the ways (from SAP --> Java and Vice versa also).
    In detail is, after sales order creation using one custom program loading plan details will be calculated. Once loading dates are confirmed then, user will release the sales document to transfer the data from SAP to Java using "Outbound IDOC processing". Similarly in that JAVA software some shipment details will be performed, once completed from JAVA software again details needs to be pumped back to SAP as "Inbound IDOC Processing".
    For this fields are already identified from external software SAP and we are looking for the same to perform the steps in SAP.
    At this stage, I need your expert opinion  / feedback how to go  about at this stage.
    Meaning,  
                     1. What are the customizing steps needs to be done in SAP..?
                     2. How to trigger the :Outbound IDOC process" once the documents are "Released" from custom transaction
                     3. How to create the link between SAP and JAVA to transfer the data between these 2 software
                     4. How to trigger the "Inbound IDOC Process" from JAVA software to SAP and how to store the data in SAP
    Experts, please give your feedback in terms of reply or by sending the step by step process to fulfill this client requirement.
    Thanks for your cooperation.
    Regards,
    Ramesh

    Maybe too many open questions in the same document.
    Maybe you should repost a more specific question in a technical forum.
    This looks like a small project where you already know what you want, maybe you should contract a technical specialist so he proceeds to the implementation!

  • Data transfer from old to new Palm using HotSync Manager and iSync

    I'm upgrading from a Palm m515 to a Palm TX and want to quickly and easily transfer all of my data and applications. I'm using Palm's HotSync Manager but not the Palm Desktop software -- I'm using Apple's iSync to synchronize my data with iCal and Address Book.
    Can anyone tell me what steps I should follow to safely accomplish the transfer?
    I was hoping someone had written a guide to this, but Web searching revealed nothing. The best info I found was on Palm's site, but these pages don't take iSync into account and assume people are using Palm Desktop:
    Upgrading from a previous Palm OS handheld
    http://kb.palmone.com/SRVS/CGI-BIN/WEBCGI.EXE?New,Kb=PalmSupportKB,ts=Palm_Exter nal2001,case=obj(12926)
    Palm TX upgrade guide
    http://kb.palmone.com/SRVS/CGI-BIN/WEBCGI.EXE?New,Kb=PalmSupportKB,ts=Palm_Exter nal2001,Case=obj(40720)
    Thanks in advance!

    Just use Migration Assistant when you start the new machine. You can choose to migrate from either the old MBP or your TM backup.
    If you have already taken delivery of the new machine and are using it you can still do this by running Migration Assistant.
    It's pretty simple process.
    Roger

  • Difference in data transfer rates between winXP and Linux server?

    Hello all,
    I am using a winXP laptop to act as my server (all usb external hard drives are connected to it) but the data transfer rates can be really slow. Is Linux faster in that regard? Can a Linux based server provide faster data transfer rates?
    Thanks for any help.
    Bmora96

    Linux cannot make hardware go any faster - so if WinXP and its drivers are making optimal use of those USB drives and the USB data transfer pipe, Linux will not make it faster. (but installing Linux and going Tux are always excellent ideas that need no real reason either ;-) )
    Real question you should be asking is if using a notebook in a server role is wise thing to do?

  • Data Transfer methods between FPGA and RT

    I have 10 values that I combined into a cluster that I want to send to the RT controller.  The problem is if I just the read/write FPGA, I only get 1/10th of the data.  I am assuming that it is the time taking to transfer from FPGA to RT.  So I looked into DMA FIFO.  When I use this, I do capture the data, but I notice jumps/shifts in the data.  It's almost like the buffer fills up, and then dumps it at the last sec. To reduce this, I went from 10 values from the cluster to 2, and there were not shifts/jumps.  The problem is I need all 10 values.  So I'm wondering if I need to increase my DMA FIFO or if there is another meathod I need to use like Shared Varibles? 
    Thanks,
    guilio

    The one thing I still don't understand is what you mean by this "jump" in your data. Can you be a bit more specific about this? What I mean by jump.  The elements coming from the FIFO in the RT controller will display on my array visual aid normally.  Then you will see the data jump. Here is an example.  I am bringing out 3 elements, X Y Z into an array.  I'll read lets say 9 elements at a time.  So my array, after I transform it into a 2D array for saving will look like this.  [x y z;x y z;x y z].  At some points in time, the array will jump and look like this. [x y z;z x y ;z x y].  Then it will go back to how I expect it to look [z x y;x y z;x y z].  Right now, I am reading ~3000 elements.  The elements remaining depends on what else is going on.  If the visual aids are deleted, then elements remaining will never max out and thus, I won't get jumps.  If I put visual aids in, then I get jumps because elements remaining maxes out.  This leads me to believe that the FIFO is filling up and since it can't release all the information fast enough, then it just dumps it and fill it up again.  The weird thing about it, It doesn't happen in a pattern (every 3000 elements).  I tried putting them in seperate loops, it still slows things down.  I tried queing/dequeing, still slows it down.  I need to be able to read all elements fo all 3 DMA transfers at once.   Maybe it will help us locate the problem.  Otherwise, your DMA FIFO looks OK.  Can you verify the number of times your data is written to the FIFO from the FPGA? When I put a clock in to measure loops speed, it was showing 8-9us.  I can't have this no more than 10us or I will missed data. I would like to see a definite count of this.  Then on the RT side, what does the "Elements Remaining" output look like?  As before, elements remaining depends on what else is going on.  If I just have the DMA FIFO's, then I can adjust the read elements number so all three don't max out, but as soon as I put something else in, it will max out.  Since this is a FIFO we should be able to keep very close track of elements in and out.
    Let me know if you need more info.  I know about the FXP point transfer, unfotunately, not all my FXP elements are the same data type.
    Thanks,
    guilio

  • Data transfer from 4.6C to ECC6 using bcp

    Hi experts,
      Is there any risk to use bcp transfer customized tables(Z*) beucase I find using R3trans is too slow and I have data volume about 65GB(compressed). I think it takes me about 3-5 days to import. And I use bcp -n, would this cause any data inconsistence?

    Yes, it's OK.

  • How do I transfer my iTunes apps and songs using my apple ID to our main computer which already has my husband's apple ID on

    I have iTunes on an old laptop with my own apple ID for my iphone and ipod.
    My husband has iTunes on our main computer with his own apple ID for his iphone and ipod.
    I am shortly purchasing an iPad using my apple ID.
    How can I transfer my songs, apps and videos from my iTunes onto the new computer using my apple ID, not his. 
    Is it possible to create a new account on his iTunes?
    How do I ensure all my apps and songs come over from my iTunes?
    I have searched on here and online but have not been able to get an answer.
    Thanks

    Thanks
    Are you sure that if I use my windows log in rather than my husbands, then open itunes it won't delete all his hundreds of songs and overwrite with mine? 
    I want to maintain my own apple ID login and he wants his but without losing his songs.....
    how do i transfer the content of my itunes including apps and songs to the new computer.  There doesn't seem to be an easy explanation on here. Do I just plug my iPhone in and it will all transfer?

  • Load data to a modified InfoCube and ODS used in Production

    Hi,
    I have added few fields (InfoObjects) to the cube(s) and DSOs in BI 7.0. These Cubes and DSOs are BW 3.5 Objects and are in-use in Production.
    My question: After I transport this new/enhanced InfoCube and DSO from Dev/Qua to Production, how to retrieve the old data from original Cube/DSO and populate data to new fields at DSO and Cube level.
    Please advise.
    Thanks,
    ~S

    Hi Siddhartha Nayak
    As ur enhanced the IC & ODS which r 3.x objects, i guess u havn't used the remodeling tool. Then u have to follow the old procedure to enhancing the cube.
    Create a copy cube , Delete the contents of existing cube, enhance it & load the data to existing cube back from copy cube.
    Same thing u have to follow in ur case also.
    Regards,
    Shaiksha.

  • Data transfer fro Siemens VFDs and labview software

    How can i do data transfer from Siemens VFDs which is having profibus port to labview software?

    Start looking here.
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/global/lang/en/pg/1/q/profibus/

  • Data transfer of BP with Vendor details using the EDT tool - BP_XDT - KCLJ

    Hi All,
    I'm trying to use the EDT tool with transfer type 15 to upload a BP into R3 with Vendor details.  I've successfully created the BP and Vendor, however I was looking to extend the migration to include purchase org data, unfortunately I couldnu2019t see any of the LFM1 type fields on the BUS_DI structure.
    Has anyone used this tool to upload this kind of data? If so how did you do it? 
    Also I've seen a OSS note 510095 which talks about how to extend the structures used by the tool, however this always seems to cause a short dump.  Has anyone applied the instructions and had a successful outcome?  Once again if you've done this could you please share your experience?
    Kind Regards,
    Hiten Mistry.

    Hi
    I am having the same problem. how did you eventually resolve this?
    christopher

  • Data transfer between C client and Java server

    Hello there
    I am working on a project where I have to develop a Client based on C and Server based on Java. The client can connect to Java server and it then sends a integer/string to Java server. But.. Java server unable to receive that and throws an IOException.
    I use write method to send the integer buffer to the socket.
    int out_buffer = 0;
    int *pbuf;
    pbuf = &out_buffer;
         if (write(acskfd, pbuf, 4)< 0){
                   syslog(LOG_ERR,"Write failed. %s(%d)", strerror(errno), errno);
                   printf("\tCLIENT:\tWrite failed\n");
                   exit(1);
    In Java, i use DatainputStream and readnInt method to read the integer from the stream.
    cl_sock = socket_out.accept();
    DataInputStream sInput =new DataInputStream(cl_sock.getInputStream()) ;
    int cmd = sInput.readInt();
    Am I missing someting.. Any suggestions would be really really helpful.
    Thanks
    Ithaca
    PS: I running both programs in the same machine.
    In C part, I also use host to network byte order conversion (serv_addr.sin_port = htons(portno).

    I would suggest writing a Java client to perform the same tasks as the C client.
    Then if the Java client does, or does not work this can help dteremine which end is at fault.
    Are you flushing your data from the client?

  • Data Transfer between AS400(Linux) and Oracle(Windows Server)

    Hi,
    We have AS400 system which resides on Linux architecture.
    We want to transfer millions of records from AS400 to Oracle which resides on Windows server.
    We think to build Odbc connection on windows machine and accessing to AS400 data from this connection.
    But I am not sure the performance of this approach.
    I would be glad if you share your experiences.
    Regards & Thanks

    Hi,
    ODBC is generally pretty slow in my experience - your alternatives are probably one of the following
    1) use odbc maybe with heterogeneous services on top (this allows you to have a database link directly from oracle to db2)
    2) use a transparent gateway - similar to 1) but has more functionality and will have a licence cost
    3) write some c/java program to do it
    4) dump the data to a flat file, transfer to windows, sqlldr that file in
    It all comes down to how good the performance needs to be (ODBC may be good enough) and how much effort needs to be put i to other approaches.
    I suggest you just give odbc a try, if it looks like its not up to the job then consider alternatives. In the past we've used option 4 for this kind of thing but it is very dependent on the environment you are running in (amount/type of data, speed of network etc).
    Regards,
    Harry

Maybe you are looking for

  • Tcode to enter text in the front screen

    I wanted to change the front screen display and the picture when i login to the system It is like , whenever a user enters the page of entering username and password to login to sap system, it should contain some text to the right side. After logging

  • WM & HU...

    Hi Experts, I am working for a project composite manufacturing company.  Around 2 year back SAP has implemented and now they require a warehouse management module. Already they have batch managed materials,  Please guide me how to process further.  A

  • Horizon View 6.1 and Windows 2012 as Desktop OS

    Hi Community, we are currently running a PoC for Horizion View 6.1. Various reasons  require to use Windows Server 2012 r2 as guest os, afeature which should exist in 6.1 according the release notes. When trying to create a linked clone pool with a w

  • NIDAQmx Driver Performance

    Hello All, I would like to program a DAQmx analog output generation task into a SubVI, however I am concerned about performance.   The SubVI task would synchronize two PCI-NIDAQ cards via RTSI with a sampling rate of 40khz.   Dev1/ao0 would generate

  • Why does my CC APPS says DOWNLOAD ERROR?

    I just reactivate my CC account since that nasty payment problem with Adobe , but after updating the CC widget in my mac I just noticed that the APPS tab shows an error , so I can not download or update any software. And when I clic the Download butt