Data of Downcasting DMA from U8 to U16

Hello world

I have a situation that I hope someone can shed some light on. Currently I have a FPGA design that collect data highspeed made some treatment on it and spits the results on DMA to read out and record the host TDMS files. Currently I read 4MB worth of data the DMA I16 every 25-30 ms, the current design is able to keep up with the flow of data very well. My next task is to allow the FPGA to collect the same type of data, with the same treatment, only provide data at the I8 format, which means one of the following design decisions:

1 - keep the FPGA code/FW and cast of I8 data on the host side.

The disadvantage of the first option is the high data rate. I did a stable mark with a couple of different methods to do the I16 to I8 cast (number of Split, I8 cast and Typecast). Needless to say that the Typecast was too slow for my operations on average about 35-40 ms to mount the 4 MB with a value of information I16 to I8. The number of split and I8 mount both came with an average time of about 15ms, but with a maximum time of 23 Ms. these time were obtained with a system with a load very little, which is not the case on the final design.

2. develop/compile a new FPGA VI that does the same exact except convert data into I8 on the FPGA and send on a defined DMA with the data type I8.

The drawback here is that he had to maintane two versions of the FPGA code as well as two versions of the driver code, it's like the DMA used to transfer the data changed I16 to I8 data type that prevents me from using a dynamic refrence when using with the FPGA.  I also use all available DMA channels on board so I can't declare the I16 and I8 DMAs and read one on the driver's side.

My question is, is there an inexpensive way to make the cast operation on the host side? It has been mentioned that LV FPGA use U64 to transfer the data internally and only casting for the necessary type of data at the end, is it possible to take advantage of this operation to get it to cast a data type different from the driver's side, if this is true? If not is there a fourth method of doing the casting which is cheaper? other ideas are welcome.

Sorry for the long post.

Update your FPGA to be configurable either Pack I16s or I8 in its flow DMA, in this way, you have an FPGA to maintain and you have a flow reduced by the configured I8 FPGAs (i.e. half of the DMA values must be sent).  Send your DMA values to always be a multiple of I16, so you can easily Pack and unpack once they get in the TDMS files.  The side host always receives the same element (e.g., I16) DMA and doesn't really care that in some cases, it contains two I8s.

Tags: NI Software

Similar Questions

  • Thank you for contact I can not access my ipad air disable I try to reboot same issue pleas help me I have a lot of data in the air from my ipad

    Thank you for contact I can not access my ipad air disable I try to reboot same issue pleas help me I have a lot of data in the air from my ipad

    Here you will find a way how to activate your iPad If you have forgotten the password for your iPhone, iPad, or iPod touch or your device is disabled - Apple supports

  • data can be recovered from a crashed hard drive?

    Date can be recovered from a crashed hard drive?

    By a service such as DriveSavers.

    (142445)

  • I'll lose data if I move from MS Money 2004 MS Money Plus sunset?

    Have Windows XP and using MS Money 2004 for years.  You want to upgrade to MS Money Plus sunset, but wonder if I lose all my old data.  The new version replaces the old version?  I'll still be able to get into my old records?  Thank you.

    original title: Will I lose 8 years of data if I move from MS Money 2004 MS Money Plus sunset?

    Ask the experts here:

    http://social.Microsoft.com/forums/en-us/money/threads

  • My main computer crashed and the data has been retrieved from the hard drive, including all of my Outlook Express dbx files

    I'll provide too much information because those of us who are computer knuckleheads think that everything is important since it is a mystery to us.

    My main computer crashed and the data has been retrieved from the hard drive, including all of my Outlook Express dbx files. There are four years of e-mails in these files and critical that I be able to open them.

    My only working computer running XP. It has Outlook Express is installed on it and was once used for e-mail, but not more and not implemented with my ISP to send or receive if it matters at all. Other that the sending and receiving of all the other functions of the OE program appear to be operational.

    I have read many explanations on how to open the files dbx on different sites - all is completely different and most seem well beyond my skill level.

    There is a fairly painless way to open these files? I don't want to try anything that could damage them. Please... any solution please guide me through in its simplest form - I am 64 but pretend you are explaining the process to a 7 year old. Yes, I'm that lame!

    Sorry for writing a novel and thank you to all who take their time to help the ignorant!

    I advise you to immediately copies of your DBX files restored. Save the duplicates in a place safe, and don't mess with them.
    Then try using one of the various tutorials that you have found on the Internet by using a copy of your DBX files restored.
    I did it a few times, but years ago and I DBX http://www.techrepublic.com/forums/questions/how-i-open-corrupted-dbx-files-in-oe/ visualization tool
    You just continue to make attempts, using a tutorial after another.
    As long as you have these unchanged copies of backup of your DBX files, you should survive it - other than frustration. Email PC remains a mess.

  • Transfer all of the data files and program from old computer (Vista) to new computer (Windows 7)

    I've been using a Dell xps 420, 32-bit Vista since 2008. I just bought a new Dell xps-8700, 64-bit with windows 7 preinstalled. I would like to transfer all THE DATA, SETTINGS AND PROGRAMS from my old computer to the new computer. I bought a cable easy transfer of Dell for windows, xp, vista, windows 7 and 8. I read somewhere that the method of cable will transfer all my installed programs. Is this true?

    Can someone give me the better, easier and faster method available. At least give me a step by step procedure for this task.

    I am 81 years old and not too computer savvy. Any help you can give will BE appreciated.   bobnancy

    From Internet Explorer

    Original title: Transfer all data and program files from old computer to the new computer

    I've been using a Dell xps 420, 32-bit Vista since 2008. I just bought a new Dell xps-8700, 64-bit with windows 7 preinstalled. I would like to transfer all THE DATA, SETTINGS AND PROGRAMS from my old computer to the new computer. I bought a cable easy transfer of Dell for windows, xp, vista, windows 7 and 8. I read somewhere that the method of cable will transfer all my installed programs. Is this true?

    No, it won't, it will transfer personal files and settings. You will have to reinstall your applications from the original installation files or install CDs and DVDs.

    Can someone give me the better, easier and faster method available. At least give me a step by step procedure for this task.

    If you really want to move your applications to the Vista computer, you will need to buy a commercial programs such as Laplink PC Mover that will allow you to move your programs:

    Laplink PCmover® | Laplink.com

    I am 81 years old and not too computer savvy. Any help you can give will BE appreciated.   bobnancy

    From Internet Explorer

    Original title: Transfer all data and program files from old computer to the new computer

  • To find common data in 2 columns from two different tables.

    Hello

    Could someone help me with a querry to discover common data of 2 columns from two different tables?

    Thank you
    Rajesh

    Try as below.

    select col1 ,col2 from tab1
    intersect
    select col1 ,col2 from tab2;
    
  • No data on FIFO DMA transfer

    Hi all

    I'm under LabView 2013 and have updated all drivers and versions on my local computer and also on the Single Board RIO 9636 I use. My goal is to measure 4 similar entries corresponding to four different microphones and then each individual signal as an output wave form. I try this using the FIFO DMA 4.

    The problem that I am running is that I am not able to read data from the RT Microprocesssor VI using the FIFO 4. Reading methods. I'm relatively new to using a FPGA and labVIEW programming. I attach two diagrams for information purposes. I thank in advance for any help, you may be able to provide.

    mcoe12 wrote:

    What happens is that data from the FIFO are just 1 and the real are not the case of the incoming data.

    AH! If you said that in the first place, I have identified the problem in the first post. It seems that your data types do not match - fixed point for the FIFO DMA configuration does not match data from the analog input. That's what the small red "points of coercion" you are showing on writing of FIFO. My guess is that's why data is not properly through.

    While you edit digital representations, also change the sampling frequency is an integer, to match the input of the timer.

  • I have an old data file of firefox from a transfer of the computer I did and I want to get all the sites that I had organized how can I do this?

    If earlier I transferred my old files from the computer to my new computer and when I did I tried that my firefox books brands added when I did he just make an old firefox data file. I went in there it has the markings of books, but the problem is it is not really readable a little mixed up and I want to know if I can import it to my only current or somehow get it organized so I can at least see them outside or on a note pad just each bookmark on its own line? I added a picture what it looks like

    You can use the notebook (Firefox/tools > Web Developer) to inspect and edit files in JSON format quite easily.
    There is a "Pretty Print" button to add line breaks.

  • Serialize the data into several messages from serial port

    Hello

    My current LabVIEW project, I want to read data from the serial port and store the (transformed) response in a file.

    Since my design model is based arround the Manager of messages queued waiting my serial communication is also build around that. (see this post for my original question).

    But now I have the following problem:

    In the loop 1 I put several messages in the queue of loop 2.

    Loop 2 processes these messages and sends them to the print queue of loop 1.

    Loop 1 gets several messages that need to be combined into 1 string and (with other data) in a file.

    Just to clarify:

    Loop 1, I have send 3 messages for each connected device. Even though I have a separate file for each device, the response to the messages must be in 1 result string.

    (Note on the picture: there are other loops running at the same time you will also need to access the serial port for the port for loop 1 is not an option)

    Hope you can help.

    A next attempt to download the code

    The attached Code is provided as is. It has not been tested or validated as a product for use in a deployed application or system, or for use in dangerous environments. You assume all risk for use of the Code and the use of the Code is subject to the license terms of Sample Code which can be found at: http://ni.com/samplecodelicense

  • I received a new office of my in-laws and I want to delete all their personal data and to start from scratch without delete what anyone essential to the operating system.

    original title: delete old files / customize in new computer

    I received this great office of in-laws and I want to remove all their stuff and start over... but not to delete what anyone essential to the system. I can't get explore 9... do not know why.

    I also want to know if I need to set up a network or something for my laptop and desktop computer can interact? I want to be able to print from my laptop without connecting to the computer via the USB port.

    Any advice?

    Your message was clearly not your comments to Microsoft Answers web site, so I moved it on the Feedback forum to "Install, upgrade and activate" windows forum.  Please return to your message, click the button change under it, change the menu Windows Version dropdown to indicate which version of Windows you are using, and then click on submit.  People can help better if they do not have to guess your version of Windows.

    Your best bet is to reinstall WIndows from scratch using the original Windows installation kit or factory restore disks supplied with the PC when your purchased people.  If she did come with a restore or the Windows installation disk drive, it came with a partition on the hard drive and the software to allow you to create the restore disks yourself.  Which will ensure that none of their remains.

    If you want to share data or peripherals between two PCs, you will need a LAN.  If you have internet access, then you already have a local area network.  Your ADSL access may or may not have a router provided with the equipment to access, but if it isn't you can easily add a.  The Knowledgebase Microsoft have some tutorials that describe how to configure a network home.

  • simple, the best way to import data, music computers betwqeen from pc to pc to laptop

    I want to transfer music from my pc to my phone, what is the (best) easiest way?

    Based computers involved and the amount of data involved. You can transfer data using a Flash DRIVE, burn a CD/DVD-R, on the network, pulling on the hard drive and attaching it to the target machine, etc.. It is not uniform so if you want a more specific answer, provide the missing details on your systems and your data. MS - MVP - Elephant Boy computers - don't panic!

  • How can blackBerry smartphones, I transfer my phone date of my return from my old Nokia on computer for my BB?

    Please help me I just a bought a BB curve and have all my content and data from my old phone which was a nokia saved on the computer and can't find a way to load everything on my new phone which is a bit frustrating because I like a minimum of 500 and it will manually be a killer?

    Nokia PC Suite export all data to Outlook and after the Blackberry with your Outlook synchronization.

  • CUSTOM1 and Custom2 columns do not retain data when copying music from one computer to another or the removal of a disc external hard is there a fix for this

    I use windows media play to organize my music with various information.  I recently bought another computer to contain music.  Copied music from the folder on a windows xp on a windows system system 7.  All data for all columns except columns Custom1 and Custom2 was preservered.  Is this a known issue?  If so, is there a solution?  If there is not a fix is there a workaround.  Which is a file that is associated with the music files that can be retrieved and updated with the correct information.

    Note the same issue occurs on the same system for the music that resides on an external hard disk if the hard drive is cut then re add the files to the library and once they are added all the previous metadatsa entered for all the columns are again the same as previously entered excpet for the the cutom1 and the custom2 colums

    Has anyone seen this problem and if yes anyone knows how to avoid losing information that is added to the custom1 and custom2 colums

    Hello

    You can view this question in the TechNet Forums: http://social.technet.microsoft.com/Forums/en-US/w7itpromedia/threads

    Additional information.

    Windows Media Player, frequently asked questions: http://windows.microsoft.com/en-in/windows7/windows-media-player-frequently-asked-questions

    Thank you.

  • Prefixed data space is removed from the APEX report page

    My report contains data from hierarichal and I'm intendation with handling space.

    If some of my data (cell) have space padded before the string, and it is deleted / box by APEX.

    I tried to add ' ' & nbsp' | db_column"but this too also does not work.



    You will need to disable the function of automatic cropping of APEX.



    real cell


    'this '.


    Apex shows page

    'this '.

    Hi Prashant,

    Could you please the credentials and the name of the workspace.

    so, which won't be easy for us to solve the problem.

    Kind regards

    Jitendra

Maybe you are looking for

  • HP Pavilion a1213w no power

    I have a HP Pavilion a1213w and the green light is on until you press the power button, then it turns off. IM thinking that it's the power supply. He is 5 years old. When you remove the green light turns on and then turns off agains when you press st

  • Acer V3 - 772G keyboard problem

    Hello I bought the Acer Aspire V3 - 772G a week ago. It was without OS, which I installed myself. First, I installed win 7. When I tried again PES 2014, I had a problem with the movement with the help of the arrow keys. I mean no moving diagonally or

  • How to reset the time in the lower right corner, so it remains set automatically

    original title: Windows Internet Explorer 8 - time How to reset the time in the lower right corner, so it is set automatically. ccrow

  • We're checking spelling in wordpad

    I have Windows 7, I open Wordpad to do a couple of letters, but I can't find the spelling to correct my spelling. Any ideas?

  • How do you get the subtitles to work in Windows Media Center Netflix?

    I have Windows 7 64 Home Premium with Windows Media Center for a Home Theater Personal Computer.  I can watch Netflix streaming movies with subtitles using IE8 or IE9 and Silverlight, but may not know how to activate in Windows Media Center.  The alw