Data collection was switched from an AI Config task writing to an hsdl file to synchronized DAQmx tasks logging to TDMS files. Why are different readings produced for the same test?

A software application was developed to collect and process readings from capacitance sensors and a tachometer in a running spin rig. The sensors were connected to an Aerogate Model HP-04 H1 Band Preamp connected to an NI PXI-6115. The sensors were read using AI Config and AI Start VIs. The data was saved to a file using hsdlConfig and hsdlFileWriter VIs. In order to add the capability of collecting synchronized data from two Eddy Current Position sensors in addition to the existing sensors, which will be connected to a BNC-2144 connected to an NI PXI-4495, the AI and HSDL VIs were replaced with DAQmx VIs logging to TDMS. When running identical tests, the new file format (TDMS) produces reads that are higher and inconsistent with the readings from the older file format (HSDL).
The main VIs are SpinLab 2.4 and SpinLab 3.8 in folders "SpinLab old format" and "Spinlab 3.8" respectfully. SpinLab 3.8 requires the Sound and Vibration suite to run correctly, but it is used after the part that is causing the problem. The problem is occuring during data collection in the Logger segment of code or during processing in the Reader/Converter segment of code. I could send the readings from the identical tests if they would be helpful, but the data takes up approximately 500 MB.
Attachments:
SpinLab 3.8.zip ‏1509 KB
SpinLab 2.4.zip ‏3753 KB
SpinLab Screenshots.doc ‏795 KB

First of all, how different is the data?  You say that the reads are higher and inconsistent.  How much higher?  Is every point inconsistent, or is it just parts of your file?  If it's just in parts of the file, does there seem to be a consistent pattern as to when the data is different?
Secondly, here are a couple things to try:
Currently, you are not calling DAQmx Stop Task outside of the loop; you're just calling DAQmx Clear Task.  This means that if there were any errors that occured in the logging thread, you might not be getting them (as DAQmx Clear Task clears outstanding errors within the task).  Add a DAQmx Stop Task before DAQmx Clear Task to make sure that you're not missing an error.
Try "Log and Read" mode.  "Log and Read" is probably going to be fast enough for your application (as it's pretty fast), so you might just try it and see if you get any different result.  All that you would need to do is change the enum to "Log and Read", then add a DAQmx Read in the loop (you can just use Raw format since you don't care about the output).  I'd recommend that you read in even multiples of the sector size (normally 512) for optimal performance.  For example, your rate is 1MHz, perhaps read in sizes of 122880 samples per channel (something like 1/8 of the buffer size rounded down to the nearest multiple of 4096).  Note: This is a troubleshooting step to try and narrow down the problem.
Finally, how confident are you in the results from the previous HSDL test?  Which readings make more sense?  I look forward to hearing more detail about how the data is inconsistent (all data, how different, any patterns).  As well, I'll be looking forward to hearing the result of test #2 above.
Thanks,
Andy McRorie
NI R&D

Similar Messages

  • Different Info Packages for the same data source.

    Hi Team,
    I have a question, which i asked before that but i ended up with different solution.
    I want to load 02.2002 to till date into ODS. Data source is 0FI_AR_10.
    My boss wants in this way .
    1) one infopackage for 02.2002 to 02.2005 with init.
    2) one infopack for 03.2005 to 07.2008 with init for the same datasource.
    3) one info pack with no selection criteira.
    What will be the result ?
    My guess is, Once we do init for the time period 02.2002 to 02.2005 ,
    the system with note the timepreiod for the Datasource.
    When i try to do Init for the second, the system will say init already exits for the data source. And it will not allow me to do init for the second selection.
    Correct me if  i am wrong.
    Regards,
    -Sonti-

    Your planned InfoPackages:
    - 1) one infopackage for 02.2002 to 02.2005 with init.
    - 2) one infopack for 03.2005 to 07.2008 with init for the same datasource.
    - 3) one info pack with no selection criteira.
    As the selection criteria of package 1) & 2) do not overlap, is it possible.
    For package 3), you need to do it as delta update instead of initialisation.  Package 3) with no selection criteria overlaps with package 1) & 2).
    Refer to the Help Documentation, which explains this quite clearly.
    Link: [Maintaining InfoPackage - Tab Page: Updating|http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    >For selection criteria that do not overlap, several initialization criteria are possible for initializing the delta process when scheduling InfoPackages for data from an SAP system. This gives you the option of loading the relevant data for the delta process, step by step into the Business Information Warehouse. For example, you can load the data into BI for cost center 1000 in the first step, and the data for cost center 2000 in the second step.
    >A delta requested after several initializations, contains the super set of all the successful initial selections as a selection condition. This selection condition can then no longer be changed for the delta.
    Hope this help.

  • My pc has a virus I just downloaded song from pc to kids ipods now both ipods are not working correctly could the virus be in the ipods,  if not why are both not working doing the same thing right after unplugging from pc.

    Can an ipod get a virus from a pc that has a virus.  After connecting two different ipods to my pc to download music they both are not working correctly, could the virus have transferred to the ipod,  if not why would both ipods not work and be doing the same thing?  When trying to click on a game it just stays on the main screen.

    - I have not heard of a virus that can cause problem with an iDvice that has not been jailbroken.
    - Try resetting the iPods. nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Do you hve problems with one game? The same game on both iPods?
    Other apps?

  • I forgot to enable sync on multiple devices hence I lost the data that was synced from my desktop.

    I had enabled firefox sync only on my desktop and forgot to enable sync on multiple devices.
    I lost the data that was synced from my desktop as I have re-imaged my system with new OS and when i login into the sync account none of the bookmarks are recovered.
    Can Firefox team provide me the data that was synced?

    Hi darikere,
    Unfortunately Sync was not meant to be a back up service. I am sorry for the inconvenience.

  • I just upgraded my data plan from 6GB to 10GB for the same rate of $80 is this a promotion? If yes, when does the promotion end? Thank you.

    I just upgraded my data plan from 6GB to 10GB for the same rate of $80 per month. Is this a promotion? If yes, when does the promotion end?

    In most cases you keep the same plan and promotions even when you upgrade the phone.  There are exceptions for very old plans and unlimited data, but essentially mrhelper is correct. You have option to "keep current plan" when upgrading.  so in most cases, your statement that you will go back to $100 for 10 GB when upgrading is incorrect.  What was your particular circumstance?

  • I bought the company unlocked phone from apple store Canada. It was originally loaded with software 4.2 and was working fine here in SaudiArabia.  Yesterday I updated with IOS 5.0.1.  Now it is showing that sim is not valid.  The same sim works in other p

    I bought the company unlocked phone from apple store Canada. It was originally loaded with software 4.2 and was working fine here in SaudiArabia.  Yesterday I updated with IOS 5.0.1.  Now it is showing that sim is not valid.  The same sim works fine in other phones.

    Here's and update on my problems and here are are some screen shots of the types of problems I've been having since the v5.0.1 update. Keep in mind these are native apps and I have tried the rebuild phone crap many times, nothing helps.
    This is screen shot of a what happened when I tried to use my camera one day, both the front and back cameras were all black. I had to power cycle the phone to get rid of this problem. The cameras appeared to be working correctly, I could focus and zoom but it was all black.
    Here is an image of what happened when I searched for something in a map. This is after I picked the choice I wanted, the keyboard disappeared but the list didn't. I had to force close the app and restart it for this problem to go away. Who knew five bars on ATT was possible.
    And finally this is the messaging app, although you would not know it. I had to return to home screen (after a long pause for it to process the button push) and return to the messaging app. This happens all the time with the messaging app and the notifications sounds drive me crazy. If  i'm using the phone, say browsing the web and I get an incoming message its almost 100% of the time the messaging app will screw up. The sound will play at the wrong time or not at all, message will show up in notifications and diasapear in message app or Ill have a problem like this:

  • Why charged me twice for the same item? They have withdrew money from my bank account for the second time about half an hour later after the transaction was completed leaving me overdrawn.

    Why charged me twice for the same item? They have withdrew money from my bank account for the second time about half an hour later after the transaction was completed leaving me overdrawn.

    Hi Benjamins,
    I've checked your account—you have two ExportPDF subscriptions. One placed on October 20 2013, and the other placed on October 11 of this year. So, you were probably charged the auto renewal for the subscription placed in 2013, and then the new charge for this year's order.
    Please Contact Customer Care so that an agent can help get things situated for you. There's no reason to have two subscriptions to the same service, so an agent can help you cancel one, if you'd like.
    Best,
    Sara

  • TS1424 I purchased songs from an EP then bought the album once it was released and have been charged twice for the same song when I already own it. How do I get refunded?

    I purchased songs from an EP then bought the album once it was released and have been charged twice for the same song when I already own it. How do I get refunded?

    Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • TS1424 I purchased an album from the itune store and was charged twice for the same album. How can I correct this?

    I purchased an album from the itune store and was charged twice for the same album. How can I correct this?

    You can contact iTunes support and ask them to refund or credit you for the second charge : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • HT204088 I was charged twice for the same purchase and I can't find a place to make contact for a refund from the iTunes store...

    ON August 7th this year I purchased  an ibook and was charged twice for the same book, so I would like to get a refund for one ...
    Where can this trensaction be done? I'm having a problem finding the location.

    You can contact iTunes support here and ask for a refund/credit for the duplicate charge : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I was charged twice for the same order!

    I was charged twice for the same item; once for my online pre-order through BestBuy.com and again when I picked up the item at the Best Buy Store.
    I pre-ordered an Xbox One - Day One Edition from BestBuy.com on 09/02/2013. I scheduled to pick up the item at the Best Buy Store in Eden Prairie after the Microsoft release date of 11/22/2013. On 11/25/2013 I arrived at the Eden Prairie Best Buy excited to pick up my Xbox One - Day One Edition.
    The Best Buy staff had difficulty linking the pre-order to the in-store pick up. They couldn't confirm if I already paid for the item through BestBuy.com. They asked for my various email addresses and phone numbers and I was required to show them my ID which matched the name on the sticker which was placed on the side of the pre-ordered item. I waited 10-15 min at the checkout until the 3 Best Buy employees troubleshooting the transaction were satisfied. Little did I know, I was being charged twice for the same item! Once for my online pre-order through BestBuy.com and again at the store when I was picking up my item! The worst part is that during the confusion during the in-store pickup, the Best Buy staff created a new transaction ticket to complete the checkout. This created a new entry in their system which claimed that I picked up two Xbox One - Day One Editions! I would like to point out that the Day One Edition could only be obtained through the pre-order process, and only one pre-order was allowed per person!  (This was Best Buy's Policy) My transaction involved only one pre-order number! (removed per forum guidelines) This makes it impossible to sell me (2) Xbox One - Day One Editions.
    On 11/25/13 I received 2 paper documents along with (1) Xbox One - Day One Edition with serial number: (removed per forum guidelines) from the Eden Prairie Store.
    1. A Best Buy Pick-up Acknowledgement for $536.36 for order number (removed per forum guidelines). This document did not contain a serial number for the item. The document was printed at 6:31PM.
    2. A standard Best Buy receipt for $536.36 printed at 6:35PM. (4 minutes after the first document) This document did contain a serial number for the item: (removed per forum guidelines).
    Now for the two charges:
    1. The first charge on my card ending in 8754 was on 11/22/13 for $536.36 from BestBuy.com.
    2. The second charge on my card ending in 8754 was on 11/26/13 for $536.36 from Best Buy Eden Prairie.
    I noticed the additional charge error after I returned the item (that I was charged twice for -Serial Number: (removed per forum guidelines) on 01/02/14. I checked my account to make sure I was refunded and I noticed I was charged twice. At this time I spoke with the Best Buy Customer Service at the Best Buy Eden Prairie Store. They recommended I call the Best Buy number on the receipt to sort it out. I called the number and due to the holiday congestion I was unable to connect with a Best Buy Representative after waiting for an hour. I again contacted the Best Buy Customer Service at the Eden Prairie Store and they recommended I file a claim with my bank.(Wellsfargo)
    I filed a claim with WellsFargo ((removed per forum guidelines)) but after 4 weeks the issue did not get resolved.
    After the Wellsfargo claim failed I filed two new claim numbers with Best Buy in hopes that working with Best Buy:
    1. Best Buy Claim # (removed per forum guidelines)
    2. Best Buy Claim # (removed per forum guidelines)
    I also printed the following documents on 06/1/14 and presented them to the store manager for review:
    -Bank account statement showing the two charges 4 minutes apart.
    -A Best Buy Pick-up Acknowledgement
    -A standard Best Buy receipt
    -The return slip from the return on 01/02/14.
    -Screen captures of my email pre-order acknowledgement
    -Screen captures of my email pick-up acknowledgment.
    After spending 2 hours at the service desk I was denied a refund because Best Buy claimed two Xbox One -Day One Edition's were purchased by me, 4 minutes apart, however, Best Buy could only provide one serial number for the transaction. I stated that the claim could easily be settled if they provided the two serial numbers in their system that were sold to me with my signatures. They could not. It is frusterating as the customer because I know there was only one serial number involved in the transaction.
    I then filed a claim with the Better Business Bureau. Best Buy responded that their records show no inventory adjustments therefore they will not issue a refund. To prove that they sold me two xboxs they could simply provide the two serial numbers that they received payment for. Best Buy will not do this because they know they only have proof of one serial number in the transaction.
    I consider Best Buy's response unethical. I don't want to believe that they are in the business of stealing but their lack of understanding and willingness to entertain the possibility that they made a mistake is convincing me otherwise. If you can't prove you sold two items, you have no business in charging for two items. I can prove that I have been charged twice in error. I was also disappointed that they did not address the facts in my claim. Best Buy is losing a customer of over 20 years.
    Thank you for your time in reading my message.

    Hello Consumer777,
    I sincerely appreciate the amount of detail you’ve provided in your post. It appears you’ve been dealing with this scenario for quite some time, and I thank you for bringing it to our attention on the forums.
    I’ve reviewed your case history with Best Buy in regards to this issue, as well as the details of the Better Business Bureau (BBB) case that was opened. We provided our definitive response to the BBB and Best Buy’s decision on the matter has not changed.
    Thank you for sharing your feedback on the forums.
    Sincerely,
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Events cannot have multiple exceptions for the same date

    I just starting getting this message and could not sync to one of my Google calendars. I'm posting this for others who might get the same problem.
    I didn't find the answer on these forums but did find it on this thread on Google:
    http://www.google.com/support/forum/p/Calendar/thread?tid=241155f758d9e2a4&hl=en
    Here's the important excerpt:
    "I had a client, who just had this same issue, nothing to do with Google cals.
    It was apparently, in my best guess, a corruption of the subscribed cal.
    *I did a get info on the cal, copied the URL, deleted the cal, then re-subscribed to it by pasting in the URL, and now it's working fine*."

    I've been having the same problem with my iCal calendars and the "Events cannot have multiple exceptions for the same date" error. Once it gets going, it uses up a lot of the CPU and resources. After reinstalling iCal, all my calendars were missing and I could not even resubscribe to them.
    I took my MacBook Pro to the Apple Store, and they were able to solve the problem by moving some of the iCal files from their existing folders out to the desktop, and reopening the program. That got it working, however, now I'm having the same problem again. So back to square one. Anyone else having this issue and know the cause?
    My setup is my MacBook Pro uses Entourage, use that calendar in my iCal. And I subscribe to two calendars my wife publishes on her Macbook. We're both using Snow Leopard.

  • TS3510 I have 3 different apple devices using the same Apple ID and would like to use FaceTime to call from one device to the other.  Do I need a different Apple ID for one of the devices in order to do that?

    I have 3 different apple devices (iPod Touch, iPad and MacBook Pro) using the same Apple ID and would like to use FaceTime to call from one device to the other.  Do I need a different Apple ID for one of the devices in order to do that?

    I found this on a related question in the Community:
    Yes you can do it. I do it with 4 different devices all using the same Apple ID.
    You need to associate different email addresses for each device in order to use those email addresses as the "contact at" email address. The reason the calls are dropping on you now is that what you are trying to do is like calling yourself on your own phone.
    You can also create new iCloud accounts on each device simply to use for FaceTime, but I'm guessing that the users of the other two devices have their own email addresses which will make this work for you quite easily.
    Take a look at this for more information.
    The seems to go against what Gail said and the issue you raised about buying dup apps was my first concern.  If this other post is correct, how to I set a different "contact at" in the iPod Touch?
    Goose

  • I originally purchase a ringtone on Jan 10, 2013 - it is no longer on my i-phone and it is not stored any where.  I have another purchase on my credit card statement for the same song on a different date??  How do i get the ringtone on my phone?

    I originally purchased a ringtone on Jan 10, 2013 and it is not longer on my i-phone 4s!  I have another charge for the same song and there is still no way to set as ringtone!

    Hello
    Try restoring the device and setting up as new.
    If it is still shows an iCloud activation lock, then it's on an iCloud account
               The wrong device was removed from an iCloud account.
    Check any other Apple IDs you might have at
                 iCloud.com
    Get signed into them and remove that device.
    I wish this was the first time I seen this.
    Best of Luck

  • Last summer I bought a music album from iTunes. I've already transferred all my orders from my units, but somehow iTunes wants me to pay for the same album again. When I try to add it to my wish list it simply tells me that I've already bought that item.

    Last summer I bought a music album from iTunes. I've already transferred all my purchases from my units, but somehow iTunes wants me to pay for the same album again. When I try to add it to my wish list it simply tells me that I've already bought that item.
    And I've already tried to search for downloadable purchases.
    So fact is established, I've purchased this album before but iTunes does not recognize it.
    What to do?

    Hey sorry for the late response but I've been out of town.  I can copy and paste the email responses if necessary or desired, and if it's fixed already this is a moot point anyway, but basically they kept asking me for the order numbers for the two songs I already bought from the specific album I was trying to complete, which I eventually gave them - along with telling them multiple times that the Complete My Album feature wasn't working for ANY album.  They gave me two free song codes to compensate me for the two songs I bought, and then told me to go and buy the album at full price, but the ENTIRE TIME they COMPLETELY ignored that I was telling them that this wasn't an issue with one album but was a larger, seemingly systematic issue that other people were experiencing.  Even after I got the song codes I emailed them back and said AGAIN that this wasn't an isolated feature, and they just sent me the link to the apple Feedback page (http://www.apple.com/feedback/itunesapp.html) and told me to submit my complaint there.  So, technically, my issue was never really "resolved," in that they never fixed the Complete My Album feature that I am aware of - or even acknowledged that anything needed fixing, but I haven't tested it since Sunday.
    If it's working for you, then hopefully they fixed it!  I've noticed they've updated to 10.4.1, but the notes don't indicate they're fixing anything about the Complete My Album feature, so I don't know.

Maybe you are looking for

  • Get UK O2 USB mobile broadband dongle to work on Snow Leopard here:ther

    Mobile Connect won't work on Snow Leopard, as you'll have discovered if you're looking here. 1. Insert the modem into a USB port. 2. Open the virtual CD image it makes 3. Control click (right click) the MobileConnect application 4. Select Show Packag

  • BAPI Needed for IQ01 txn

    Hi All I am uploading 1lac Serial No's for the IQ01 txn against the material. For this I am using BDC of IQ01 but its taking long time. Please suggest any useful BAPI for IQ01 txn.... << removed >> Rgds Deepanker Please read Please read "The Forum Ru

  • SAP FI or SD

    Hello I have 8+ year experience in ERP, most of the work in Sage ERP. I have good knowledge in all ERP modules. Apart from working experience, I have done Graduate in commerce, Advance diploma in management and PGDBM in finance but all education in d

  • Maps does not update map pages

    As I move on a road, maps does not refresh the map.  The dot showing my position goes off screen.  If I shrink the map, the position marker shows itself, but I lose detail.  My Co-Pilot navigation ap behaves the same way.  Does anyone have any ideas

  • Prevent editing whilst workflow in progress

    Hi I'm using SPD Approval workflow. Whilst in progress it is possible to edit the document which isnt desirable as if there are a number of approvers they could approve various versions. One option is to cancel the workflow if document edited (using