How to input/output a digital signal and acquire an analog signal at the same time?

Dasylab, version: 8.0.04
Acquirement Card: PCI1002L
When I use DasyLab to acquire the analog signals is no problem without digital inputs and outputs,
and when I use DasyLab to input or output a digital signal is no problem also, but when I do that at the
 same time, DasyLab tell me the rate is too high and stop.
so, I searched the manual book1 (user guide) for that, it showed me :
To internally equalize measurement time and system time in the analog input, digital input and counter
hardware modules, use the following settings:
   Synchronization: PC Clock
   Sampling rate: <= 5Hz
   Block size: =1
the problem is, if I set the Sampling rate to 5Hz, the speed of the acquirement datas is not enough for my
application.
so, how to improve it? who can give me a example programm for me. thanks!
by the way, I come from China, my English isn't good, I'm sorry.
Allen, China.

Hi,
Have things changed over the years?
I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
1. What can be done to synchronise AI with DO?
2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
Thanks in advance!

Similar Messages

  • How to count frequency of two signal at the same time ?

    Hello every one
    please help me with this one i am really stuck.
    The situation   : I have two square wave signal, and i want to measure the frequency of both of themat the same time.
    the problem : Error -50103 occurred at DAQmx Read (Counter DBL 1Chan 1Samp).vi:3
    Please see the attachement.
    i also have 3 analog inputs to be measured.
    but i dont have any problem with the analog inputs,,,multiple analog  inputs can easily be measured,,,,,but the prob lem is in the digitl (square wave ) signals. 
    Attachments:
    i want to use two counter input.GIF ‏54 KB
    two counter tasks1.vi ‏250 KB

    NI has an excellent overview of the accuracy and tradeoffs of the different freq measurement methods titled  "Making Accurate Frequency Measurements."  To boil down the essence of it, the (possibly) increased accuracy of the 2-counter method depends on a relatively long collection / accumulation time which would in turn typically limit the rate at which you could update your measured freq value.
    Now let me offer some friendly but blunt advice.  LabVIEW makes it easy to collect data.  However, there are many other factors affecting the usefulness of that data.  I support the dictum: "It is hard to measure *well*."  Choice of sensors, their sensitivity to environment, various sources of noise, an understanding of the decision to be made from the data, programming methods, etc.  And even more etc.
    What I mean is that just because a hardware freq measurement can be performed that is precise to 1 part per million, it would be very RARE in a test that ALL of those 6 significant digits prove useful.  In your app, the measurements are presently only approximately correlated in time.  And the gap of blind time between measurements will usually represent a much longer period of time than the measurement itself.
    Analogy: suppose you had a 100 minute film at 25 frames/sec for a total of 150_000 frames.  Now start selecting individual frames that are separated by some random # of frames between about 200 and 500.  In the end, you may end up with a sequence of 400 frames in the correct order.  Each individual frame is VERY accurate, but the collection of all of them can zip by in 16 seconds and not give you a much understanding about the movie.
    What would usually work out much better is to sacrifice some accuracy in order to collect a greater quantity of frames.  You trade off the instantaneous accuracy for the overall coherency.
    Sorry, got on a roll...   Back to your question.  My own preference is almost always to avoid consuming hardware resources when not truly necessary.  I've been toying with counters for many years and have still never once deployed an app using a 2-counter frequency measurement.  I do the 1-counter measurement and save the other counter(s) for other purposes. 
    If you've got an M-series board, the 80 MHz timebase allows you to measure a 500 kHz pulsetrain with a quantization error of only about 0.06% (1 part in 160).  There's a pretty fair chance that whatever physical process emits that pulsetrain isn't appreciably more stable than that
    -Kevin P.

  • HT5848 How do I listen to iTunes Radio and play other game/apps at the same time? On an iPad.

    Just got an iPad air and last night was able to listen to iTunes Radio and play some apps at the same time. Now today a software update, and no go on doing radio and apps at the same time....help!!!

    Anytime you open an app that has a persistant sound stream - a movie, a podcast, some games - it will overide the music app's stream. nothiong you can do to change it.

  • How do I set up my phone and iPad to recive messages at the same time?

    I would like my messages to come to both my iPad and my iPhone when someone text me.

    Welcome to the Apple Support Communities
    To set up Messages to receive the same messages on your iPhone and iPad, on both devices, open Settings > Messages > Send & Receive, and only leave ticked one of your email address or phone numbers. You have to tick the email address or phone number where you are receiving your messages now, so the messages you receive will appear on both iPad and iPhone

  • I was backing up my iPhone and importing photos onto iPhoto at the same time , then suddenly it says no more space available (i had 48GB before i do this and now i have 18GB) i can't find the back up or the photo anywhere , how can i delete them ?

    i was backing up my iPhone and importing photos onto iPhoto at the same time , then suddenly it says no more space available (i had 48GB before i do this and now i have 18GB) i can't find the back up or the photo anywhere , how can i delete them ? i dont need the pictures or the back ups , i want to delete them but they are not there

    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown asBackups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Reboot and it should go away.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • Phone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    Both my iphone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    This post has already been answered. Why are you plugging your own site with an answer that has already been given? Not to mention that the information you are handing out is incorrect. There is no bug, there is no patch, and no one needs to delete any email addresses. If you take the time to read the posts with the correct answers, you will see that the solution is totally different than the erroneous one you have posted.
    GB

  • How to play stereo mix music and sing in my mic at the same time?

    Hi guys, need help regarding Realtek HD audio driver
    I want to play stereo mix music and sing in my mic at the same time.... not for recording purposes but in chatroom let's say.
    I'm using XP...Toshiba Satellite S4747 laptop
    In the Realtek software under " Realtek HD audio input" I have mic and stereo mix both.... but I can only select one at a time.....
    Any solutions plzzz thxxxx
    On a different note.... a friend of mine whose using one non-Toshiba laptop with win XP has an older version of the Realtek audio driver and can select both mic and stereo mix at the same time... I downloaded that version into my laptop but I still can only select one at a time....

    Check the audio settings in Windows and dont forget in Realtek HD audio manager. You can find it in control panel.
    I think your microphone is set to mute so check this.

  • Yesterday, I downloaded I.O.S. 8 to both my iPhone and my wife's iPad at the same time.  She wants I.O.S. 8 removed.  How do I remove it from both devices?  I am willing to resort to my old IOS7.1.2.

    Yesterday, I downloaded I.O.S. 8 to both my iPhone and my wife's iPad at the same time.  She wants I.O.S. 8 removed.  How do I remove it from both devices?  I am willing to resort to my old IOS7.1.2.

    Sorry...downgrading is not supported.

  • HT204368 How do I connect more than one Bluetooth enabled music device (subwoofer and Jambox) to my iPad at the same time?

    How do I connect more than one Bluetooth enabled music player (subwoofer and Jambox) to my iPad at the same time?

    You could start by posting onto an iPod forum instead of a "Using iPad" forum.  

  • My newer IPhone gets a weaker cell signal at the same time and place as my wife's older one. Help

    My newer IPhone gets a weaker cell phone signal at the same time and place as my wife's older IPhone. Help!

    What is the signal the difference?
    Follow this guide and record the numbers you see...
    http://lifehacker.com/5929546/see-the-actual-signal-strength-on-your-iphone-with -this-quick-tweak
    If the difference is within ~10db there's not much to worry about.
    Now if you see -130 and -80 that is an issue. (talk to your carrier)
    But if you see -60 and -75, both phones are operating normally.
    What are the iPhones in question?
    Are you both on the same network? (what network(s) are you on?)
    What data connection is available on each phone? (3G/4G/LTE)
    Are the iOS and Carrier settings up-to-date?

  • Can airport express send a G and a N signal at the same time?

    I have two macs with wireless N in my home, and two pc's with wireless G. Can the airport express broadcast a wireless G and N signal at the same time? or does it need to be one or the other?

    I purchased 2 airport expresses today and the answer to this is yes

  • Generat two signals at the same time and reading voltage

    Hii
    i have try to generate two signals at the same time and read voltage from another port on the board(not have to be at the same time), i have not alot of expriens in labview
    and i based my code of example(http://zone.ni.com/devzone/cda/epd/p/id/5197) from yours site and try to suit to my needs
    now my problem is when i generat the 2 signals(that work perfect) i canot read voltage from another port on my CB-68LP
    i can not find the problem  and make it over i hope there is away to figer out and fix it.
    i have two cards 6229, and two CB-68LP board.
    labview 8.5.
    my code is look like this - http://img142.imageshack.us/my.php?image=scrennshot2no2.png
    (this works perfect).
    and this is my code after suit to my need - http://img183.imageshack.us/my.php?image=scrennshotfl5.png,there is  error exception at  the right side.
    the exception-
    Possible reason(s):
    Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: RefClk.Src
    Source Device: Dev1
    Source Terminal: 10MHzRefClock
    Required Resources in Use by
    Task Name: _unnamedTask<0>
    Source Device: Dev1
    Source Terminal: None
    Destination Device: Dev1
    Destination Terminal: RefClock
    Task Name: _unnamedTask<1>
    eyal

    sorry...
    The AO tasks is very important they will be synchronize ,it is very importent the two tasks will start at the same time
    and after it run at synchronize mode i will need to make reading of voltage
    i gust try to make simulation of machin (i give that machin AO and reading from it voltage that all)
    first of all i make the two signals(synchronize signals).
    and after it i will need to reading voltage.
    i can make two signals synchronize together.
    i can make reading voltage
    but i can't make two signals synchronize together with reading voltage
    it throw to me this error message.
    i am looking for away to figer this out.
    thank's for any help 
    eyal
    Attachments:
    test11.vi ‏130 KB

  • SCXI 1112 and 1302 doesn't run at the same time

    Hi,
    I have SCXI 1112 thermocouple input module,  SCXI 1180 feedthrough panel , and a SCXI 1302 terminal block connected SCXI 1000 chassis with SCXI 1349 adapter. I am trying to measure voltage by using SCXI 1180&1302, and temperature by 1112 module at the same time. When  chassis is on SCXI 1112 runs without a problem; however, voltage reading coming through SCXI 1349 makes no sense (plus I can't run them at the same time, LAbview gives an error). While the chassis' power is off, it is the other way around, SCXI 1349 runs smoothly.
    In addition to that, a radiometer, connected to a power supply, is wired to SCXI 1302 terminal block. When power supply is on, SCXI 1112 module's temperature reading is 4 times higher than actual value. In other words, power supply effects the readings.
    Could you please give me some advice to solve this problem?
    Thanks,
    Azra

    One piece of the puzzle you left out is the DAQ card being used in the host computer. 
    Without looking at some specifics on the SCXI cards/connectors you are using, I will comment you must be careful when you are using an 1180 feedthrough module.  Keep in mind, the SCXI chassis is Signal Conditioning -- it's nothing without the DAQ. 
    I would recommend you back up a few steps, simplify the setup and test each input channel from MAX -- making sure you aren't overlapping channels between the 1180 to the DAQ and the SCXI chassis.  Remember, most data from the SCXI chassis comes in on a single channel of the DAQ through the 1349.
    Hope this might help. 
    RS

  • I can't measure many signals at the same time using the DAQCard-AI-16XE-50.

    I'm using a Compaq Presario 1655 laptop with a DAQCard-AI-16XE-50 on the PCMCIA slot, and LabVIEW 6i and MAX 2.0.
    I have a SCXI-1001 Chassis with SCXI-1122 and its terminal block SCXI-1322 installed (I have others too).
    I'm trying to measure some signals at the same time, for instance, measuring 2 load cells signals, and a frequency of an indutive sensor (using the analog way with the "Extract Single Tone Information.vi").
    I realized that I can't measure at the same time my signals, neither the load cells - a 10608 error occurrs "NI-DAQ LV: No transfer in progress for the specified resource".
    What's the problem?
    Some DAQCard limitation? Configuration?
    Thanks!

    Hello;
    By your description I'm assuming you are trying to read those analog inputs in parallel. The SCXI-1122 doesn't have that feature. All the analog inputs will be multiplexed to one single Analog Input channel on your DAQ board. If you need to make measurements in parallel, you need to use one of the SCXI modules that allows that operation. For more information on what modules support that operation, you can always refer to our home page at www.ni.com.
    Hope this helps.
    Filipe
    Applications Engineer
    National Instruments

  • When in i-tunes 11 mac, how do i search for a song as well as a genre at the same time?

    when in i-tunes 11 mac, how do i search for a song as well as a genre at the same time?

    If you mean searching for a song that you already have in your Library, then you can select "Music" first. Then, go across horizontally to Genres and select that; then by using the drop-down menu found under "View" & (of course) select "View Options"-- you will be presented with a limited # of choices to sort by.
    My iTunes 11.0.5 shows 4 parameters to choose from: Title, Artist, Year and Rating. Then you can sort & finally...
    Enjoy,
    mm~

Maybe you are looking for

  • Object key to make Item Category in sales order..

    Dear All, Can you please let me know the object to make Item category at sales order (create & change mode) in Display mode only. Thanks,

  • Imposible to use my BB ID

    Hello everybody, After my upgrade to OS 10.3.1 in my Q10 smartphone I have a problem with my BB ID. I can acces to my BB ID perfectly from my PC but I can´t acces or use it in BB World in my Q10 and now even in my Playbook. What can I do? Thanks.

  • Map several records to different elements in the same xml node

    Hi, I am trying to map data from relational tables to elements as per my xml schema. One of my tables has several records that I need to map to different elements in the same xml node. For example: Customer_Id | Param_Id |Param_Name 212 | 1 |State 21

  • Binding to selectOneMenu

    Hi I have having problems binding my selectOneMenu (myfaces), exception is argument type mismatch. <h:selectOneMenu         id="roles_comp"         value="#{flowScope.userViewController.user.role.uuid}"           valueChangeListener="#{flowScope.user

  • A problem with rollout images

    hy i want 2 images to rool when i move the mouse over another image thenks (with this function<td valign="top"><img src="images/img.jpg" name="guru" width="177" height="101" border="0"></td>i) ps sorry for the mess