DAQmx Output Voltage repeats when it shouldn't

Hi all,
I'm having some trouble with the analogue output channel of my NI 6221: 
When I execute the code below It doesn't do anything, so I added a "Wait on completion" between the play and the stop.
When I execute the code then, it runs the sequence I programmed before until the end of time.
I set the task up for continuous sampling and I guess that might be the problem. Is there an easy way of setting it up to run just once, or do I have to count the samples programatically and enter the number to the task by property.
Any help is greatly appreciated.
Attachments:
DAQmx.png ‏17 KB

Hi jak888
I would just add a property node for timing to change from continuous samples (i.e. you can find it in the Measurement I/O > NI-DAQmx palette Timing node) where you can specifi sample timing to Finite Samples or you can use DAQmx timing for timing settings.
I also poste a picture to see how does it look loke.
If it would not work please let me know
Attachments:
img.jpg ‏33 KB

Similar Messages

  • How do you force DAQmx output to 0 at the end of program execution?

    I am using a 6713 to generate an arbitrary analog waveform on its output. However, once the labview vi has finished execution, the output voltage from the 6713 does not go back to 0 V. I have tried to force it back to 0 V by appending a 0 V amplitude waveform to the end of the analog waveform to mixed results (if I give it thousands of points, it goes to 0, but if I make it a more reasonable 100 points, it doesn't). How can I force the output back to 0 V. I tried stopping the task, clearing it, and stopping it and then clearing it. None of those worked.
    Any help would be greatly appreciated.
    Attachments:
    6713 Interface.vi ‏144 KB

    First, I have to ask, did you write this VI?
    It is very hard to follow and has a lot of confusing structures in it.  IN the middle area where a lot of the DAQmx functions are, the error wire loops around so much it is hard to tell what is happening in what order.  To the lower left, an array is converted to a cluster, the cluster is unbundled, the individual elements are fed to a compound addition to get a single value.  Why not just use a sum array function on the original array?
    The stop button is fed to the Stop Sign function.  This is Abort execution which is the same as hitting the red stop button at the top of the VI.  It ends the execution of the VI right then and there and doesn't allow anything else to happen.  Read the context help for that function.  As someone else has said on the forum,  "Using the Abort button is like using a tree to stop your car.  It will stop it, but there might be consequences."
    How is this VI being run?  Is the Run Continuous button being used?  My guess is yes because I don't see any While loops and the only thing the stop button does is end the program abruptly.
    You will need to rethink your whole architecture.  Stuff that needs to happen once should be set up before a while loop that has wires leading to the while loop or uses a flat sequence to make sure that it happens first.  This is you program initialization.
    Everything that happens repeatedly would be in the while loop.  The front panel Stop button is what ends this loop.
    Anything that has to happen before the program ends like closing out tasks happens after the while loop (either by wires for dataflow or in 3rd frame of a flat sequence structure.  With this, you should be able to reset your tasks so they output a zero voltage from the analog outputs before the tasks are closed and the program ends naturally.
    Appending a zero to the end of the waveform won't help because if the waveforms run continuously, it will restart back at the beginning.
    I would highly recommend looking at the example VI's for DAQmx functions and taking the tutorials for Labview that are available on the NI website.
    Message Edited by Ravens Fan on 02-23-2008 10:45 PM

  • How to add the rows formatted as table headings, Tables headings are repeated when a table spans more than one page.

    Hi all,
    i am facing problem while generating Test Result word document after successful execution of TestStand.
    The Problem is :
    i want to add rows Formatted as table headings, table headings are repeated when a table spans more than one page(marked as Red).
    Example:
    Page  No. 1
    |     Test case Number  |  Test Step number      |
    |      100                         |            100                   |
    Page  No. 2
    |     Test case Number  |  Test Step number      |
    |      200                         |            300                   |
    Test Result word document should generate with Table headings(marked as Red) in every pages of the document, but i am not getting as per above example.
    Please through light on this.
    Regards,
    Susa.

    Hi Santiago,
    Thank you very much for your valuable reply.
    i want to generate MS-word report for TestStand after successful testing using MS-word2000.
    Test report contains Actual values, Expected values and Pass/Fail status.
    In my program i have customized all  fields i can able to generate test report which contains Verification engineer name , test mode, test date, start time, end time Actual values, Expected values and Pass/Fail status.etc....
    To put all values of test case number, Test step number, Actual values, Expected values and Pass/Fail status in to table for each time, i will
    insert a row into table every time values arrives, once the table exceedes its page size it moves to the next page, next page should start with table row header  but it start with  values of above said parameters.
    so i'm not able to repeat table row header for each page.
    Please find the attached file for your reference.
    Attched file expected.doc  :   This file contains what i wanted to generate MS-word report. Here table row header "Test Case Number and Test Step Number " is repeated in second page.
    Attached file Actual output from source code.doc   :  This report generated from the source code. Here table row header "Test Case Number and Test Step Number" is not repeated in second page.
    Do you know any property to set "repeat as header row at the top of each page" using MS-word ActiveX in CVI/Labwindows.
    i think this information is sufficient for you,
    Still if you need some information please ask me.
    Thanks
    Susa.
    Attachments:
    Actual output from source code.doc ‏25 KB
    expected.doc ‏26 KB

  • What's the maximum output voltage of labview

    hi
    i want to give 0 to 10v to the oscillator circuit so for that i would like to know that maximum output voltage of labview because i want to oprate my oscillator using labview program

    hussey,
    this discussion has no worth.
    We KNOW that you want to generate voltage using the programming language LV.
    Since no programming language in the world is able to generate voltage without dedicated hardware, repeating "I want to use LV to generate voltage" several times will not bring you anywhere.
    What kind of hardware do you have for voltage generation mounted in you PC?
    What else do you want to generate except DC voltage (controlling an oscillator could include also AC voltage stimulation...)?
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Header Record not repeated when detail records span to more than a page

    In RTF template,
    1. I have a for-each with code of
    <?for-each@section:G_HEADER?>
    2. Under 'for-each', I have the header record is defined in a 1 table row.
    The row property for this table is set to 'Repeat as header row at the top of each page'
    3. Under this I have another table with fields for LINES data with its own 'for-each' code <?for-each:G_LINES?>
    4. Followed by end for the above two 'for-each'
    However, when I generate the PDF output from Preview, when the lines data spans to more than one page, the header record is not repeating on the subsequent pages. Anyone has any ideas how to fix this
    My XML Publisher version is 10.1.3.4.1 Build 130. I have a sample data and the template, but not sure if I can upload here.

    user6098416 ,
    I am also facing the same Problem as yours.
    My Template layout is as follows:
    <?for-each:G_HEADER?>
    Header table
    <?for-each:G_DTL1?>
    detail table  -->  (<?for-each:G_DTL2?> Detail Fields <?end for-each?> )
    <?end for-each?>   --> End for each for G_DTL1
    <?end for-each?>   --> End for each for G_HEADERMy problem is Header Table is not repeating on each page when detail Table data goes beyound one page.
    I tried the following but its not working:
    <?template:header?>
    Header table
    <?end template?>
    <?for-each:G_HEADER?>
    <?call@inlines:header?>
    <?for-each:G_DTL1?>
    detail table  -->  (<?for-each:G_DTL2?> Detail Fields <?end for-each?> )
    <?end for-each?>   --> End for each for G_DTL1
    <?end for-each?>   --> End for each for G_HEADERI am not sure whats wrong here.
    Thanks
    Sandeep

  • I downloaded IOS 7, but reminders' won't repeat when I set them to. They aren't connected to my icloud or an email account. *** is going on??

    I downloaded IOS 7, but reminders' won't repeat when I set them to. They aren't connected to my icloud or an email account. *** is going on??

    You really shouldn't be using the phone during an update...my thought is that your cables are the root issue. It is possible that because it was in the middle of the imparts and something went wrong it has been "bricked". I'd search the threads for restoring from recovery mode and you might have some luck.

  • Reading the status of the output voltage

    Hello, 
    I am using a 6703 card which is a static analog voltage output card.  At some point in my program, once I write to the output voltage channels, I would like to read back this output voltage from the card.  How can I do that?  Is there a property node that spits out the value of the voltage output? I tried using the DAQmx read functionality, but without any success.  I also looked at the possiblity of using the DAQmx Channel property node, but I couldn't find what I am looking for.  Any ideas?  Thanks in advanced for your kind help.
    Best wishes

    Hey Ibn7alal,
    Unfortunately, since the 6703 is an AO device only, it isn't possible to read the internal value of the AO as this would require an AI channel. This forum may provide further information for reference:
    Read the Current Voltage Output of an Analog Output Channel
    http://forums.ni.com/t5/LabVIEW/read-the-current-voltage-output-of-an-analog-output-channel/td-p/168...
    If you simply wish to be able to access the value that you sent into the AO, then you may consider a local variable. Hope this helps!
    --Ryan S.

  • DAC voltage capped when operating in torque mode with load cell feedback

    Hi, i'm doing a tension control on a cable driven system using servo motor. I had connected a load cell as analogue feedback for cable tension into the labview programme suggested in http://www.ni.com/pdf/manuals/371242c.pdf (Figure 13-3. Torque Control Using Analog Feedback Using LabVIEW)
    Problem 1: The response between desired tension and actual tension is good until about 80N, when the motor stops responding to higher torque changes. The voltage output in DAC is only 4-5V (max voltage output is suppose to be 10V) and the motor and amplifier had been verified to run up to 200N. What is limiting my DAC?
    Settings:
    Card: PCI-7350
    Analogue input: 0-5V
    Problem 2: I had implemented a low pass filter of 30Hz in MAX for the load cells. The effect is quite good for the low tension. However, as the tension increases, the noise increases proportionally too, causing vibrations and switching sounds to be heard at higher tension. Is there anyway to overcome this?
    Please help. Thanks 

    I can't see anything special with your settings, so I currently don't have a clear understanding, why the output voltage is limited.
    Could you please test the analog output? You could do this configuring the axis as an open loop stepper axis. This will allow you to set the analog output with Load DAC.
    Does this allow you to output higher voltages?
    Could you please do the test with and without signal connection to the analog output? Maybe the input impedance of your drive is too low and pulls down the board's output voltage.
    I hope that helps,
    Jochen

  • 7830R digital output voltage

    Hi,
    I am using a 7830R DAQ card to work with MOSFETs as switches.
    We have a 25-MOSFET array. Each MOSFET is controlled by a DIO line of the 7830R card.
    When the DIO line is at 0V, the MOSFET is off, and when the DIO line is at 5V, the MOSFET is on.
    However, the output voltage automatically drifts to 5V and gradually
    turns on the MOSFET if I do not keep updating the voltage of the line.
    Can I set the default output voltage at 0V once for all?
    Thanks.
    Guang

    Gaung-
    I believe some clearification is in order. Are your DIO lines floating to 5V while your FPGA VI is running or are they floating after the FPGA is reset (usually the cloase FPGA reference resets teh device)? The DIO lines are expected to float when not being explicitly written to. You have a few options:
    1) Set the default power up states via the instruction in this post:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=221423#M221423
    2) Dont reset your FPGA VI when you close it. This will continue to drive the digital lines in thier last state.
    3) Use pull down resistors on the DIO lines in question to force lines to 0V when not being driven
    Xaq
    Applications Engineer
    National Instruments

  • What is USB 2.0 output voltage on 17 in Macbook Pro?

    Need to know the exact output voltage of the MBpro 17" USB port- as i am hooking up very delicate electronic periphrial
    --cant find it on line anywhere.. does anyone know?
    [email protected]
    thank you
    g

    You may find this Apple article useful:
    http://support.apple.com/kb/HT4049
    Ciao.

  • Output shown blank when we run report in xml publisher using excel template

    Hi,
    1) We have a requirement where we need to run report to shown 100 columns. Since Microsoft word supports only 63 columns. So we are building the report template in Excel.
    2) When I run the report in Excel locally I get the output. But when I uplaod in BIP server and then run the report It gives a blank output.
    BI Publisher version 10.1.3.4.1
    BI Publisher Desktop version 11.1.1.5
    Please look into the issue.
    Please help
    Thanks,
    Nita

    Pl post details of OS, database and EBS versions, along with the database characterset.
    Are you creating PDF output ? Can you print Chinese characters when using US/UK operating units ? Are you using Pasta ?
    How to Generate PDF Output With UTF8 in R12? [ID 778970.1]
    HTH
    Srini

  • HP OfficeJet Pro 8500 goes to sleep, but often wakes up when it shouldn't

    HP OfficeJet Pro 8500 goes to sleep, but often wakes up when it shouldn't.  This happens over and over.  It used to sleep until I sent something to be printed. I now shut the printer down, but that takes a long time to start it up.

     When you finally get around to looking at my post, never mind.
    I reset the factory defaults on the printer and reauthorized my WiFi network.
    Now it is working.

  • Podcasts are syncing when they shouldn't be

    My iPod finally ran out of space so I wanted to remove some of the video podcasts from it. I have my podcast syncing set to sync the selected podcasts so I thought I could just uncheck the ones I didn't want to keep on my iPod and sync to remove them. That didn't work so I put my iPod in manual sync mode and removed them. I turned off the manual sync option and told it to sync again and it's copying all my podcasts (even the ones that aren't checked on the podcast tab). How do I make it stop so I can free up some space?

    Ok, I can confirm that the problem doesn't affect music playlists.
    I've also noticed that the files that get copied when they shouldn't take up more space than the ones that are supposed to be there. I noticed this by syncing, checking a podcast that was previously unchecked, then resyncing. It wasn't a lot of space, only around 10-25 mb.
    I've also found a workaround to get the files off my iPod. I have the "Sync only checked songs and videos" option checked on the summary tab for my iPod in iTunes. I can uncheck each individual podcast that I don't want to be on my iPod, then resync and they are removed. So I guess the problem is only present on the Podcasts (possibly movies and tv shows too) tab of the iPod screen in iTunes.
    Is there somewhere else I should go to submit a bug report?

  • Have mutli ver of LV -7.1 to LV10sp1 on XP PC. DAQmx - nilvaiu.dll missing when try to open CODE from WIN7 32 bit LV10?

    Have mutli ver of LV -7.1 to LV10sp1 on XP PC.  DAQmx - nilvaiu.dll missing when try to open CODE from WIN7 32 bit LV10?
    What Driver do I need?  VERSION Please -- DAQmx works fine in LV8.6.
    Solved!
    Go to Solution.

    Hi Briana,
    I believe I understand what you're asking, but which current DAQmx driver are you using with LV 2010?  Only the 9.1.5 and above drivers are compatible with LV 2010, while many of the older drivers will still work for you in LV 8.6.  Below, I've linked a compatibility chart for DAQmx drivers and Labview versions. 
    http://digital.ni.com/public.nsf/allkb/F4E76EC05118F72D8625773000672298
    Does this answer your question?
    Regards,
    Austin S.
    National Instruments
    Academic Field Engineer

  • AfterValueChange event trigged when it shouldn'tbe...

    Hi there,
    I'm hoping that someone out there has experienced the following (and
    knows why it is happening. ) :-)
    I have a couple of windows on which the AfterValueChange event is
    triggered on a field upon hitting the delete key.
    We all know that this should only happen upon leaving the field, ie. the
    field loosing focus. The problem is that I'm trying to recreate this in
    a simple test class, but now it won't happen. I still have the original
    windows on which it is happening, but I would like to construct
    something small and simple to send to Forte.
    Any ideas as to why this could be happening?
    Many thanks in advance.
    Jaco
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Thanks for the replies so far, but this is not the problem. I know about
    the "Validate on keystroke" option and it is definitely swithed off.
    I was rather thinking along the lines of this being be a 'funny' in
    Forte. Has anyone seen this before? Here is more information:
    1) The windows that it is happening on all have parent windows.
    2) The fields with this problem are all part of a mapped gridfield, ie.
    it has a type.
    However, I have constructed a test class with these characteristics, but
    it is no good. There must be something else that could cause this. Any
    ideas?
    -----Original Message-----
    From: Rottier, Pascal [SMTP:[email protected]]
    Sent: Friday, October 09, 1998 10:53 AM
    To: Fouche, Jaco
    Cc: Forte Users Mailing list
    Subject: RE: AfterValueChange event trigged when it shouldn't be...
    Hi Jaco,
    Check if the option "Validate on keystroke" is set
    to true on the widget that posts the AfterValueChange.
    If so, than that's the reason. Turn it off and your
    problem will go away.
    Pascal
    Hi there,
    I'm hoping that someone out there has experienced the following (and
    knows why it is happening. ) :-)
    I have a couple of windows on which the AfterValueChange event is
    triggered on a field upon hitting the delete key.
    We all know that this should only happen upon leaving the field, ie.
    the
    field loosing focus. The problem is that I'm trying to recreate this
    in
    a simple test class, but now it won't happen. I still have the
    original
    windows on which it is happening, but I would like to construct
    something small and simple to send to Forte.
    Any ideas as to why this could be happening?
    Many thanks in advance.
    Jaco
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Maybe you are looking for

  • [solved - faulty hardware]nvidia - serious problems after last update

    I'm trying to fix this for 3 days now... After last nvidia update i rebooted and my screen looked like this: http://img3.imagebanana.com/img/qogzxehj/img_1702.jpg So I googled a bit, tried to create a new xorg.conf with nvidia-xconfig, tried several

  • Best settings for Call of Duty 4 on the new Imac's

    Hello all. Not really PC gamer but decided to purchase this game to go along with my new iMac (Early 09 24" 3.06 with GT 130) and Bose speakers.. Just wanted to know if I can play this game at full graphic settings without without any lag of some sor

  • Layout in me2o

    Hi, My client is using subcontracting but is not satisfied be the standard layout in Transaction me2o. The list build up like -      SC requisition in 1th line      SC Order in 2nd line      ... and so on. Instead I would like a view sorted by requis

  • HT201364 how do I identify and delete unused or obsolete stuff

    on my start up disk? I've got 121gb flash storage. My storage breaks down like this: 13.97gb audio 11.58gb movies 31.46gb photos 23.38gb apps zero kb backups 35.25gb Other What is 'Other' anyway? I've cleaned a ton of pix & music off. what now? Got m

  • I have a print hp laserjet 2605dn with operating system windows 7 but not printing on color

    Hola comunidad tengo un laptop dell con windows 7 y le instale una impresora hp laserjet 2605dn pero no imprime a color me puden decir si alguien ya soluciono este problema?