Problem syncing DAQmx

I'm working on a data acquisition system for my company and we are currently running on a problem with the DAQmx code.  The program follows the following general algorithm:

1. the value digital outputs control material

2. read 32 inputs analog using traditional DAQ

3. read 32 for thermocouple with DAQmx (we are using this because recent material will not support ACQUISITION OF DATA trans.)

4. processing of data, look for entries user and other functions of the program.

5. loop at 1 unless the user has ordered the program to exit.

I'm trying to let him run as fast as possible so that we can acquire data at a reasonable rate, and my goal is to get the loop to take less than 10ms.  The problem I encounter is that I'm getting error-200279 of thermocouple DAQmx code.  As I understand it, this means that I read in the buffer zone that is slower that data are put into the buffer, and the data that I'm reading are getting crushed.  This is not a problem with the acquisition of data analog, since we put in place the traditional DAQ to buffer any.  When the loop is at setp 2 it draws just in all that is on the analog channels at the moment.  Thermocouples will read, but will not make it to a uniform rate.  All the secondes.25 or the time to complete a loop jump of 8ms ~ to ~ 80ms, and I'm pretty sure that the problem is with the DAQmx code.

My question: what is the easiest way to get DAQmx to behave like a single traditional DAQ scan?  I don't want / need an acquisition in the buffer, and I'm only using DAQmx because I can't get DAQ traditional to work with my new thermocouple material.  What I would like is to configure DAQmx so it will just read the current from the thermocouple data (whatever it is) whenever the program gets in step 3.  If I can do it without the loop of the program beyond 10ms by trolling line, it'll be great.

Any help on this is appreciated.


Tags: NI Software

Similar Questions

  • problem syncing iPod touch with iTunes

    Hi, I had a problem syncing my iPod touch with iTunes. I get a message indicating that there is not enough free space to hold items in the iTunes library, which indicates that I need about 43 GB.

    I tried to take as much data on my laptop thinking it would make more space available to my iTunes library which is held on my laptop.

    I had a problem some time with the storage of data files and program files. I divide the hard drive and I have a Macintosh HD 2, but also a main drive of the HD. I find that I have an iTunes library in two HD players, so I think I have a duplicate library.

    My iTunes app shows that I have a size of music library of-33,40 GB containing elements of 6940. My iPod touch has 6920 songs and 33 videos, 15 photos, 14 applications. The ability of the iPod touch is 56.4 GB, with 2.8 GB available.

    If the problem is the duplication of library, can I remove in double track of the HD2, and how to change tp parameters to stop duplication.

    Duplication of audio content seems to be a concern for you. If you have a desktop Mac, open iTunes/library/display the duplicate items. You can view and edit tracks easily.

    If you do not have a Mac desktop computer, the question is a bit tricky; There is no way to detect mp3 duplicates except manually.

    The good news is that the majority of your data bloat is likely to be in the 33 videos. I could most of the videos of archives and see what happens. (I have banned all THE videos of my iPod Touch and I couldn't believe how much I got space).

  • Problem syncing between iPhone 5 (iOS 9.2.1) and iMac (OS 10.11.3)

    I have a problem syncing between iPhone 5 (iOS 9.2.1) and iMac (OS 10.11.3). Purchased or updated on the iPhone apps are not copied on the iMac, during synchronization.

    Howdy Paul Peeters,

    I understand that you purchase apps on your iPhone and you want to synchronize on your iMac.  For these applications automatically added to your iMac, you may want to activate the automatic downloads on the Mac.

    This article explains what you see.

    If your applications are not transferred from iTunes to your device after the update to iOS 9 - Apple Support

    iOS 9 includes a new feature that allows you to download only the parts of a necessary application for your device. This saves the storage space on your iPhone, iPad or iPod touch when you install an application that supports this feature. Update to iOS 9, iTunes is not used to restore your applications when you restore your device. Instead of this, optimized versions of your apps download from the App Store directly on your device.

    If you can see the apps on your iPhone, iPad or iPod touch, and they seem to be waiting to download, make sure that you are connected to WiFi or Internet. Once you are connected, the optimized versions of your apps download automatically to your device.

    Similarly, applications that you add to your iPhone, iPad or iPod touch won't sync or transfer to iTunes on your computer. If you want to download apps from iTunes, turn on automatic downloads in iTunes preferences. You can also download previously purchased apps to iTunes.

    Best regards

  • Problem syncing of Contacts Exchange on 5.0.2

    First of all, I am a true beginner on Android, my motorcycle G 2014 is my first camera (I am a user of Palm since PalmIII and still using a PalmOne Treo 650!) for two weeks!

    Unfortunately, I accepted and installed the OTA Lollipop because I read on it is better 'system restore' and I had problems with the backup restore on an old P700 LG Google what a friend of mine gave me for a quick test before buying the bike G!

    It was my worst decision ever!

    The main problem is with my Exchange account contacts: it looks like the changes made on the phone are not Sync to Exchange.

    I really, really would like to go back to stock firmware (and I'll probably do, I am a student for this on the xda forum).

    Is anyone having problems sync'ing contact with Exchange? Our server is Exchange 2010...

    Ciao

    Giangi

    I can tell you that the cert self-signed compared to a real is not the problem. Who manages SSL encryption only and have no effect with contact sync - if it affects the synchronization of contact, nothing must synchronize.

    Since you have proven that contact sync works with a different exchange account, then something is wrong with the one account. Either:

    1. the account has a corruption and remove and re-add set

    2 lollipop and your version of Exchange do not play well together.

    Remove and add must answer the question.

    Keep us informed.

  • problem syncing from WMP, sync my music files of phone with wmp, that I got a long list files that can not be in sync due to an error message

    sync music from my phone files with wmp, I got a long list of files that cannot be the result of a sync error message, how can I resolve this issue? Thank you
    I tried to by checking the format of files and those who are on mp3

    original title: problem syncing from wmp

    You need Samsung Kies to transfer into the memory of the Galaxy. Its free on the site of Samsung.

    See you soon,.
    Jerry

  • Problems syncing of Smartphones from blackBerry

    Having problems syncing App Wrold try to update App World on my phone, but also update of applications;  error code is listed as A1.

    Someone has an idea?

    SKBehnke wrote:

    Oh,.

    I'm sorry.  I followed the instructions and App World works (However, keep in mind, it was before; it just would not be be updated to the latest version - which was the A1 error that started this).  If 4.3.0.26 is the most recent available for a BB Bold 9930, then I think it's very good.

    Thus AppWorld has been fine all this time? Good blood... I wish you knew from many posts ago... I feel like I am wasting your time terribly here...

    SKBehnke wrote:

    My email and other functions seem to be working (although they were before).  I have not tested them.

    It's the right information... Thank you.

    SKBehnke wrote:

    The only application that I'm sure is not and has not, has worked on this handset is WLM.  And that's who I'm trying to get on with the job.

    As I have no experience with WLM, I can offer you anything, but for you to search for these public KBs to see if there are those who are close to your situation:

    SKBehnke wrote:

    Another thing that can have an impact on this.  I see 5 applications on my phone under 'My World', when I look on my PC in Blackberry Desktop Software, I see 3 different applications... very confusing.  I hope I'm not throw more maximum elements into the mix...

    It is often the case... even though I really need to understand a lot more about what you are to see in this window of desktop software. The Desktop software is planned (note carefully that Word... it's not perfect) to show you all the applications on your BB you've got sources, as well as those that would be available as part of the package of basic OS itself. AppWorld shows only apps available via AppWorld. If these two lists are rarely identical.

    Good luck!

  • Problem syncing Bluetooth with headset Samsung level U

    I have an iPhone7 and the SW last update 10.0.2.  Bluetooth is turned on and the headset is also turned on.  The iPhone is not recognized/sync with the headphones?  As I know there is no way to update the firmware in the helmet.  I have another device and the phone synchronized without problems.  All the world has faced questions?  Headset works great on your old phone.

    to connect a bluetooth headset to a device, it has not been connected with before forcing the user to place the headset in pairing / discovery mode, how it's going to depend on the headset and should be in the manual of headset

  • Problems syncing notes app after upgrading to iOS 10

    Hi all

    I hear a lot of people having the same problem on the web.

    After upgrading my iPhone 6 s more and iPad Pro iPad 9.7 ", kept perfect notes that I saved in the Notes application (like my MBP / iMac too), while on my iPhone, I've known many sync problems and even lost notes and records.

    1. I tried to pass and on the synchronization of Notes in the iOS iCloud preferences, with a reboot between stocks. Nope. No synchronization, and when I turned on sync I lost almost all of the notes previously saved in my iPhone, so I now 15 notes instead of 175. This ONLY happens on my iPhone, while iPad / MBP / iMac yet.

    2 - I tried to create a new folder in my MBP or in my iMac, hoping to "stimulate" a new event to Resync through all my devices. Not for the iPhone, but synchronized on my iPad / MBP / iMac.

    3. today, I made a backup of my iPhone, reinstalled the iOS 10, then restored the backup.

    Nope.

    Any ideas, guys?

    Thank you

    Luca

    EDIT: actually sync problems seems to occur exclusively on the side of the iOS. This also includes the iPad. Fortunately, I didn't have the great idea to disable the synchronization of Notes in iCloud on my iPad, as I did on the iPhone.

    I'd lose certainly all currently stored notes in my iPad too.

  • Problem syncing iTunes for iPhone 4S

    I tried to fix this problem for a while, and I'm getting desperate.

    Even the guy on the phone to help Apple could not help.

    I use my iPhone 4S 64g with Windows 8.

    Problem is that I download a CD in iTunes on the PC. I can see and play songs downloaded on the PC only.

    When I sync, new material doesn't come to the phone. I have not had this problem until recently.

    I have "Automatically sync when this iPhone is connected" and "Sync only checked songs and videos" checked.

    Browse the selection of playlists that you have chosen to be synchronized. Maybe they don't automatically include new content.

    TT2

  • Problem with DAQmx Schedule VI (sample clock)

    Hello to you all,.

    I'm new to this forum, please bare with me. I have some experience with LV, but I am relatively new to data acquisition projects. I use LV2009.

    I want to make sure that I use the hardware timing (instead of software distribution) in my project so I followed some of the threads here as sugested to use DAQmx Schedule VI. The problem is that no matter how I set the system I get the same error-200300 invalid calendar
    type.

    The project is simple. I encode with 1000 pulses per
    Rev and it is mounted on a shaft of a turbine water goes thru. I'm watching the frequency
    and so the rotation of the shaft which tells me that the amount of water flows through the turbine. In the end, there will be 2 channels
    by every encoder and ~ 3 encoders (turbines) total and calibrated the main meter that will give me constant impulses and all encoders will be compared to this master frequency.

    I'll use PCI6602 DAQ, but
    now, for the development, I use USB6221. Let's say that the
    frequency is between 500 Hz and 10 kHz. What I am doing wrong? Or maybe better to ask - what would be the right approach for this project?

    Thank you

    Marty

    Hi Marty,

    It seems that your question is already answered here, but Jason is correct that the 6221 neither the 6602 support a clock sampling for frequency measurements.

    As Jason mentioned, your best bet is also likely set the mode of synchronization for "implied". This means that the frequency value is sampled at the end of each period of your input signal. In addition, a solution that is clocked by the software (On-Demand) might be acceptable.

    X Series DAQ devices allow an external sample clock to use for frequency measures (described in the Manual of X series). Frequency of sample-clocked measures are useful in very specific
    circumstances, but it does not seem that you need this feature based on what you've described so far.

    (621 x) bus-powered M series can also be configured to use an external sample as the X series clock but do you not have the same features described in the manual of the X series.

    I hope this helps!

    -John

  • problem reading DAQmx using Measurement Studio 2010 (even with examples OR)

    Hi all

    I'm reading the voltage using a map of NOR-DAQ-6211 with Measurement Studio 2010 SP1 V9.1.0.204. using Visual Basic .net 2010.
    When I create the task of data acquisition with the measurement studio Wizard, (Assistant DAQ) everything works fine. However, when I try to create my own task player in looking over the "ContAcqVoltageSamples_IntClk" everything I read is a value in the range of Vmin to Vmax (or to Vmin Vmax) and then she stays there no matter if I change my diet. Vmin and Vmax does not yet match my values of voltage. (It acts like that on my application and example of OR) I guess I missed a few initial settings. The config of AIChannel in two projects (manual task and Augo-Gen) use AIChannelConfig.RSE (I tried other options, but no luck).

    The only wiered thing is that when I open examples of projects, VS does not recognize the object references of NOR. Workspace names DAQmx. When I check the references, it shows that it does not find the reference to NI.Common. To make it work/compilation, removed from the solution and I again added. (I don't think this is related, as it seems that there are available tensions but not read correctly).

    The other thing is that my input voltage is 3 or 0 volt. When you use the manual DAQtask, when I toggle the voltage, the values displayed change momentarily the order of 0.001 Volts and then go back to their previous values of Vmax and Vmin.

    Is there more information I can provide?

    Help, please
    Thank you

    Yay! I just solved my problem,

    From the first moment I knew there was something fishy about this AITerminalConfig thingy! I made two errors:

    1. in the code example Configuration AI is encoded: CType (-1, AITerminalConfiguration) that caused the code example does not work for all channels to HAVE it

    2 - also, I have in my code, I had put this config to the correct value, but I was checking ai0 all the time while the signal was on another I. I was under the impression that since the example does not work for all my channels, then probably my code does not work as well.

    If after changing the line in the example for the correct terminal configuration settings, he began working for the AI number I was looking for too much and I found that my code worked for my AI # correctly from the beginning. I wasn't just to see it!

  • problems syncing multifunction with PCI-6229

    Hi, I use PCI-6229 and LabVIEW 8.0 for synchronized of the thermocouples and voltage measurements. The diagram is attached here. Here are my questions:

    (1) with the analog inputs of TC is ranked very first and followed with inputs analog voltage, as shown in the diagram, it works fine. But once the tension AIs are placed first and followed with AIs for thermocouples, thermocouple reading makes no sense, for example telling 25 deg C, the program shows strong fluctuating temperature 10-80 deg C.

    (2) the delay time using DAQmx Trigger, here I put the Start.Delay = 2, Start.DelayUnits = ticks. And sampling rate = 1000 Hz for sample clock VI. Then, is equal to 2 X (1/1000 second) delay time = 2ms? If no deadline is set, which is the time between the trigger signal and actural reading? Will it be the time device resolution 50 ns?

    All entries would be very appreciated.

    Hi Matt11,

    (1) the order that you specify strings in your task will affect the order of scanning.  In other words, when you add the channels voltage before channels of temperature, the material can enjoy the tension or s channels followed by the string (s) temperature.  Since the 6229 is multiplexed, it comes to each channel sequentially switching in a single ADC.  In your case, it seems that the tension on the ADC to measure voltage not had time to resolve completely prior to taking the measure of temperature.  We refer to this sometimes as ghosts in extreme cases where the value measured on channel b mimics the tension on the channel.

    I think that you have found that you can get this by adding the TC task first.  You could probably also get the same result by allowing more break-in between channels on your scan list.  You can set the time between the channels with a Timing DAQmx property node (you can set the property is the clock frequency convert, which is the opposite of a waiting time).  For slow sampling rates, sets DAQmx convert a default clock rate up to a minimum of 1/14 US (on the x 622).  If your overall sample rate is less than 1/14 us (about 71 kHz) then you should have room to lower the clock rate to convert more of this if you wish to allow more time to settle between the channels.

    I'm a little surprised that you see errors because of it (generally, the problem comes from a signal source of high imepdance measure or when sampling at higher rates), but then again, the temperature measurement would be very sensitive to small voltage fluctuations since you deal with thermocouple voltages at room temperature.  Given the order of scanning affects your measure the problem is almost certainly introduced leaving not enough time for the ADC to settle after reading your string tension.

    (2) ticks means actually timebase tick rather than the graduations to sample.  The minimum is always 2, but this match 2 graduations of 20 MHz (100 ns) time base from which the sample clock (unless you choose otherwise or specify a sampling rate less than 20 MHz / 2 ^ 32), instead of 2 graduations of the 1 kHz sample clock (2 ms).  In fact the trigger is probably performed asynchronously at the base of your time, if you are anywhere between the graduations of 1-2 the basis of delay time (50-100 ns) according to the relative phase of the trigger to the time base.  If no time limit is set, the default value according to me is still 2 ticks which is the minimum that allows hardware (you can check on your own by reading the property node if you wish).

    These points should be compatible between different driver versions, with the exception that DAQmx chose by default convert rate differently in earlier versions of 7.4.  Select the conversion rate is a compromise between the settling of deadlines and the channels are sampled how "simultaneously" on the MULTIPLEXED Board.  The final result in point 7.4 of DAQmx was a compromise apparently arbitrary add 10 US for the minimum conversion period and use this as the maximum by default between the channels.  The user can of course always set the clock to convert to all what best fits their application (in your case, you might want to allow a settlement more between each channel).

    Best regards

  • Problems with DAQmx - tasks missing when I run my application on another PC

    Hello

    I use a NI USB 6009 and my program use DAQmx and different tasks for the input and output signal.

    I created an application and I want to run this application on another PC, which doesn't have the development environment, but the runtime engine and installed MAX. This PC is connected to the NI USB 6009.

    Now, I have the problem that the tasks are missing on this PC and I get errors when I run the application.

    I wonder why these tasks are not put into the application automatically? What should I do now? Can I somehow export tasks in MAX and copy them to the other PC? Is not complicate it?

    Hi Johannes,

    Have you created your tasks of measurement and Automation Explorer?

    If this is the case, you must export the file of configuration of measurement and Automation Explorer and then import it on the other computer.

    With LabVIEW 2010, you can import a configuration via your Installer file, but I don't know if you can do it with LabVIEW 7.1

    Kind regards

  • BlackBerry software problems sync Z10 and new computer.

    My BB Z10 has many contacts, none of them in the «Local Contacts» account This is to avoid duplicates, I only have my contacts on the BB link account that I use to synchronize with my desktop Outlook. Now, I have replaced the computer and only have contacts on my device.

    When I tried to sync with my new computer, it is what is happening. BB link creates a new account link (named after my computer) BB for synchronization. And because there is nothing in this new account and nothing on the computer, no contacts Sync. Apparently the BB link synchronize another account, only local Contacts or the account that he created the first time that you sign in with your new computer.

    I tried to put a contact on the Group of local Contacts, and then Resync. This contact was Sync and placed on the computer (Outlook) and on a new account link my device BB.

    So I thought that I could just walk-around her by placing all my contacts in my group of local Contacts. I could not find a way to 'select all' and don't feel like using the function "selection much" click on my 900 contacts.

    Is there an easy way to solve this problem? Course, the ideal solution would be to synchronize the account I choose. I'm not sure that this is a reasonable request, however. So, I would be happy with the market "copy of local Contacts.

    Thank you very much!!

    Roney

    Unfortunately, there is no way that you can select all contacts with just a tap. You should choose the option "Select more" and to highlight the contacts one by one.

    Also he by design this Blackberry link will only synchronize the device data associated with the link BB for this computer account.

    That means, 1 BB PC link data on the device will not sync with 2 PCs.

  • Problem syncing blackBerry Z10 Z10 Exchange 2003

    Z10 os 10.2.1.537 - exchange 2003 / outlook 2010 (cached mode)

    When I open outlook 2010 on my pc, the new messages are syncronised well from exchange. After my Z10 E-mail properly synchronized. When I close my pc outlook and I get out of my office, my Z10 stop to sync email until I return back and restart outlook.

    With a BB os7, everything works fine.

    solved!

    the problem is McAfee Groupshield for Exchange server.

    Must enable proactive analysis on e-mail file to correctly enable connections from Iphone/Android/BB smart os10, after the closure of the station of office outlook.

Maybe you are looking for

  • Satellite L670 - Windows 7 cannot format a USB flash drive

    Hello Can anyone help? I also try to format a USB drive on my Toshiba Satellite L670 Windows 7 but he repeats to me windows cannot format.

  • HD dock default music player

    is it possible to change the default music player in the application Dock?

  • Application file name does not change

    After I go to BUILD > CONFIGURATION > MANAGE CONFIGURATION > RELEASE > EDIT > TARGET SETTINGS, then type a new name in the APPLICATION FILE field, or actually browse and select the file I wanted he call to, and select OK > DONE > DONE. It does not ch

  • Why do my Predator G3-605-UR20 more than a minute for starting.

    When I do a cold boot, it takes more than a minute, sometimes 5 minutes to start. During this time there is no activity on the LEDs on the top of the computer. Normally I put the computer in hibernation. It only take a few seconds to start. It seems

  • Setup of Microsoft Windows 5.0 with qt application

    Hi allI developed a GUI application using qt (worm 5.3.2). now, I want to release it as an installation package for windows. I know that there are so many 3rd party tools that will create/build the package for my program to install the application. W