How do I make a VI that contols a 6534 card take less time to load 1Mbyte and output data ?

Hello-
I'm developing a pattern generation burst mode type VI that reads byte characters from a text file, manipulates the bytes that it reads and then outputs the data from a 6534 card. The REQ1 pin is pulled high which makes the card continually output data until the internal buffer is empty. An internal clock is used. The problem is that the size of the file that is read by the VI can be relatively large, in the 1MByte range. After the VI manipulation, the output array is 16 times larger than the input string. So, when the VI reads a 1MByte text file, the output array contains 16 million entries (each array entry is 3 bits by the way). It takes about 20 seco
nds to run and output data from the 6534 even when reading files that are 200kbyte or so. I'm outputting the data at 5Mbps. I'm not sure where all the delay is coming from. Using the 'Profile VI" function under the 'Tools' menu shows a snapshot of time that really doesn't help me since it only shows that the time is spent in my VI. Is this just the result of loading large files ? Or, is there a way to preload the 1MByte file into the 32MB of RAM on the 6534 card before the VI is actually run. What I mean is that I do have the option in my system to have a time when all text files will somehow be loaded into the 6534 memory, during some initialization period, and then the VI would be run with the text file already loaded. This of course assumes that the delay is loading the file from the harddrive, but since the harddrive transfer speed is fast, I have no idea where to speed things up. Any ideas ? Thanks !

Your question actually belongs to the Measurement Devices >> Digital IO section since it concerns operating the 653x family of digital boards. You will see other related questions and answers there. In the future, please direct your digital questions to that forum.
If you are trying to profile your VI, you can break it into different pieces. For instance, you can make a subVI out of the file data manipulation.
Now, are you doing pattern generation or burst mode handshaking output? From your description of the signal connections, it looks like burst mode. You can double-check in the 653x User Manual at the http://www.ni.com/manuals pages. Still, it looks like you could accomplish your task with pattern generation. There are example VIs for both operations that
I suggest you start with. They are located in the LabVIEW >> Examples >> Daq >> Digital >> 653x.llb directory.
It also sounds like you are doing a single buffered operation, where you have a set amount of data that you want to output, and once done, the VI will stop. You are preloading the data to the buffer at DIO Write.vi before the 6534 actually outputs the data with DIO Start.vi when you program like the examples.
Thus, start with the appropriate example and then add the File I/O to it. You can even test with a smaller file to see the effects. You will also find useful information concerning the 6534 in the KnowledgeBase, particularly KnowledgeBase 298CGF9M "How Many Samples of Data Can I Store in the Onboard Memory of the NI 6534?". You can find this online by going to the http://www.ni.com/support and choosing KnowledgeBase from the Technical Resources pull-down menu. Then, type in keywords to search for, such as "6534".
Regards,
Geneva L.
Applications Engineering
Nati
onal Instruments
http://www.ni.com/ask

Similar Messages

  • How can I make it so that when Safari opens it takes me to the homepage?

    Say I am on youtube and I quit safari, when I reopen safari later, it goes to the page last open, in this case, youtube. How can I make it so that when Safari opens it always takes me to the homepage?

    Click on the red button (top left) to close the window before quitting.

  • How to i make a apple ID without a credit card? ive tried on my iphone and on my PC

    nothing works.. there is no "none" option anywhere no matter what i do

    Click below to make your apple ID without a credit card.
    Create an Apple ID

  • I've been trying to make an account with iTunes n everytime I get to the part of the credit card that's as far as I get because I dnt have one, how can I make an iTunes account without a credit card??

    I've been trying to make an account with iTunes n everytime I get to the part of the credit card that's as far as I get because I dnt have one, how can I make an iTunes account without a credit card??

    Where are you located?
    Just go and buy an iTunes gift card at any store in your country.
    Then follow all the steps you did, but when it asks you for the credit card number, there shoujld be a GIFT CARD option which will let you load your account witht eh funds form the gift card without providing a credit/debit card #.

  • How can I make it so that my songs don't go on her iPod and her songs ....

    Me and my mother just got iPods for christmas and hers was a U2 ipod and mine was a 30gb ipod. I have downloaded some songs and have imported some cds but my mother doesn't want those songs on her ipod. How can I make it so that my songs don't go on her iPod and her songs don't go on mine.Do i need to create another itunes?

    The computer can tell the difference between your two iPods. When you first plugged each one in, you named them and the computer recognizes each one as a separate disk.
    Now, when you plug in your iPod, and you are looking in iTunes at your iPod contents, you will see four buttons in the bottom right corner of iTunes - the first one is to display iPod options. Click on this, and under the music tab, select "Automatically update selected playlists only". Then, you scroll through your playlists and select only those you want to be transferred to your iPod. Your mother can do the same thing. Now you can each make your own playlists from the same music library, and only those songs you want to go onto your iPod will transfer when you plug it in. You can make the same selections for all the other options too (video, podcats. photos, etc), so that you only have to have what you want on each iPod.
    I have two iPods, a new 5g video iPod and an ancient 1g iPod, and have no problems syncing each of them with different playlists and options.

  • In Mail, how do I make it so that email replies to me are sent to the email address from which I sent my original message?

    I have two IMAP accounts set up in Mail, one work and one personal. The personal account also receives emails from a third account (but I have that set up through gmail's forwarding, not Mail). I am sending emails from my work account and replies are coming to this third account, which I don't want to happen.
    How do I make it so that replies to me are sent to the email address from which I sent my original message?
    Thanks for your help!

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • When I connect my ipod to my computer it opens my documents and won't show up in my itunes and I have unistalled then reinstalled itunes and reset my ipod twice and it stills does the same thing how can I make it so that it shows up in my itunes?

    When I connect my ipod to my computer it opens my documents and won't show up in my itunes and I have unistalled then reinstalled itunes and reset my ipod twice and it stills does the same thing how can I make it so that it shows up in my itunes?

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with              
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    Before you reinstall the Apple software, also remove iCloud vi Control Panel Remove programs. The reinstall the Apple programs
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem

  • How do I make it so that the one computer that has the main itunes account on it be used on other computers, when it comes to backing up phones and not deleting data off of phone that isnt on that computer itunes becasse its all on the one main computer

    how do I make it so that the one computer that has the main itunes account on it be used on other computers, when it comes to backing up phones and not deleting data off of phone that isnt on that computer itunes becasse its all on the one main computer. Baiscally the problem is that one comuter and one account has always been sued for eey persons itunes. Now if we want to be able to backup and use itunes on our own computers fro our iphones and such, how will all he data that is on our phones not be deleted once its plugged into a new computer? Also, is theere a way to get all the stuff on thw current itunes onto each computer, via differtn account name?

    option discovered in preferences. Really this and any feature that moves deletes or edits a users data should as far as possible be OFF BY DEFAULT. It shouldn't by default and without the users specific say do this dangerous and unnecessary thing without even letting the user know what it's doing!!! And then cause me a few hours (as i'm new to mac) searching for the option so as to switch it off. If i hadn't noticed the status cage declaring that it was copying files then i might never have twigged that this insane thing was occurring. And if i hadn't of noticed i would have been left maintaining the contents of the folder i copied the files to, the folder which as far as i was informed and so believed was also the location of the music files i was playing. How does Apple justify this 'genius' piece of software non-design? Surely it will hurt no one if this was off by default for new users - overall at least i dare say it would cause a lot less distress in the future for the unsuspecting public at large. Thanks for the support.

  • I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and Itunes store. How do I make one password that will be recognixed by all these devices?

    I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and itunes store. How do I make one password that will be recognized by all these devices? My apple id is constantly not working.

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • How do I make it so that itunes doesn't start automatically when windows starts?

    How do I make it so that itunes doesn't start automatically when windows starts?

    http://support.apple.com/kb/HT5449
    http://support.apple.com/kb/PH11443
    http://support.apple.com/kb/PH11428

  • How can i make a photo that is 10 x 6.6 to 10 x 8 without changing the image in Photoshop CS3?

    How can I make a photo that is 10 x 6.6 to 10 x 8 without changing the image in Photoshop CS3?

    I could be snarky and say change the image in a different version of Photoshop, but NO...
    The only way to make a photo that is one size into another size is to change the image.  You have a few choices about how to change it:
    One way is to simply expand the height from 6.6 to 8 inches using Image>Canvas Size, using the default setting of having the image centered and leaving the background either black or white, your preference.  This will add background color to the top and bottom of your image.  This won't change the image itself, but it will change its surroundings.
    Another way is to resize the image using Image>Image Size, entering the new dimensions after turning off the aspect ratio lock (resample on).  This will stretch the image vertically, however, so it's probably not a good option.
    Finally, you could resize the image using Image>Image Size, leaving the aspect ratio lock on and resample on, and increase the height from 6.6 to 8.  This will have the secondary effect of enlarging the width from 10" to a greater width.  Then you crop the resulting image back down to 10" width, which involves losing some edge areas of the image.

  • How can I make a button that on press the object appears and on second press the object to disappear

    Hello,
    I'm quite new to flash programing, and I don't know how can I make a button that will make the object appear and disappear.Till now I have this code for the appear:
    on (press)
        _root.top1.gotoAndStop(2);
        _root.topp.gotoAndStop(2);
        _root.mm1.gotoAndStop(2);
              _root.m1.gotoAndStop(2);
    but from here I'm stuck.
    Thank you for your help

    What you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property.  You should not put code "on" objects, keep it in the timeline.
    If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
    object._visible = false;  // start with the object being invisible
    yourButtonName.onRelease = function(){
        object._visible = !object._visible;
    That one line in the function sets the object's _visible property to be the opposite of what it currently is.

  • How do you make it so that the ipod will play all the different artists featured in an album when you click that album to play?

    How do you make it so that the ipod will play all the different artists featured in an album when you click that album to play? At the moment, each artist in the album is being separated and I can't play them together. For example, to play the Halo 2 Soundtrack, Hoobastank, Breaking Benjamin, Nile Rodgers, etc. are some of the artists featured. However, in the Albums category, they are each separate choices. I want to play them all together, but can't. Is there a way to do that?

    It sounds like the album metadata is incorrect, or differs from song to song in iTunes.  Albums with various artists will play properly assuming all the songs are tagged with the same identical album name, as well as the track number.  For the Halo 2 Soundtrack, metadata should look like this:
    Song: <Song Title>
    Artist: <Song Artist>
    Album: Halo 2, Vol. 1 (Original Soundtrack)
    Genre: Soundtrack
    I had a similar problem with my imported Cowboy Bebop albums and the mixture of artists/album names.  Once I adjusted the metadata, all of them play in the correct order just by selecting the Album from the available list or in Coverflow.

  • I want to make a CD that is NOT in alphabetical order, not in artist alphabetical order and not in album alphabetical order... I want to make it the order I want.  Can this be done? How?  thanks in advance for all your help.  Mona

    I want to make a CD that is NOT in alphabetical order, not in artist alphabetical order and not in album alphabetical order... I want to make it the order I want.  Can this be done? How?  thanks in advance for all your help.  Mona

    cjam732 wrote:
    Ed - by sequence of numbers, are you talking about the rectangle with the arrow that sorts by track number?  I've tried to follow your directions to Mona but my playlist still gets burned to CD in alpha order.  driving me crazy.  any other suggestions?   thanks, Chris
    Chris, The sequence number is the first column of numbers, to the left of the Name column.  It always goes 1, 2,3  etc.  It is not the same as the Track Number, which has its own column.
    As a precaution before burning, make sure that Shuffle is tunred off, and that you right-click the playlist name and choose 'Copy to Play Order"  (although technically they should not affect the burn).

  • How can i make it so that on messages i can see who is online wihtout having to search their name?

    how can i make it so that on messages i can see who is online without having to search their name? When i had ichat i didnt have to search their name... i culd see who was online autimatically.

    Firefox, the web browser, doesn't make any decisions about what mail should be considered spam or what senders should be blocked. What email software or webmail site are you using that is rejecting the messages?
    If it's a common site like Yahoo! mail, Gmail, Windows Live Hotmail/Outlook.com, then perhaps a volunteer familiar with their specific settings can help.
    If it's Thunderbird, the support site is over here: [https://support.mozillamessaging.com/].
    If your security/privacy software filters your mail, you will want to check its settings as well.

Maybe you are looking for

  • HT4428 Fabricated HDCP error??

    Why am I suddenly receiving an HDCP error after owning this product for nearly 3 years? I've had the same tv and HDMI for the last year with no problems. The "sleep" fix isn't fixing it. Please solve this issue so things "just work" again as you adve

  • SAP Best Practices on ECC 6.0 IDES

    Hi, We are trying to implement SAP Best Practices on ECC 6.0 IDES Server. 1) IDES Server has patch level greater then the one mentioned in the implementation guide. Is it ok to continue with SAP Best Practices installation. 2) Uploading Notes through

  • Download a logo from smartform

    Hi all , Is there any way to download a LOGO from particular smartform . Thanks & Regards Vishall

  • Does iMac OS 10.9.4 computer dac produce 24/96 audio at the analog headphone port from 24/96 iTunes files?

    24/96 at analog out from iTunes

  • Machine won't boot

    XP Pro AMD 64 3000+ MSI K8T NEO MB I was installing some windows updates and another piece of software at the same time. The other software finished first, so I clicked ok - and it auto-rebooted my machine (gdammit I hate that). Now my machine won't