Why ACK should be deasserted sometimes during the data acquisition with PCI-DIO-32HS burst mode handshaking?

My peripheral device sends 32-bit data to the DIO board serially with PCLK 6MHz, about 300,000 times totally. The phenomenan like I mentioned in the summary above happens, and it causes some data missings.
Though I know ACK is not always asserted as somewhere in the NI database says, I want to know why it happens. if I can. I wonder if it is just inevitable or not.
Do I only have to add some buffer memories to my device and make it watch on the ACK changing? Or, is there any other good way to avoid this problem?

Hi,
Burst mode handshaking protocol needs to conditions to be meet before data can be transfered. The PCI-DIO-32HS need to be ready to transfer data and the external device needs to be ready to transfer data.
The ACK line tells the external device when the PCI-DIO-32HS is ready and the REQ line tells the PCI-DIO-32HS when the external device is ready. When both are ready data should be transfered. This is the nature of Handshaking, guarenteed data transfer (when both devices are ready), but not at a guarenteed rate. Handshaking means that the two devices communicate with each other to determine when to transfer data.
The PCI-DIO-32HS ACK line is toggling low because the PCI-DIO-32HS is busy catching up with the given transfer and is not ready to receive m
ore data at this time. The ACK line is not something you can control, it is controlled by the PCI-DIO-32HS.
Your application may be better suited for use with Pattern I/O if you are not using the handshaking lines, ACK and REQ, to control the flow of data. Pattern I/O does not use handshaking lines and clocks data in on every rising edge of the clock. You may receive an error if your system can not keep up with the transfer rate.

Similar Messages

  • Section of the data collected with PCI 1422 card connected to a CCD camera looks step-like

    I am using the PCI 1422 card with a DALSA CA-D1-0128T camera to acquire and save fluorescence data from a heart stained with a potentiometric dye. The camera is set to work at 490 frames per second. My acquisition program (made using a producer consumer loop in Labview 2009) works fine most of the times, but sometimes a small section of the collected data looks step-like (not continuous). I have attached herewith a word document containing a snap of the data. Could you please give me some suggestions as to why this happens and how can I rectify it? 
    Thanks in advance 
    Anuj Agarwal 
    Attachments:
    Doc1.doc ‏123 KB

    Hi Anuj,
    First, this sounds like a very cool application.  What are you measuring? Is it in vivo?
    I believe that I see what you are referring to--is it where your cursor is that you are seeing the "step" problem?  Also, could you give us a little more information aboutwhat type of data we are looking at?  Is this some sort of image analysis data?  
    In terms of code structure, due to the way that LabVIEW handles image data types (it is essentially a pointer to the data instead of the data itself), I wouldn't recommend passing an image via a queue.  
    So, please let me know a bit more about what type of data we are looking at, and what your code looks like, and I'll be happy to help. 
    Cheers, 
    Marti C
    Applications Engineer
    National Instruments
    NI Medical

  • PreparedStatement set date sometimes sets the date one day behind

    I have a PreparedStatement that sometimes sets the date a day behind. I am saving to a MSSQL DB with a field datetime. I have two identical PreparedStatments, one for insert and one for update. When either is executed, it will sometimes set the date back one day. It's not everytime. Every other or every third one, but it's not consistent. Any help would be appreciated.
    ps.setDate(1, Util.parseSqlDate(getParam("CHARGED")));
    public class Util {
         public static java.sql.Date parseSqlDate(String datestr) {
              DateFormat sdf = null;
              if (datestr == null)
                   return null;
              if (datestr.length() > 8) {
                   sdf = new SimpleDateFormat("MM/dd/yyyy");
              else {
                   sdf = new SimpleDateFormat("MM/dd/yy");
              java.util.Date d = null;
              try {
               d = sdf.parse(datestr);
              } catch (ParseException e) {
                   return null;
              if (d != null) {
                   Calendar cal = Calendar.getInstance();
                   cal.setTime(d);
                   return new java.sql.Date(cal.getTimeInMillis());
              return null;
            protected String getParam(String name) {
              return (getParamArray(name)== null) ? null : getParamArray(name)[0];
         protected String[] getParamArray(String name) {
              return (String[])params.get(name);
         }

    traigo wrote:
    The database is a datetime field. Then you should be using the appropriate java jdbc time/date methods to access it rather than strings.
    We are only storing the date portion. Saving with today's date should produce '2009-12-28 00:00:00.000'.
    I just want to set the date to an absolute date (no time value) provided without timezones.Impossible. Since the database datatype is datetime that means that a timezone is always involved.
    And java always uses timezones. Ignoring the problem doesn't make it go away.

  • Plz help me its urgent i have iphone i dnt want my deleted texts my phone was jailbroken if i do restore widout backup should i jailbreak again ,should i unlock again,will the data of texts premantly erased plz answr me

    Plz help me its urgent i have iphone i dnt want my deleted texts my phone was jailbroken if i do restore widout backup should i jailbreak again ,should i unlock again,will the data of texts premantly erased plz answr me

    Jailbroken phones cannot be discussed in an Apple forum. If you synced your phone with your computer the texts will be in the backup, so if you restore the backup you may get them back, but with a jailbroken phone it's anybody's guess what will happen.

  • Why does my iPhone 4 not have the panorama feature with the new iOS 6 ?

    Why does my iPhone 4 not have the panorama feature with the new iOS 6 ? Can someone please explain this to me. I was already excited about it.

    That was made available in iOS 5. To update, you may need to connect to iTunes

  • PCI DIO 32HS (6533) Suddenly giving "The device is not responding to the first IRQ level" error, and no longer functioning.

    Greetings NI folks,
      I'm an oceanographer, and have an sidescan sonar data aquasition computer running Windows XP SP2, and NiDAQ 7.0 (Legacy). For several years, this machine has worked flawlessly, but today, I booted it up to test the system for an upcoming job, and I got some strange errors in our sonar program. I tranced the problem to our NI-6533 PCI-DIO-32HS card. I launched NI Automation Explorer to test that the card was responsive, and when I click the "test panel", I get an error: "The device is not responding to the first IRQ level." Continue (yes/no). If I click yes, I can test the digital i/o's, but nothing happens, and all the tests fail (nonresponsive). I tried moving the card to another PCI slot, tried forcing it to have a specific IRQ that was unused by anything else, and finally tried moving it to another computer that had never been used with the DIO card. I'm still getting the error, and the card is nonresponsive. I'm at the limit of my abilities, and would like to know if there's anything else I can do, or should we send the card back to NI for repair/diagnosis.
    Thanks.

    Duplicate Post
    Best Regards
    Hani R.
    Applications Engineer
    National Instruments

  • Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of '

    When I deploy the cube which is sitting on my PC (local) the following 4 errors come up:
    Error 1 The datasource , 'AdventureWorksDW', contains an ImpersonationMode that that is not supported for processing operations.  0 0 
    Error 2 Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Adventure Works DW', Name of 'AdventureWorksDW'.  0 0 
    Error 3 Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Customer', Name of 'Customer' was being processed.  0 0 
    Error 4 Errors in the OLAP storage engine: An error occurred while the 'Customer Alternate Key' attribute of the 'Customer' dimension from the 'Analysis Services Tutorial' database was being processed.  0 0 

    Sorry hit the wrong button there. That is not entire solution and setting it to default would work when using a single box and not in a distributed application solution. If you are creating the analysis database manually or using the wizard then you can
    set the impersonation to your heart content as long as the right permission has been set on the analysis server.
    In my case I was using MS Project Server 2010 to create the database in the OLAP configuration section. The situation is that the underlying build script has been configured to use the default setting which is the SQL Service account and this account does
    not have permission in Project Server I believe.
    Changing the account to match the Project service account allowed for a successful build \ creation of the database. My verdict is that this is a bug in Project Server because it needs to include the option to choose impersonation when creating the Database
    this way it will not use the default which led to my error in the first place. I do not think there is a one fix for all in relations to this problem it is an environment by environment issue and should be resolved as such. But the idea around fixing it is
    if you are using the SQL Analysis server service account as the account creating the database and cubes then default or service account is fine. If you are using a custom account then set that custom account in the impersonation details after you have granted
    it SQL analysis administrator role. You can remove that role after the DB is created and harden it by creating a role with administrative permissions.
    Hope this helps.

  • How can we view the data asociated with Request ID

    Hi All,
    I have data loaded in an ODS there are multiple files loaded in this ODS. Now i want to view data for a perticuler request OR i want to know how can we know the data associated with a perticular request.
    Please help me out.
    Thanks & Regards
    Amit Kumar

    Copy the request number (not request ID) from the ODS manage screen, Goto RSRQ give the request number and execute. it shows the monitor screen- now goto PSA from the top and check the data. But this possible only if you are loading data to PSA also along with ODS.
    Otherwise, Goto Display Data of ODS from the right click on it -- in the selection screen give the Request ID that you want to check the data. Then it displays only that request data.
    Hope this helps.
    Veerendra.
    Edited by: denduluri veerendra kumar on Dec 1, 2009 12:40 PM
    Edited by: denduluri veerendra kumar on Dec 1, 2009 12:43 PM

  • Can Group1 and Group2 of the PCI-DIO-32HS 6533 card be configured at the same time?

    Can the PClk1 and PClk2 run simultaneously when both groups 1 and 2 are configured?

    Tmax,
    Yes, both Group 1 and Group 2 of the PCI-DIO-32HS can be configured at the same time. Furthermore, both PCLK1 and PCLK2 can run simultaneously.
    Good luck with your application.
    Spencer S.

  • How to use the PCI-DIO-32HS counter

    I have to create a SPI, I'd like to use counter, but the card doesn't answer, so Labview bug. Do you if there is programmable/configurable counter on this Card?

    Hello,
    The PCI-DIO-32HS does have a counter onboard. However the counter is only used for generating an internal clock in order to do pattern generation. You cannot program this counter in LabVIEW. If you need a counter, I would look at using an M Series Board, or a 660X board.
    Best regards,
    Justin T.

  • How to recover in the Scrip the data associated with %TOSELECTION%

    In the ADVANCE of the logic package I have written the following PROMPT:
    PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Select the members to COPY and where to","%CATEGORY_DIM%,%TIME_DIM%")
    What I would like to know is how to recover the data associated with %TOSELECTION% in the Script.
    The script code is the following:
    *XDIM_MEMBERSET FLOW=F99P
    *XDIM_MEMBERSET GROUPS=NON_GROUP
    *XDIM_MEMBERSET RPTCURRENCY=LC, EUR
    *XDIM_MEMBERSET C_DATASRC=INPUT
    *WHEN C_ACCT.ACCTYPE
    *IS INC,LEQ
           *REC(FACTOR=-1,C_CATEGORY=????,TIME=????)
    *IS AST
           *REC(FACTOR=1,C_CATEGORY=????,TIME=????)
    *ENDWHEN
    *COMMIT
    I must copy both category and time, with the selection of values brought by %TOSELECTION%, but I´m not sure how to recover this data.
    I've read other post
    the problem there is similar but no solution is provided
    Could you help me??
    Thanks in advance.
    Almudena

    hello
    have a look here, I think it could help you
    In what variables are stored COPYMOVEINPUT prompt members ?

  • Decisions based on the data acquisition in Labview

    Hello
    how can make decisions in labview based the output of the data acquisition..
    For example. if I have a voltage comming in from the light sensor...and lets say I want run the for loop this many times if the voltage comming out is greater than some threshold...any examples.
    Thanks
    SK

    1. What makes you think the for loop does not iterate?  If the Start Stop toggle switch is in the Stop position, the while loop inside the for loop will never end so the for loop will stay in its current iteration waiting for the while loop.  If the switch is true, then the for loop will run through its 10 or 20 iterations in 1 or 2 seconds.
    2. It is usually better to create and start the task outside the loop, write the data inside the loop and then clear the task after the loop finishes.
    3. Your indexing of the boolean array to write can be done very simply with the Quotient & Remainder function and a Subtract from 3 inside the false case of the CCLW/CLW structure.
    Run your VI with Highlight Execution (the light bulb on the block diagram toolbar) turned on and watch what it does.
    Here is a cleaned up version of your diagram showing the simplified indexing.
    Lynn

  • Wary about upgrading my wife's 3gs from ios4 to ios6. will the data associated with an app be lost or will it be restored from the backup after the upgrade completes. There is no way to export, email or even print the data contained in the app

    wary about upgrading my wife's 3gs from ios4 to ios6. will the data associated with an app be lost or will it be restored from the backup after the upgrade completes. There is no way to export, email or even print the data contained in the app so I am concerned

    If the backup and restore takes place properly, you shouldn't have any issue as millions of people have done an update from iOS 4.

  • SLOW MAC: Why does my mac run faster during the "erase free space" operation?

    Hi community!
    So I've been using my Macbook Pro Late 2012 edition for just over a year and a half now, and to no surprise, I find the spinning beachball whirling away more often than I'd care to see it. So I start a full mac clean-up including deleting login items, using Appzapper to clear up my apps, using Onyx to clear up some cache elements, deleting unused files and freeing up hard drive space.
    I've successfully cleared over 60% of disk space, (200GB used, 300GB free), but I find a recurring problem persisting, despite my best efforts to get rid of it. You see, every few seconds, the spinning beach ball appears and freezes up my entire desktop no matter what I'm doing. Trying even the simplest things, like opening the apps in the dock or right clicking a file takes ages, movies freeze up all the time, regardless of what app plays them, finder is slow and it has nothing to do with my ram usage (I use the app FreeMemory to check in real-time how much I'm using) or my CPU usage (Activity monitor open at all times). It has to be the drive.
    So then I tried running ClamXav, and found a windows trojan, which I deleted manually, but no change.
    Now, during all these stages I was regularly running erase free space opeartions (Fast x1), and noticed something curious: during the operation, my problem disappears. I still get occasional loading beach balls, and ocassional jumps in movies, but other than that, I can use my mac normally again.
    So now, I'm constantly running erase free space operations and it's painfully annoying to say the least.
    I've tried defragging, to no avail.
    I had the problem on Mountain Lion, and upgraded to Mavericks thinking that could change it (by the way it took 18 hours to install mavericks, don't know if that's related).
    In other words, I need your help. Does anybody know if I've no choice but to buy an external hardrive, backup my data, and erase my entire homedrive? Can this situation still be salvaged?
    Thanks!

    EtreCheck version: 1.9.12 (48)
    Report generated 17 Jun 2014 08:24:26 GMT+2
    Hardware Information:
              MacBook Pro (13-inch, Mid 2012) (Verified)
              MacBook Pro - model: MacBookPro9,2
              1 2.5 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: (null)
                        Color LCD 1280 x 800
    System Software:
              OS X 10.9.3 (13D65) - Uptime: 1 day 0:37:38
    Disk Information:
              APPLE HDD TOSHIBA MK5065GSXF disk0 : (500,11 GB)
                        EFI (disk0s1) <not mounted>: 209,7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499,25 GB (287,47 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5970H 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Configuration files:
              /etc/hosts - Count: 15
    Gatekeeper:
              Anywhere
    Kernel Extensions:
              [loaded] com.Cycling74.driver.Soundflower (1.6.2 - SDK 10.6) Support
              [not loaded] com.anchorfree.tun (1.1.1 - SDK 10.8) Support
              [not loaded] com.iospirit.driver.RBTSRPlugin (1.18 - SDK 10.6) Support
              [loaded] com.iospirit.driver.rbiokithelper (1.21 - SDK 10.6) Support
              [loaded] com.manycamllc.driver.ManyCamDriver (0.0.9 - SDK 10.5) Support
              [not loaded] com.paceap.kext.pacesupport.leopard (5.8 - SDK 10.4) Support
              [not loaded] com.paceap.kext.pacesupport.master (5.8) Support
              [not loaded] com.paceap.kext.pacesupport.panther (5.8 - SDK 10.3) Support
              [loaded] com.paceap.kext.pacesupport.snowleopard (5.8 - SDK 10.6) Support
              [not loaded] com.paceap.kext.pacesupport.tiger (5.8 - SDK 10.4) Support
              [not loaded] com.roxio.BluRaySupport (1.1.6) Support
              [not loaded] com.roxio.TDIXController (2.0) Support
              [loaded] com.waves.driver.soundgrid (2.0.0) Support
              [loaded] net.osculator.driver.OSCulatorIOKit (2.0 - SDK 10.5) Support
              [loaded] org.virtualbox.kext.VBoxDrv (4.2.16) Support
              [not loaded] org.virtualbox.kext.VBoxNetAdp (4.2.16) Support
              [not loaded] org.virtualbox.kext.VBoxNetFlt (4.2.16) Support
              [loaded] org.virtualbox.kext.VBoxUSB (4.2.16) Support
    Startup Items:
              PACESupport: Path: /Library/StartupItems/PACESupport
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.adobe.SwitchBoard.plist Support
              [loaded] com.anchorfree.ajaxserver.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [loaded] com.iospirit.candelair.daemon.plist Support
              [loaded] com.iospirit.candelair.sync.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
              [running] com.paceap.eden.licensed.plist Support
              [running] com.waves.daemon.SoundGridProtocolService.plist Support
              [loaded] net.sourceforge.MonolingualHelper.plist Support
              [loaded] org.macosforge.xquartz.privileged_startx.plist Support
              [loaded] PACESupport.plist Support
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.adobe.CS5ServiceManager.plist Support
              [loaded] com.google.keystone.agent.plist Support
              [running] net.culater.SIMBL.Agent.plist Support
              [loaded] org.macosforge.xquartz.startx.plist Support
              [running] org.tigris.scplugin.launch.plist Support
    User Launch Agents:
              [loaded] com.facebook.videochat.[redacted].plist Support
              [not loaded] org.virtualbox.vboxwebsrv.plist Support
    User Login Items:
              iTunesHelper
    Internet Plug-ins:
              Flip4Mac WMV Plugin: Version: 3.0.0.126   - SDK 10.8 Support
              FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
              Default Browser: Version: 537 - SDK 10.9
              Flash Player: Version: 13.0.0.214 - SDK 10.6 Outdated! Update
              QuickTime Plugin: Version: 7.7.3
              o1dbrowserplugin: Version: 5.4.2.18903 Support
              zako: Version: zako 1.0.0.0 - SDK 10.8 Support
              SharePointBrowserPlugin: Version: 14.0.0 Support
              googletalkbrowserplugin: Version: 5.4.2.18903 Support
              Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
              JavaAppletPlugin: Version: Java 7 Update 21 Check version
    Safari Extensions:
              ChatZum: Version: 1.31
              AdBlock: Version: 2.6.0
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Kaleidostrobe: Version: 1.0.0 ©2002 Shehryar Lasi
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              BlueStacks Install Detector: Version: Unknown
              Google Earth Web Plug-in: Version: 7.1 Support
    3rd Party Preference Panes:
              Flash Player  Support
              Flip4Mac WMV  Support
              Growl  Support
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   3%          SGProtocolService
                   2%          codesign
                   2%          VLC
                   1%          coreaudiod
                   1%          CVMCompiler
    Top Processes by Memory:
              131 MB          VLC
              131 MB          com.apple.IconServicesAgent
              127 MB          Google Chrome
              111 MB          mds_stores
              60 MB          WindowServer
    Virtual Memory Information:
              1.23 GB          Free RAM
              1.15 GB          Active RAM
              913 MB          Inactive RAM
              661 MB          Wired RAM
              2.61 GB          Page-ins
              96 MB          Page-outs
    Any clues?

  • Performance Optimization during the Data Archiving Initial runs

    Dear Experts,
    We are running archiving jobs (Write Job & Preprocessing Jobs) which are running for nearly 56hrs. It is writting and analyzing nearly 4 million records.
    Any suggestions to improve the performance for running these jobs to complete in less time. Its ISU Archiving.
    I have gone through Many SAP Notes, but i'm unable to find related to improving performance during the archival runs. These are initial runs.
    Thank You,
    Mahesh C

    You should check the sql statements that are being executed by these runs.. Possibly by adding additional indexes you can speedup the process.
    Kind regards,
    Mark

Maybe you are looking for

  • Two Apple IDs, Two Icloud accts, two contact data bases??

    Hi all, I hope you might help me sort this mess out. Thanks in advance. I have two Apple IDs - one of those ids is tied to iTunes and is my primary account, as it is linked to the Itunes store, my Iphone and Ipad. It has 5gb of which 4 is used for ba

  • HELP PLEASE!!! ipod will not update!!!

    i have had my ipod mini for a little over a year. i currently have about 900 song on my Itunes Library. However, once i got to almost 900 songs, my itunes started saying that "songs on the ipod cannot be update because all of the playlists selected f

  • PDF Download in IE 5.5

    I am facing a peculiar problem, regarding Saving PDF to client machine. I am trying to save the pdf file by popping up a Save As dialogue box. This works fine with IE 6.0 and IE 5.5 (basic), but in IE 5.5 SP1,2 the browser opens a Save as Dialogue bo

  • How to make the border of a linked pciture go away in IE(8)

    picture A links to picture B. A blue border around picture A appears and when I clicked picture A which now links and displays pictures B, but after going back to the page that contains picture A, there is a purple color border appears on picture A i

  • Labview FPGA: Why not have local variable without indicator?

    In Labview FPGA, to transfer data among parallel loops, there are three ways or maybe more, local variable, global variable and block memory. The problem with local variable is that it needs an indicator along with, not like global variable. I was th