Why does DIO6534 behaves differently from its lesser relatives?

I am developing under LabWindows/CVI some code for the DIO 653X family. It's almost two years since I started working with'em, so it's disappointing the problem I'm talking about.
This is the guilty code:
DIG_Grp_Config(DIO_BOARD, 2, 2, 2, 0);
DIG_Block_PG_Config(DIO_BOARD, 2, 1, 0, rtimebase, rreqint, 0);
DIG_Block_In(DIO_BOARD, 2, in_conf_buff, 1281);
do {
status = DIG_Block_Check(DIO_BOARD, 2, &rem);
} while (rem);
It is used to read in pattern generation 1281 samples, 16 bits each, on group 2
The code runs OK on DIO 32-HS and on DAQCard 6533, but it faults on DIO 6534.
Provided that rtimebase e rreqint are correctly defined and that in_conf_buff is wi
de enough to contain all the acquisition, the problem is: come to the do-while loop that worries about controlling that the acquisition is running OK by the DIG_Block_Check instruction, the program remains in the loop, with a single sample to be read (rem = 1), only with DIO 6534.
I made some trials to get out of the mess, so that I found that the error happens when I use an odd number of samples, not when I use an even number. But the REQ pulses number are needed to drive a read-out chip, so I can't simply reduce or increase by 1 the samples number, as this would leave the chip in an umpredictable state.
Who can help me?

Hi medihelp,
Because the 6534 always performs DMA transfers in 32-bit even for 16-bit input groups, there will be "stranded" data if the number of data transferred is not a multiple of 4 bytes. This different behavior (compared to the 6533) is due to the addition of onboard memory to support high speed transfers. At the end of the DMA transfers, the stranded data will be retrieved manually, and status should be updated to indicate that the tranfer is truly finished. There is a bug in the NIDAQ driver that fails to update the status flag, causing the return value of DIG_Block_Check to get stuck at 1, even though all data has been acquired. The fix for this problem will be made available to all users very soon. In the meantime, I would recommend that you either make the
sample count a multiple of 4 bytes, or change the condition of the while loop to break when DIG_Block_Check returns 1 instead of 0.

Similar Messages

  • Why does terminal behave differently when logged in as different users?

    when I'm logged into my mba as my regular normal user, bash behaves normally;  but when I create a new user or use any user other than my default the behavior is different.  (might be bash or sh)
    Specifically, the tab autocomplete function works fine when I'm logged in as my regular user (tab-complete;  tab twice for all available selections/options).
    But on a newly-created user (also an admin) there is no tab complete, no 'tab twice, other options' etc. 
    Has anyone else seen this?
    I searched in this forum and found some instructions for creating an .inputrc file but I don't appear to have one on my default user so not sure why I would need this on the new user ?!?!?
    p.s. here are the instructions I found previously via a post on this forum:
    http://www.ernieflores.net/osx-page-4/how-to-enable-tab-completion-in-mac-os-x-t erminal/

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • Why does terminal behave differently with respect to "Resume" feature?

    Terminal behaves a little funky when it comes to the new "Resume" feature in Lion.  Here's a few interesting notes:
    When restarting, Terminal prompts the user to close itself.  If you don't click close in time, the reboot process is halted.  This ***** because resume gets confused.  When you close Terminal and reboot, Resume only opens applications that were closed AFTER terminal was manually closed.  This is only a small subset of applications that were originally opened from the first reboot attempt.
    If you do manage to close terminal in time, it only comes up on Desktop 1 after resume.  This is fine if that's what you want, but I have terminal configured on "All Desktops".  To workaround the issue, I have to set terminal to "This Desktop", then "All Desktops" EVERY TIME I REBOOT.
    No other apple programs seem to do this.
    Where do I log a bug/feature request for this?
    Cheers!

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • Why does UIImageView behave differently in the Simulator?

    Having added a subview to a background image, I then randomly change the frame of the subview. This works corectly in the Simulator i.e. the subview moves relative to the background. But on the iPhone both background image and subview move together.
    in viewDidLoad:
    [background addSubview: newView];
    and in a timer callback:
    newView.frame = CGRectMake(rand()%6,rand()%6, newView.frame.size.width, newView.frame.size.height);
    Any suggestions?

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • Why does my mac reboot on its own?

    Why does my mac reboot on its own?

    Oh den.thed...  I saw your post this morning and I was so excited....  ran to the Mac and got to Energy Saver, and...  the checkbox is already unchecked. 
    Long story, I'll make it short.  Just got the Mac back after having the HDD replaced.  (It stopped working after less than 500 hours.)  This rebooting thing has been happening ever since I got the computer in 2010, and I was hoping it would coincidentally stop happening after having this crashed HDD replaced last week.  No such luck.  Still doing it, even after getting the computer back from Apple.  Two of my kids have macbooks, have used the cr*p out of them, and have had very few problems (nothing big).  I bought this Mac, to replace a dead Dell desktop that got very little use, and so far I am not sure I did the right thing.  Really wish I could get this "automatic" rebooting thing fixed.  (Reboots with no notice, while doing normal tasks - internet, word docs, etc.)  Thanks again for your help.  Let me know if I should try anything else.

  • Why Reports format behaves different in Excel and browser(if desformat=html or pdf)?

    1-Why Reports format behaves different in Excel and browser(if desformat=html or pdf)?
    2-I made three queries Q1,Q2 & Q3 and linked them with proper field links but suppose Q3 returns no records for some Q1&Q2 records & when the report runs for delimited options it reflects only those records as output for which all the queries return records(if Q3 returns no record then the related records from queries Q1,Q2 don't reflect) while the output in desformat=html or pdf is ok..
    can you please resolve my problems
    ( I have installed patch 5a in my report server machine)
    Thanks & Regds.
    Suneel
    null

    What do you mean by "different"? (In our
    experience, Oracle html output has too many
    columns, which are not visible in the
    browser but are obvious in Excel.)
    We build our own html programmatically, so
    that Excel matches the browser more closely.
    -- Allan Plumb

  • How does a BPEL different from ESB?

    How does a BPEL different from ESB?

    BPEL and ESB are similar on higher level,
    they can both be used to integrate system/process and make data flow between them.
    BPEL is for designing process
    1.) Where human task is involved
    2.) Lot of complex looping is there
    ESB
    1.) Its designed for integrating different system/process and make data flow between them,
    2.) Its designed to do this very purpose, so fast in comparison to BPEL to do this
    Yatan

  • Why does an email sent from an iPad or iPhone to ms outlook appear with attachments? Example signatures tend to be broken down into a series of unwanted attachments!

    Why does an email sent from an iPad or iPhone to ms outlook appear with attachments? Example: signatures at the bottom of the mail tend to be broken down into a series of unwanted attachments!

    It worked for me. I took a picture with the iPhone's camera. Then opened the Photos app and selected the picture, and emailed it from one of my IMAP accounts to my gmail (also IMAP) account. When it showed up in the gmail inbox (on my iPhone), I forwarded it to my yahoo mail account (choosing the "inlcude attachments" option). When that showed up on my iPhone's yahoo inbox, the picture was there just as it should be.
    So I guess the next thing would be to try it with non-iPhone pictures to see if it is a problem with image size or something. I have some 6-megapixel images in iPhoto I can try (taken as RAW/DEC format pictures with my dSLR).
    Just tried it sending a Photo from my computer's iPhoto library - picture is 728KB, 2272x1704 jpeg. I emailed it to my gmail account, and it showed up on the iPhone just fine. Then I forwarded that to my yahoo account and again, it showed up just fine on both the iPhone and reading my yahoo mail via the web page.
    Don't know what to say - I don't mean this to be just another "works for me" post. I was hoping to see something maybe depending on the size and origin of the picture.
    By the way, my 3GS shipped with 3.0.1 on it, and I've updated it via iTunes normally to 3.1.1 and currently 3.1.2. Sorry I don't have anything constructive to add.

  • What does it mean by Stream and how does it is different from Class?

    What does it mean by Stream and how does it is different from Class?

    www.dictionary.com does
    Stream: An abstraction referring to any flow of data from a source (or sender, producer) to a single sink (or
    receiver, consumer).
    Class:
    The prototype for an object in an
    object-oriented language; analogous to a derived type in a
    procedural language. A class may also be considered to be a
    set of objects which share a common structure and behaviour.
    The structure of a class is determined by the class
    variables which represent the state of an object of that
    class and the behaviour is given by a set of methods
    associated with the class.

  • Why does Calendar keep reverting from full screen each time I exit the app?

    I'm using a 2014 Macbook Air. It's running Yosemite.
    Why does Calendar keep reverting from full screen each time I exit the app?
    On my older Macbook at work, calendar stays full screen whether I exit the app or restart the computer (similar to Mail - which is staying in full screen on both computers).
    Please help me adjust settings so I don't have to keep putting Calendar into full screen.
    Thanks!

    HI Thanks so much! It fixed porblem (for the moment) by reinstalling PS6 and NOT installing the 13.03 update which, although said it was performance related, probaly had  that trial messge embeded in it. So just DON"T install update 13.03 till adobe gets it's sea legs and stops puking up this message over and over. aloha, U
    Curt Y wrote:
    Did you update recently?  There is a bug in that causing your problelm.  See this thread.  http://forums.adobe.com/thread/1114727?tstart=0

  • Why does icloud notes go from pc to ios but not from ios to pc?

    Why does icloud notes go from pc to ios but not from ios to pc?

    Yes, and the music trasferred, I can see it in the folder, but it's not displayed in iTunes.

  • Why does sync remove songs from iPod?

    why does sync remove songs from iPod? My itune library lost songs with an ! symbol.

    It means iTunes can no longer locate those particular files at the specified location on your PC's hard drive.  So you'll need to search for these track's on your PC and re-import these tracks from their new location.
    iTunes: Finding lost media and downloads
    B-rock

  • Why does it shut down from programs

    Why does it close out from programs

    In the mean time try this:
    1. Double-click the Home button to see all Inactive Apps in Task Bar
    2. Hold the Apps down for a second or two until you see the minus sign
    3. Tap the minus sign to close App
    4. Tap center of screen to return to Home Screen
    5. Reset iPad. Hold the Sleep and Home button down for about 10 second until you see the Apple logo. Ignore the red slider

  • Any hints on why key figure in BW is different from its equivalent in R3?

    Hello,
    In a BW report, I tracked down a key figure which was 3000. I verified it through the tcode listcube and for the same selection criteria found the number to be 3000. The problem is that the user expected it to be 1000.
    Through the transfer structure, I found out that this key figure does not come directly from R3 but rather, it is a zzkeyfigure, being populated through a program.
    In CMOD (R3), I identified that zzkeyfigure was sourced from kwmeng (from the table vbap). In R3, with se16n on the table vbap with the right selection criteria, I identified kwmeng also as 1000.
    Can you help me figure out why this figure (1000) in R3 is turning up in the BW backend objects as 3000?
    Additional Info: the code in CMOD
    select  single kwmeng vrkme
           into  (W_MC12VC0ITM-zzkeyfigure1,
                  W_MC12VC0ITM-zzkeyfigure2)
           from vbap
           where vbeln = W_MC12VC0ITM-vgbel
             and posnr = W_MC12VC0ITM-vgpos.

    Hi Ken,
    I am the one who is to defnitely advise the users as to what the cause of this proble is about but I could hardly comprehend the hints you dropped.
    From the above message, how did you deduce that my data sourse is delta and produces reversals when documents change (for loading direct to a cube)?
    You noted that if that is the case then "the look up value will also need to be reversed" I did not understand this. Can you explain what you meant by that?
    Although I did not understand this comment you made:
    " ... If you maintain your datasource in RSA6 you will find an inversion setting (next to hide field) which I believe will reverse your custom keyfigure when the record is a reversal.. "
    I went into rsa6 (in R3) and ...double clicked on 2LIS_12_VCITM to see the area with the inversion column. None of the fields with checked boxes was of interest to my reseach. i.e none of the keyfigures in question was checked . Can you explain this quote and let me know what I was to expect in this this area?
    Also you implied that in R3, one can decide to maintain datasource in Rsa6 or rsa3? Did I get you right? what are all the options that you can maintain daaourse in and if so, under what circumnstances do you choose one over the other?
    Thanks.

  • Why does safari reload page from beginning when going back in history

    This behavior in safari is driving me nuts, i'm using mountain lion 10.8.1 and everytime i swipe two fingers to the left after having left a page to checksomething, safari goes back to the page and starts me in a different place (usually very beginning) than where i was when i navigated away from the page.  i mean what the ****? this gets very infuriating pretty quickly, especially on really long pages that i now have to navigate to the same section i was when i navigated away from the page.
    example, i was reading about the samsung apple verdict on cnet, and i was reading i dont know, the 30th or so comment in:
    http://news.cnet.com/8301-13579_3-57500273-37/apple-v-samsung-the-infringing-dev ice-scorecard/
    I then navigated away from the page to look for a tangent the comments made me think of, and when i swiped two fingers to the left, low and behold, i am now at the top of the page and have to figure out what comment i was up to.. what.. the.. heck man?? am i doing something wrong? is there a way to 'fix' this behavior?
    I remember on snow leopard i could go back and forth between pages w/o the page having to reload/leave me at the top..
    another example is newegg.com, i was looking at monitors and playing with the differnet choices when clicking 'more choices':
    http://www.newegg.com/Store/SubCategory.aspx?SubCategory=20&name=LCD-Monitors
    scroll down to where it says options on the left pane, the page displays drop downs, i select a few, click on Search, and when i two-finger swipe to the left to get back, the drop downs are now gone!! that was the "last state" of the page, so why does the page have to get entirely reloaded?? It SHOULD still be in my cache and viewable in the exact same way as when i left the page..
    someone please help!

    Jesus H Christ this is still driving me up the wall, i can't believe everyone is just accepting this.  Isn't there a way to fix this?  Can we at least have an option to turn this OFF?? Reloading a page everytime i go back is such a waste of time/bandwidth/my nerves when i am in the middle of a page

Maybe you are looking for

  • Dvd burning no longer works

    Hi I have been burning dvd's on my shiny new powerbook (a happily converted former pc user) for months, but have now been getting this message: Sense Key = Hardware error Sense Code = 0x30, 0x03 I have found a lot of similiar posts with variations to

  • What do to when i've lose my ipod touch?

    i lost my ipod touch a while ago and only just realised that it's under guarantee,is there any way of finding it,or exchanging it or something like that?

  • Blank preview

    Hi,      I am using Crystal Xcelsius 2008; Version 5.0.0.99, Build 12,1,0,247. After clicking the preview button, I do get the progress bar saying 'Generating swf". However, once in the preview mode, a BLANK screen appears, without any components.   

  • Jms-xi-idoc scenario

    Hi As ECC system is going to receive idoc's we got to set partner profiles in this sytem. If I am not wrong  in ECC system we are going to set the partner profiles of XI system ?? or partner profiles of ECC system itself ?? Meanwhile whether we got t

  • Is there a driver for windows 7 64 bit for faxphone L80.?

    is there a win 7 64 bit driver for faxphone L80?