How to measure multiple analog input at the same time.

I tried to do a VI that controls a motor with two buttons. If I press the buttons, the VI took the analog signal from the buttons and the engine is running. Each button covers the different direction - to the left and to the right.

I need to enter the two report in the VI at the same time, but I can't. If I run the VI, VI takes only a random signal. I want to know what are the problems and how to solve them. Please help me.

You must use a single task for both channels.  See if that helps.

Tags: NI Hardware

Similar Questions

  • read the multiple analog inputs at the same time

    Hi all

    I use USB-6001 and want to develop an application to multiple tasks in C++. I try to read several analog inputs at the same time, but got some errors. To put it simply, I copy one of the sample code to read in analog data in a channel, and then turn it into function. Then I call this function to thread with the names of different poles (for example Dev1/ai0, Dev1/ai1) and I come across this error:

    "The specified source is reserved. The operation can not be specified such complete"code of State-50103

    I have search the forums, this may be because I use the hardware timing in this function, and this material timing cannot be used simultaneously by multiple tasks. I may have to put all the lines, I want to read in a single task (such as Dev1 / ai0:1). This way I can read two lines at the same time. However, when I try this, I encounter another error:

    Status code "buffer is too small to contain the data read" - 200299

    So here is my question, what should I do if I don't want to read the multiple analog inputs at the same time? Is the thing that hard time cannot be used by several true task? If I have to read several lines to a single task, how to set the settings?


  • Select several CSS classes simultaneously (was: how to select multiple css rules at the same time?)

    Hello!

    I have Dreamweaver 8

    I tried to select several css rules at the same time create a css stylesheet, but I don't know how to do it!

    This man do in this video at 03:00

    http://www.YouTube.com/watch?v=ZbQ3GTFC-O0

    Thank you!

    DW8 does not support the selection of several classes in the properties panel.  I'm sure that this feature appeared in the exit of the CS6.  Unless you upgrade to CC or CS6, you must do this manually in your code.

    Nancy O.

  • I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    Hi sindres79946597,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> General-> uncheck "Open Documents in the new tab in the same window.

    Now, reboot your system, when you open multiple PDFs that all will open in a new window so that you can easily compare.

    Kind regards
    Nicos

  • How can you affect multiple windows open at the same time

    How can you affect multiple windows open at the same time

    You can not.  Only a calendar can have several windows.

  • How to read 4 similar channels at the same time with the MCC

    Hello

    with the mcc libraries and a card PCi-6034 classic (by calculation of the measure), I want to read 4 analog channels at the same time. I have a "scope" with 4 channels.  How to read 4 channels at the same time with the mcc?

    MF

    Hello MF.

    Thank you for using OR support.  I guess you try to program in LabVIEW.  Where exactly did you get the MCC library of?

  • How can I disable all tabs at the same time?

    How can I disable all tabs at the same time with the IMac?

    Ask yourself how to close Firefox with multiple tabs / windows open?

    Firefox menu > exit.

    Or, you try to do something else?

  • How to show 2 web pages at the same time

    How to split screen 2 sites at the same time to allow to work in both directions easily?

    You can watch one of the following extensions:

  • HOW MANY DEVICE CAN BE USED AT THE SAME TIME?

    Hi all

    I would choose the plan of the student to study in September, I would like to understand how much peripheral can be used at the same time? Because I have an IMac at home and also MacBook Pro retina for use at school? Can I download and use it on this two computer at the same time?

    waiting for response and thanks a lot!

    Cloud license allows 2 activations to time http://www.adobe.com/legal/licenses-terms.html

    -pdf of 200 http://www.adobe.com/content/dam/Adobe/en/legal/servicetou/Software_Terms-en_US-20150601_2.

    -Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0

    -https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

    -Windows or Mac has no importance... 2 on the same operating system or 1 on each

    -Two activations on one account CAN NOT be used at the same time (to be noted in the link above of the license)

    -An individual account is for one person and may not be shared with anyone else

  • How many computers which can install you programs CC on and how many computers can use programs at the same time? [was: Question for you!]

    When you buy an individual monthly plan for CC at $50 per month, how many computers which can install you programs CC on and how many computers can use programs at the same time?

    Thank you for your answer!

    You can install the software on two computers. These two computers can be Windows, Mac OS, or everyone. If you install on a third computer, you will be asked to turn off this feature on the other two computers. You can then re-enable one of the two previous computers and use Cloud Creative apps on it. You can use apps on a single computer at a time.

    Kind regards

    Hervé Khare

  • How to play several audio files at the same time and mute toggle some voices?

    Hi all

    Forgive me if this is mentioned elsewhere and kindly point me in the right direction.  I'm a kid with flash and action script so if you are in doubt, error on the side of more specific in your response, there is a lot of vocabulary I still don't know.

    The goal:

    I have 4 audio files which are Soprano, Alto, tenor and low voice of a musical example.  The result should allow the user to play all 4 voices at once and dumb voice specific to hear all the possible combinations of voices playing together or solo.  I imagined a check box at the beginning of each rated musical line that puts that voice muted when checked.

    It would be ideal to have the game, interrupt and stop reproduction choices where 'Stop' resets playback at the start and 'Pause' maintains the current place in time and takes over from there, once playback is started again.

    I am able to get the simple audio files to play from a single button, but I am struggling to find how to link multiple audio files to start at the same time by a single button.  I found this link: https://forums.adobe.com/thread/1069107?start=0 & tstart = 0

    where the last message mentions the use of tables, but being a complete beginner, I don't completely understand what they are doing.

    I know it's a big piece of questions at once, but if you could meet any part of it, or direct me to a tutorial/instructions, I would really appreciate it.

    Thank you for taking the time to help others

    use:

    kglad wrote:

    use:

    import flash.events.MouseEvent;

    import flash.media.SoundTransform;

    var soprano: Sound = new Soprano();

    Var high: Sound = new Alto();

    var tenor: Sound = new Tenor();

    var bass: Sound = new Bass();

    Ash var: Array = [soprano, alto, tenor, low];

    var offsetA:Array =]

    var st: SoundTransform = new SoundTransform();

    play_btn.addEventListener (MouseEvent.CLICK, playF);

    pause_btn.addEventListener (MouseEvent.CLICK, pauseF);

    stop_btn.addEventListener (MouseEvent.CLICK, stopF);

    playF function (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    This ["sc_" + i] = [i] Sunda () .play;

    }

    }

    function pauseF (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    offsetA [i] = this ["sc_" + i] .position;

    This ["sc_" + i]. Stop();

    }

    }

    function stopF (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    offsetA [i] = 0;

    This ["sc_" + i]. Stop();

    }

    }

    function unpauseF(e:MouseEvent):void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    This ["sc_" + i] = Sunda [i] .play (offsetA [i]);

    }

    }

    function muteF(i:int):void {}

    St.volume = 0;

    This ["sc_" + i] .soundTransform = m;

    }

    function unmuteF(i:int):void {}

    St.volume = 1;

    This ["sc_" + i] .soundTransform = m;

    }

  • More specific anti-aliasing prevents multiple images rendering at the same time after awhile

    Hi all.

    I am experiencing inconsistent memory, behaviour management when rendering my AE project that prevents me from making several images at the same time when some elements of film use accurate antialiasing.

    I have a processor 8-core i7 MacBook Pro with 8 GB of RAM and I am using AE CS5.5. I visited a project with several Illustrator layers imported to keep things nice and crispy. Here is a 3D with one camera, DOF, composition and they are continuously rasterized. On some of the vector assets I have to set the antialiasing for "More precise" in the dialog box interpret footage to address some problems with image quality. Here's what I noticed when rendering:

    1. when anti-aliasing on all assets of Illustrator is set on "Faster" return it without issues composition.

    2. I change the setting of antialiasing on some assets of the Illustrator to "More specific" to improve the quality of the image. Made of several images at the same time is off. Composition makes for a while, but eventually I get an error: "after effects error: unable to allocate enough memory for file antialias (50:5).

    3. to work around the error I load AE to empty the memory cache all 5 images or less via the Secret menu in the preferences. This prevents the error from happening and I can see the RAM being deallocated when from time to time as expected. This allows me to return the quality I need, but it is slower.

    4. in order to expedite things I light made simultaneous multiple images. I use the conservative settings: AE is to use only two hearts with 3 GB of RAM by heart (the maximum allowed). The rendering is accelerated. However, I see that the system "in use" RAM continues to increase at each image made up until the computer runs out, how AE automatically turns off made simultaneous multiple images and begins to display one image at a time. This does not happen whe all vector assets are defined to use fast antialiasing one I can make indefinitely with simultaneous multiple images rendering, but I don't get this way the desired quality. Please note that there is enough RAM for the carrots for multiple images rendering, but it seems as if having made a frame, the system is not free or reuse the memory when assets use specific anti-aliasing and will use another piece until there is no more.

    Also, I'm outputing to a sequence of images.

    Please help me to find a workaround for this problem. Thank you!

    This is probably a software design limitation (or bug) in the underlying code of Illustrator and there is no work around for this. You might dutifully report it here, but it's as good as it gets, and even when you do, you shouldn't be pregnant it be fixed anytime soon. In 12 years of use AE, that kind of thing never worked 100% right...

    Mylenium

  • How to display two open sites at the same time on the screen instead of switch between tabs?

    I need to open two different sites using Firefox. They appear as tabs, but I can only show a tab at a time and have continually switch back. I need to have two separate sites open and displayed simultaneously on the screen. Is there a way to do this or an add-on that will support multiple windows open on the screen?

    You can open all pages in separate windows and resize and position windows horizontally or vertically to the two visible at the same time.

    Note that you can drag a tab slightly downwards in the navigation window to tear off the tab, or use the context menu of the tab (transition to the new window).

  • Ix2 Lenovo how to download several files/folders at the same time?

    Hey, my team and I use the Lenovo ix2 because most of the free services, we discovered can legally steal your work. We have a log of things back and wish I could just download it in one fell swoop. It is that none of us are qualified to layout network or ilk. Which brings me to my question:

    Currently if you add a file you can add is a file at a time. Is there a simple way to be able to download a bunch of folders with files in them at the same time?

    Hello dmurtha,

    Here is a link to our support page, where you can find the manual of your device:
    https://Lenovo-na-en.custhelp.com/app/home

    Once you have a mapped share, it essentially functions as a local disk.
    https://www.Google.com/webhp?SourceID=chrome-instant&ion=1&ESPV=2&IE=UTF-8#q=how%20To%20Map%20A%20Ne...

    What this means to you is you can copy and paste, drag and drop, files or directories to the mapped share and everything in this file or directory is copied to.

  • How to play music and narration at the same time on windows movie maker?

    I'm working on a project and successfully, I could put my videos for a song. to get all the points for the project I need to explain what is happening in videos. I have now that I need to tell and I was able to do it too. I don't know how to play the narration without stopping the music, I need narration and music at the same time. I know this is possible because I found...

    You can add music and narration Audio / Music track in Windows Movie Maker. The two can play at the same time in your published movie. You can then adjust the audio levels to determine which audio will play louder than the other in your movie.

    Please write again (:)

    I'm working on a project and successfully, I could put my videos for a song. to get all the points for the project I need to explain what is happening in videos. I have now that I need to tell and I was able to do it too. I don't know how to play the narration without stopping the music, I need narration and music at the same time. I know this is possible because I found...

    You can add music and narration Audio / Music track in Windows Movie Maker. The two can play at the same time in your published movie. You can then adjust the audio levels to determine which audio will play louder than the other in your movie.

    Please write again (:)

    =================================
    Simple solution... Publish (save) your project in the
    film format .wmv to a folder on your hard drive.

    Re-import the file .wmv (as a new project) and now
    audio / music will be clear and you can add
    the narration.

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

Maybe you are looking for

  • How to change the name of a device

    I would change the name of my computer/devices the way they appear in my iTunes account.  For example, instead of this MacBook Pro 13 "I wish it were different.

  • Cannot get the device certificate

    This is a new walkman NWZ-E473. I was able to transfer these WMA files on my walkman older. What can I do to fix this device certificate?

  • Satellite L50D: no video noise after installing MS Essentials 2012

    My new laptop has ever its registered for SKYPE video messaging.Little is boring, like Skype video calls and other similar applications, no problem with microphones/noise etc. Since download Windows Essential 2012, I have no sound for videos which wo

  • Overheating my Satellite A665 - 12 M

    Well,. As the title says, my Satellite A665 is overheating. I bought it some time ago, but it has done from the beginning. I wasn't expecting to buy a EUR 2000, - portable and have these issues. I have only these questions when I went and all CPUS ar

  • Satellite L40 18 p unbootable

    Hello people, My Satellite L40 18 p no longer starts. All I get is the power of go green LED. The DVD ROM drive flashes and I can open and close - but that's all. Nothing else happens. Any idea on the forum that I can do to get the laptop again start