Number of samples read is not equal to number of AI Sample Clock pulses - why?

Dear Community,
I am using several PXI-4472s for acquisition and at the same time I am routing the AI Sample Clock signal to a PXI-6608 counter/timer card so that I can time stamp each sample.
Unfortunately I am finding that I always get more AI Sample Clock pulses than samples, so I don't know which time stamp corresponds to which sample. Why is that?
For acquisition I am using something very much like the following DAQmx Sync and Stream example:
Sync and Stream.vi
After stopping the tasks, I use DAQmx Read vi again to read whatever samples might be left in the buffer, but that request always comes back empty. I can't figure out if there are AI Sample Clock pulses at the beginning of the task that don't actually acquire any data, or if I have data left over in the buffer after I stop the task that I am not reading properly.
Any help would be greatly appreciated!
Cas

Cas,
DSA boards (like the 4472) differ from standard DAQ devices. While most DAQ devices use a relatively common type of ADC known as a sequential approximation ADC, a DSA device uses a more specialized ADC known as a Delta-Sigma ADC for its measurements. Delta-Sigma ADCs allow for very precise measurements, and this precision is accomplished by oversampling (frequently 128x or 256x the sampling rate that is being used).
The above is a very brief explanation of the DSA board's inner workings. It is discussed in more detail in the document linked below. If after reading that tutorial, you still have questions, please post back so that this forum can assist you.
Synchronization with Dynamic Signal Acquistion (DSA) Products with DAQmx
Best of luck with your application.
Regards,
Jed R.
Applications Engineer
National Instruments

Similar Messages

  • Argument error; the number of columns does not equal the number of parameters.

    I am using the Database Toolkit (Enterprise Connectivity) to check for a network connection and then send information from a local database to a SQL database on the network if needed.  In development of the code I continue to receive Error 1 and the Possible Reason(s) is "Argument error; the number of columns does not equal the number of parameters."  I am using the DBToolsSelectData.VI to retrieve data from the local MDB file and the DBToolsInsertData.VI to write it to the SQL file.  The collection of the data from the MDB file is successful and the connection and validation of the table and columns in the SQL file is also successful.  The error occurs when the Insert VI tries to build the query.  The number of columns being written (attempted) does match the number of columns in the data, they are both 16 string arrays.

    Ok, it's taken a bit, and I have a solution! It took a while to figure out what the DCT is doing, but it seems to be working now.
    The reason for the original error is that you were passing into the insert subVI an array of variants - which the input to the VI coerced into a single variant. You were getting the error because as far as the insert VI was concerned you were only passing it a single data value. The way to get around that was to create a cluster with one element for each column value, convert the cluster to a variant and pass the result to the insert VI - see attachment.
    In terms of the other modifications, I made a copy of the endurance.mdb file, emptied it and used it as the destination for the copy.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    NetworkCheck.vi ‏49 KB

  • Serial number on CD box does not match serial number on actual program

    I recently bought LR3 on disk and have installed it. I also installed the upgrade to 3.6, however, I was never prompted to register the product's serial number. Furthermore, when I chcked the product's serial number on the program itself, I found the number on the program is different from the one on the CD box I have. I previously had a different LR3 installed (my friend's) and I thought I uninstalled it on my iMac (OS Lion) before installing my purchased copy of LR3. I even deleted the data files that are hidden. But the serial numbers are still different.
    Is this how it should be? Any help would be great, thanks!

    I previously had a different LR3 installed (my friend's) and I thought I uninstalled it
    Sure, but you didn't deactivate, which is a separate thing. Help --> Deactivate or About Lightroom --> Deactivate is probably your friend - wherever those features may be in the Mac version...
    Mylenium

  • Select statement where column not equal to number

    Hi experts,
    I have a column amount
    id    amount
    1       123.0000000000
    2      33344.0000
    3      66666.36220000000000000000
    4       2122222.7878789799999
    5       444444444
    6       .000000000000000000000
    7        wweeeeeeeeeerr
    8       eeeeeeeeeeeeeet
    I want to get :
    id         amount
    7        wweeeeeeeeeerr
    8       eeeeeeeeeeeeeet Thanks in advance

    i am getting my amount from txt file
    Iam loading that into external files and then to the database tables
    intially i will get amount(it should have only numbers) as varchar2
    (But , when iam loading into tabes i will convert that into number using CAST function.)
    When loading , Iam getting invalid number error

  • Number of mail messages does not match the number in mail activity

    This is not a big deal but I have noticed that when mail arrives the Mail Activity window tells me how many incoming messages are being downloaded. This number often bears no relationship to the number that arrive. For example it might read 4 messages are downloading when in reality only 1 arrives. If I look at my webmail all messages are listed. Does anyone know what causes these inconsistencies?

    I do not have any answer, but I have the same problem. AND the RSS feeds do not make up the difference; and yesterday I disabled junk mail filtering. And I've made certain that I have no unread mail left over. Yet Mail Activity reported downloading 16 messages, but I only received 8. This happens daily, but the proportion of unaccounted emails varies.

  • I am trying to download an App in the iTunes Store but I keep getting an error message that reads: "Could not sign in - An unknown error has occured." Why?

    I've downloaded the latest iTunes, set the DNS to 8.8.4.4, set the search domain to google.com, reset my Apple ID and password, restarted iPhone 4, closed out of the iTunes Store App, reset the router, reset the internet connection etc. etc. with no luck still. Everything else on the iPhone and internet connection is 100% functional with the exception of me being able to connect to the iTunes Store to download an app. Why? How do I fix it? Thank you for any and all responses.

    Ok..
    Installing the Mac OS X 10.6.8 Update Combo may help this.
    Restart your Mac after installing the combo then try downloading Lion.
    It's ok to install the combo even though you are already running v10.6.8
    BEFORE you do this make sure your Mac meets Lion's requirements:
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OSX v10.6.6 or later (V10.6.8 recommended)
    7GB of available spare
    From here > Apple - OS X Lion - Technical specifications
    Read this article before upgrading to Lion > Lion upgrade questions: Apple Support Communities
    And here >  What applications are not compatible with Mac OS X 10.7 "Lion"? What upgrade or substitute options are available for common incompatible applications? @ EveryMac.com

  • Old VAT number remains despite new account not needing VAT number.

    I have changed the credit card details for my account for Creative Cloud and paid for a new subscription. However, I was unable to change the VAT number from the previous account details. I am not registered for VAT and want to remove the VAT number. Does anyone know how to do this?

    The VAT has to be removed by Adobe Support, please contact Adobe support to get the VAT removed, it will done.
    A case will raised, worked upon & closed on resolution.
    Regards
    Rajshree

  • BI analysis authorization- checking for not equal to values

    hello,
    the info provider (ZIC_COPA) is having auth. relevant char. are 0COMP_CODE, PLANT, 0SALESORG.
    When i am executing query which is built on ZIC_COPA info provider. It is checking all above charcteristics value. But in RSECADMIN i found that system is checking for not equal to values. For ex. please see below RSECADMIN trace. It is checking not equal to values for PLANT. does anybody know why it is checking NOT PLANT IN values??
    0COMP_CODE
    0PLANT
    0SALESORG
    SQL Format:
    COMP_CODE IN ('1000',,'3200')
    AND NOT PLANT IN ('1000','3200')
    AND SALES
    ORG IN ('1000',','3200',')
    AND TCAACTVT = '03' 
    Note: There is no hardocoding or exclusion values in the query.
    Regards
    Imran
    Edited by: Imran  Mulani on Jun 21, 2009 1:13 PM

    ok

  • Trial version will not accept seriel number

    I was informed today in chat with online help. I wanted to download an update for my Acrobat 8 Proff, and was told/informed to order Adobe Creative Suite 5.5.in Danish.
    I have ordered, payed, I have got a seriel number by mail (today), and the person informed me to follow a link from chat for a trial version to download.. Now I have downloadet, and i have to choose to fill in the seriel number og choose the trial version. The trial version is not in Danish. When I fill in the seriel number, I get the message, that the number do not fit.
    Please help, I have to get the program to work to day!

    Hi Vikrant Rai!
    It is CS 5.5. Ordered and payed for to day.
    I think, I was misinformed by your colleges. Because in the chat I was informed to order the program, pay, and then I got a link in the chatroom for downloading a trialversion. Så I downloaded the trialversion, wich is in English, but I ordered a Danish version.
    my order number is AD002920900, my seriel number is xxxx-xxxx-xxxx-xxxx-xxxx
    I´m afraid, that you will tell me to uninstall (it took several hours to download) the trialversion, and then download the product, I have paid for.
    Med venlig hilsen
    Lisbet Henneby Nielsen
    Direkte: 63 13 38 26
    E-mail: [email protected]
    Henneby Nielsen
    Rådgivende Ingeniørfirma A/S
    Østre Stationsvej 43 - 5000 Odense C
    Tlf.: 63 13 38 00  - Fax: 66 14 89 20
    E-mail:[email protected]<mailto:[email protected]>
    Web:www.henneby.dk<http://www.henneby.dk>
    Fra: Vikrant Rai [email protected]
    Sendt: 15. december 2011 15:39
    Til: Lisbet Henneby Nielsen
    Emne: Re: Trial version will not accept seriel number Trial version will not accept seriel number
    Re: Trial version will not accept seriel number
    created by Vikrant Rai<http://forums.adobe.com/people/Vikrant+Rai> in Downloading, Installing, Setting Up - View the full discussion<http://forums.adobe.com/message/4086650#4086650

  • C5 - does not show any number of incoming calls

    Dear all,
    I've bought a brand new Nokia C5 (7 days ago).
    Whenever I get a call from which number ever, the C5 does not show
    any number or contact detail at all?
    Does anyone from you know this phenomenon???
    Thanks in advance.
    Kind regards,
    Kai

    Hi,
    I cannot see the connection between the memory and the fact that the C5 does not show any number of any incoming calls. Even if it is not one of my contacts, who is calling, I would expect to see at least the number of the person, who calls (assumed the number is broadcasted by the sender) me.
    The C5 only displays 'Anruf', but no number or contact detail at all.
    Kind regards,
    Kai

  • How do I get the red number of already read e-mails NOT to show up in the iMail icon on the dock? I only want the number of "unread" e-mails to display in red on the iMail icon.

    How do I get the red number of already read e-mails NOT to show up in the iMail icon on the dock? I only want the number of "unread" e-mails to display in red on the iMail icon.

    Your last post is blank, which happens a lot to users who try accessing the forum through email rather than its web interface.
    You are also in the wrong forum here.  We don't do Ps Elements here.

  • Read internal table with key not equal to

    Hi,
    How can I read internal table with key not equal to some other field.
    Basically in read statement we can read only fields equal to others fields.

    Hi,
    Test the following Code you can Use Loop at for this But not Read Table
    DATA: BEGIN OF it_test OCCURS 10,
      f1(4),
      f2 TYPE i,
      f3(2),
      END OF it_test.
    DATA: it_test2 LIKE STANDARD TABLE OF it_test WITH HEADER LINE.
    it_test-f1 = '1000'.
    it_test-f2 = 10.
    it_test-f3 = 'B'.
    APPEND it_test TO it_test.
    it_test-f1 = '2000'.
    it_test-f2 = 10.
    it_test-f3 = 'A'.
    APPEND it_test TO it_test.
    it_test-f1 = '1000'.
    it_test-f2 = 10.
    it_test-f3 = 'B'.
    APPEND it_test TO it_test.
    it_test-f1 = '1000'.
    it_test-f2 = 10.
    it_test-f3 = 'A'.
    APPEND it_test TO it_test.
    it_test-f1 = '1000'.
    it_test-f2 = 40.
    it_test-f3 = 'A'.
    APPEND it_test TO it_test.
    LOOP AT it_test INTO it_test WHERE f3 NE 'A'.
      WRITE: / it_test-f1, it_test-f2, it_test-f3.
    ENDLOOP.
    Kind Regards,
    Faisal

  • Length specified in network packet payload did not match number of bytes read; the connection has been closed.

     Hello every one
    I am getting this in my event log from time to time . not sure what is that ?
    Is this a hacker trying to send rubbish data to SQL through the port ?
    Any help is appreciated .
    Length specified in network packet payload did not match number of bytes read; the connection has been closed. Please contact the vendor of the client library. [CLIENT: someip]

    Thank you all for the reply  , 
    my server is on port  1533 . Port  1433  is closed  on my server .
    All the requests are coming from my own ip , i feel this is funny . 
    Is my server hacked then ? 
    Or could be my ISP doing any routine tests ? 
    Also is this is hack attempt , what does this hacker think he will benefit from this ? Could this bring the SQL  server down  ?  
    I was thinking about chaning port to something else ,  1344 or something , u think this can be better  ?

  • Sample size does'not appear in QA02 of created Inspection lot Number.

    Hi Experts,
    I have created a production order of a material and its Inspection lot is automatically created but the inspection lot created does'not have sample size from the stock as a result I am unable to perform result recording of a inspection lot.
    Please correct me if i am wrong.
    Thanks
    Saurabh

    Dear Saurabh Mishra.
    Kumar & Barjatya's said is right. and more you can consider for solve this problem as below step;
    - You must change the sampling procedure in the inspection plan. After you have reset the sample
      in QAC3
        1. First you must change the sampling procedure to fixed sample (assuming  you have 100%
            inspection at present) in QDV2 or 
            create a new sampling procedure (as Naik remarked) with fixed sample in QDV1
        2. Then assign the changed sampling procedure in the inspection plan through QP02
        3. Then assign a sample quantity in the inspection plan in the same transaction (QP02) for the
            inspection characteristic to be inspected
        4. Save the inspection plan, and run QA02 where you re-assign the updated inspection plan and
           re-do sample calculation.
           For GR based lot i have already stated what has to be done. In case of an inspection lot caused
           due to the GR from a process or purchase order, cancel the GR. The inspection lot is also
           cancelled. Then follow steps 1 to 3. In the 4th step after saving the inspection plan, simply do the
           GR again, It should work out.
    Regards,
    Jeong, Yeong-Chul

  • Not Equals Function is not working in Mapping

    Hi All,
    i have to do mappig based on the Not Equals & And conditions
    If the Material Group starts with "F"
                            And Material Type Not Equals to "ZPRO" means
                                        then send "FG" Else "FC"
    Here Not Equals & And Functions are not giving success, Error throwing like
    Cannot cast ZPRO to boolean] in class com.sap.aii.mappingtool.flib3.Bool method not[ZPRO
    Please help in this
    Regards

    i have to do mappig based on the Not Equals & And conditions
    If the Material Group starts with "F"
    And Material Type Not Equals to "ZPRO" means
    then send "FG" Else "FC"
    Here Not Equals & And Functions are not giving success, Error throwing like
    Cannot cast ZPRO to boolean] in class com.sap.aii.mappingtool.flib3.Bool method not[ZPRO
    the logic applied is incorrect
    NotEquals is a boolean function meaning it will accept only boolean values as input....
    To check if the Material Number is ZPRO or not use the below logic
    MaterialNumber                                            Then(FG)
                          ------equalS(TextFunction) ---- not -----ifWithElse ------------------ Target
    Constant (ZPRO)                                                   Else(FC)
    Regards,
    Abhishek.

Maybe you are looking for

  • Record vs object vs globle table in pipelined function

    i want to make pipeline function , i show it can be made in following ways please suggest which one is better in performance and maintenance. 1) create type my_tab_type is object (prodid number, a varchar2(1), b varchar2(1), c varchar2(1), d varchar2

  • Proper way to get the latest published Major version of Document

    Hi, I have a Document Library which has "Create major and minor (draft) versions" enabled. Now, from my C# application I need to fetch the latest major version of a document from that library. What is the proper way to do this? As of right now, I do

  • My Z10 is dead after latest OS update

    Hi, I bought my Z10 in June 2013 at Reliance Digital Shop of Gurgaon and it was working fine after i switched using BB Link but 3 days ago I updated the OS with latest offering and then first my password keeper stop working and then from yesterday it

  • IPod Nano Replacement UK Shipping?

    Hey guys, new to this forum / community, I was enquiring about my iPod Nano replacement, I shipped it on the 3rd so a Saturday by Royal Mail UK and I havent got a response yet, its been 4 business days and Im quite scared wonder if its been lost thro

  • My Iphone 3G will not synch

    So I downloaded Itunes, then I put songs and apps on it, normarl routine. Then I wanted to synch my Iphone 3G so all I had done on Itunes could be transfered on my Iphone. But Itunes will not recognize my phone, it won't even appear on the left side.