Output 2 length of time different voltages while recording the current of one of the outputs

I create a vi that generates output 2 waveforms of voltage different (AO1 and AO2). These signals is different in duration and number of times it will be produced. AO1 must take place several times while AO2 is running her first time. I also record the entry of AI1 output in AO1. I have attached a vi that I thought it would work. I thought it would be good to have the AI/StartTrigger initialize the acquisition and the output voltage. However, this arrangement results in an error. The error I get is-200802. Am I going about this all wrong? Any ideas?

At first glance, I see some problems with your code:

-You arecalling DAQmx writing before calling DAQmx Start. The departure must be called before writing.

-You have two tasks of analog output. Only analog output task is allowed per unit. If both of your analog output channels are on the same card, they must be in the same spot.

Here is a great resource for getting started with DAQmx programming.

Tags: NI Hardware

Similar Questions

  • How to export a png of different size while using the command exportToPNGSequence jsfl?

    How to export a png of different size while using the command exportToPNGSequence jsfl?

    Use the matrix parameter.

  • Photoshop CC - can't control + click to select a different form while using the tool pen?

    I used the tool constantly feather in photoshop cs6 and would often use control + left click to select a different shape using the pen tool.

    Now, I have to switch to the move tool to select another layer? Why this feature has been removed / changed?

    Difficulty: After sleeping more, here is how I fixed it:

    The new Direct Select tool by default is set to layers "active." Switch to "all layers".

    photoshopcc_cntrlselectshape.png

    Post edited by: Joe Horan

    A new problem = select several points with control + click + drag is to select all shape layers... Jesus Christ, why is this changed?

    I must now double click on the form I want to choose? Why? What is the point of this?

  • SE - X1condenser microphone get distortion while recording the vocal tracks

    I recently bought a microphone condenser SE - X 1, I used it to record vocal tracks on hearing of adobe 1.5 through an audio interface, m-audio fast track pro, my problem is that I get a lot of distortion, even when I reduce the input volume, can anyone suggest a solution. My os is windows vista 32 bt

    Hello
    1. Since when are you facing this problem?
    2. don't you make changes to your computer before the show?

    To update the drivers or uninstall and re-install complete drivers again. You can also check all of the settings within the program on both ends.
    You can also follow the given link:
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly
    You can also check:
    Tips for solving common audio problems
    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-fixing-common-sound-problems
  • Windows Movie Maker 2, 6-How do I change the length of time of the image

    Easily change the time

    Windows Movie Maker 2.6 can I change the duration of an image easily without leaving the storyboard / timeline? It takes too long to delete images and report them to the timeline/storyboard. If possible it is possible to easily select all the images I want currently on my slideshow and you change the length of time from there?

    Windows Movie Maker 2.6 can I change the duration of an image easily without leaving the storyboard / timeline? It takes too long to delete images and report them to the timeline/storyboard. If possible it is possible to easily select all the images I want currently on my slideshow and you change the length of time from there?

    ================================
    The change of setting to: Tools / Options /.
    Advanced... tab applies only to the added clips
    to the timeline * after * you change the setting.

    If you switch to view "Storyboard" and select
    all of the clips as a batch (select one and the type...
    CTRL + A)... you can add the 'Speed Up, Double.
    or "Slow down, half" effect of changing the
    duration. Simply select all clips / right click
    the effect on the menu... Choose...
    Add to storyboard table.

    'Speed Up, Double' cuts the duration of half.

    "Slow Down, half ' double life.

    These effects can be added up to six times.

    If you need finer adjustment...
    the info may be useful:

    You can change the duration for each clip
    manually. Move your pointer autour the
    edge of an element until you see a double red
    arrow. Now, drag the double red arrow...
    you will see if show a ToolTip displays the duration
    train to change.

    Or... just to redo the project after changing
    the long-term: Tools / Options / Advanced
    tab.

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

  • Digital output to a different voltage?

    Hi all

    I finally finished my program of data acquisition for the laboratory, which made the acquisition of AI voltage multi-channel digital outputs with timed to control the gas valves. My post-doc asked an additional feature, however, which must be able to have the analog output... It turns out that what he really wants to do with the feature is to have output digital, but with a different voltage value (he never hears on the sending of information higher or lower in a simple experiment).

    Now, the program is set up to run digital output now, it would be quite a bit of work to change in a zone of OCCUPATION. Is it possible to simply change the settings somewhere to have the ups to DO at a different voltage? I hope that this is the case from a card of 10 dollar Arduino can do 5V or 3, 3V.  Our DAQ card is the NI PCIe-6353. I looked through the data sheet and found nothing.

    Thank you.

    p.s. I suggested using additional circuits to set the tension for a given experiment. The post-doc said it was possible, but inconvinient. :/

    RaymondLo wrote:

    p.s. I suggested using additional circuits to set the tension for a given experiment. The post-doc said it was possible, but inconvinient. :/

    Well, it is just too bad for the post-doc.  Maybe he should give you better requirements next time

    OK without being in a bad mood, it is not a way to change the digital output voltage.  When you talk about DIO cards really aims to communicate only high or low and have a voltage. The only other option would be to use 4 AO ports on the card and treat them programmatically as DO.

  • Different voltages of output current transducer

    This will be my first experience on the use of daq cards and transducers so forgive if I ask stupid questions and any essential info is appreciated related to topic. I'll use the NI USB 6128 daq card. Range of analog input is ± 10 V, ± 5 V, ±1 V ± 0,2 v There are different output voltages of sensor current as; 1.65V ± 0.833V, 2.5V±0.625V, ±10V, 4Vrms, 2.5V±0.5V (these are the values of the LEM)... ±10V seems most appropriate, but they tend to be expensive. What happens if I use a transducer which has voltage output 4Vrms? I'll lose precision, if yes how much?

    Secondly, I have solar panels and I need to measure the temperature at the surface. What type of sensor will be more suited and how to read temporary data in labview. I know 6128 USB can not see thermocouple or rtd and their modules are expensive is there another way to measure the temperature and read values in labview.

    Thank you

    Hey, Sojo,.

    Yes, you still have the same number of voltage level because the resolution of a/d converters is the same. 16 bit means 65536.

    These 65536 steps will extend your range by the gain of the internal amplifiers. So, if you set a smaller measuring range you get a higher resolution. For example is the smallest step 3.05mV with +/-10V Beach and 1.22mV using the +/-4V range.

    And you can measure RTD if you use an external voltage, and you also can measure Pt100 and Thermocouples without additional hardware. However, using the appropriate signal conditioning hardware is always preferable in terms of accuracy.

    I suggest you to contact your local office of NEITHER and leads to an internal sale representiv that can give you the best suggestion of material for your application.

    Christian

  • ISight does not record in imovie7.1.4, while at the same time recording with garageband

    MBP 2.2 GHz Intel Core 2 duo on OS10.6.8

    I have taken steps (Please read if offering suggestions).

    Here's what I did successfully for years, and now it does not work.

    While recording video directly from isight in imovie 7.1.4, I'm simultaneously garageband (4.1.2, aka GB ' 08) running and audio recording.

    When I hit 'stop' in I saw, she would generate thumbnails, I hit 'done' the isight would disappear and complete video went directly into the imovie editing area.

    Please note that I have tried the following procedures at least 3 times or more there where problems are reproducible.

    What is happening now is that isight does not generate thumbnails either and when I hit, I get the ball spinning eternal, does not close the window of the isight, & I have to force quit.would

    I tried to close GB before hitting the stop on the isight - same problem camera

    Sometimes he would record only a small part, and once I opened GB, this offer would get no audio recorded.

    Another thing that is strange is that with Go out completely, isight, would be to save and build all thumbnails with success. As soon as I opened the GB, the video would have this effect of idle power not obvious then only imovie was on.

    Here's what I've tried so far:

    1. I disconnected and connected to another account, and it worked. The video followed well, recorded in its entirety, generted all thumbnails in the Edit with GB check box.

    Here is what does not work

    2.i went back to my main account. I copied all preference files in the library, placed in another folder on the desktop, then deleted all files in preferences in the preference folder in the library. Then, I rebooted the computer - same problem.

    3. I copied all the preferences of the library in the account of the other, deleted all preferences of the main account and placed alternative account preferences, rebooted - same problem.

    4. I then put the original preferences, done a permissions repair, zap PRAM, etc... . same problem

    5. I tried to simply remove the nd imovie7plist in the folder preferences folders to host BY - same problem

    6. I tried to open another GB file from scratch - same problem

    I would like to know if there is a way I can just imovie to uninstall, and then reinstall without touching GB or Logic 9 that I installed. I don't know if the relocation means the package whole ilife by default because I also have logic 9 in which files are shared by GB, and it might spoil some shared folders, etc. ..

    Another cry in a hollow shaft, ' Hello ello OLA OL o...» »

  • My Hotmail watcher has stopped working since last week. I uninstalled and reinstalled several times different, but it did not help

    My Hotmail watcher has stopped working since last week. I uninstalled and reinstalled several times different, but it did not help

    Sorry, I should have told you how to install it.

    • Click on the orange button Firefox > Modules > Extensions > click the settings next to the bar (screwdriver and key intercroisées) search, click install the module file them find the file that you downloaded and it open it. It should bring up a box that says install now. Do so if she asks you to restart Firefox, do.
  • I have a problem in my iPhone 5 s while I call someone when on-call time at 1 hour of the call is disconnected and say call failed can help you me in this problem.

    I have a problem in my iPhone 5 s while I call someone when on-call time at 1 hour of the call is disconnected and say call failed can help you me in this problem.

    What iOS version you are running. I've heard of it, but I heard no talk for a long time... You can update to iOS.

  • Time for a while loop to run once

    Hello guys,.

    I want to measure the time for a while loop to run once. There is a piece of code raised. So I just created a simple VI to try, please let me know which is the right way to do it?

    And I wondered, when I run the VI without highlighting the execution, he wouldn't give me a number, maybe it's because the code is simple and really fast? I have to highlight all the time?

    Thank you

    Not quite right.  Both get primitive value time will run at the same time.  use an image sequence to force the order of execution, as shown.  I also brought in the relitve of accuracy seconds vi of VI. LIB\utilities because it depends on the clock of the system rather than the mSec timer accuracy.

  • I have a VI that during three, while at the same not time but my computer no work everyone when run the program?

    My VI works with three loops while at the same time, but I use 100% of memory crashed the computer?

    Kaliman salvation,

    Whenever you are working with a While loop in LabVIEW, you must add a calendar to the loop, otherwise the CPU usage goes up to 100%.

    You have two functions of waiting: wait the next multiple ms or wait. The help of LabVIEW gives really good detail on the use of each of them. Then picture a wait until that following ms that shows several example.

  • adjust the length of time to display Desktop photo

    How to set the length of time on my computer's desktop picture? This is a new computer.

    Hello

    Each tiny pixel has a life, he will die sooner if she had to work more time. If you want to use slideshows at home, a picture frame may be an option, it's cheaper and you can play independently.

    Kind regards.

  • It is not possible to burn my playlist without windows knowing the length of time?

    All my music transferred has lengths of time attached to their file and I can't seem to burn the songs without windows knowing the length of time. Adjust the size of the file at a time? I have a ton of music on the program without recognized time and I wouldn't have to do this again!

    All my music transferred has lengths of time attached to their file and I can't seem to burn the songs without windows knowing the length of time. Adjust the size of the file at a time? I have a ton of music on the program without recognized time and I wouldn't have to do this again!

    What burning software do you use?

  • HP Envy 110 Series printers and I tried several times to reprint documents m in different qualities and align the cartridges, but the lines of words have dragged through them

    I have a HP Envy 110 series printers and I tried several times to reprint documents m in different qualities and align the cartridges, but the lines of words have dragged through them and are not clear. Much of the document is blurry and cut through. Any suggestions?

    Read this article, he describes some steps on how to use the printer utility that came with the printer to run a few steps that might improve the print quality, including cleaning the print cartridge and other procedures.

Maybe you are looking for

  • AVG warned me that the memory usage is very high and I have to restart.

    Worms using Win XP. 3 and your suggestion, I've updated Firefox to worms. 7.0.1 and I still get this message that firefox uses too much memory, 300 MB or more.

  • Reads music CDs, but does not recognize blank CD - r

    I have long used Nero or Roxio to burn some CD - Rs without problem. I recently tried to install Exact Audio Copy (EAC), which has worked flawlessly for years on my old computer, but all attempts to plant resulted in the Blue Screen Of Death, so I un

  • Cannot delete the app

    Hello I added the ABC News app some time ago, but then removed that he printed 10-12 sheets per day, not really what I thought it would be. But not that I removed from my apps (is no longer present on my printer no more) I always get the impressions

  • Windows Defender is turned off at startup

    Hello Whenever I start my computer, Windows Defender is disabled & I have to turn it on manually. It's funny, because on my start up programs, I set it up so that it starts when my computer starts, and yet it is always disabled. Sometimes it lights f

  • Audio recording in voice command (no transcript of speech recognition)

    Does anyone know a program/application record that allows a person control the audio audio functions during an audio recording with voice commands? I would like to dictate (no transcript required) to a .wav file or .dss with an earpiece bluetooth and