I am getting a voltage spike on starting and stopping a daqmx task

Hello,
I am having a problem with a PXI-4461 DSA board that I can't explain.  When starting or stopping an analog output task, I am getting a voltage spike before the generation starts and after it stops.  We have put a speaker on the output, and the spike sounds like a "pop" when that happens.  However, the pop goes away when the card is also acquiring an analog input in the card.  This is a repeatable event, and very strange.  We have used the two examples "ContAcqGraph Voltage" for the analog input and the "Retriggering_Analog_Output_Waveform_Generation" to generate this phenomena.
Has anyone ever seen this before?  Is our card the culprit?
Thanks,
Rob

Hey Rob,
     I found out some information that might be helpful to you.  There was a problem identified with that particular SVT example awhile ago where spikes would happen due to a Device Reset during the generation.  This device reset was performed by default in the example if there was an error with the AO generation.  Since your code was based off of this example, I believe that there's a Device Reset happening due to some error.  If you could, please go through your application and ensure proper error chaining so that any errors generated are seen by the user.  You can also go through and probe the error clusters coming out of the VIs in order to get a quick picture of what might be happening. 
     The specific VI in question is "SVT Close Swept Sine (DAQmx).vi".  You can set a breakpoint before the "DAQmx Reset Device.vi" on the block diagram and verify that this is happening(see attachment screenshot).  Let me know what you find out.
Good luck
Gavin Goodrich
National Instruments
Attachments:
svt_close_swept_sine.jpg ‏35 KB

Similar Messages

  • Need help getting Tomcat 5.0.28 to start (and stop, eventually)

    Hi!
    I am such a newbie to the Terminal and writing scripts, so please forgive my naiveté. I have successfully installed Tomcat in my /usr/local directory, but I am having trouble creating files to start and stop Tomcat, per the instructions on the following page:
    http://developer.apple.com/internet/java/tomcat1.html
    I've followed the directions but continue to get the following error after I execute ~/bin/start_tomcat.
    -bash: start_tomcat: command not found
    My file contains the following code:
    #!/bin/sh /n
    export CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.28 /n
    export JAVA_HOME=/usr /n
    $CATALINA_HOME/bin/startup.sh /n
    If anyone can help me, I would really, really, really appreciate it!
    Thanks!
    PowerBook G4 12"   Mac OS X (10.4.5)  

    Why are there all those "/n" there? Either you or the place you copied from has the wrong slash. But still, it's wronger than that to have them at all: "\n" means a newline (i.e., press "return") not the actual "backslash en" characters. Sometimes people post code with those \n visible: by making it explicit where a line-break should be, one doesn't have as much trouble when a web browser reformats the text and puts line breaks where they don't belong.

  • I am trying to create a ringtone, when I right click and and go to get info I can't open anything under options. Itunes is not allowing me to do anything under options including changing the start and stop times. ??

    I am trying to create a ringtone, when I right click and and go to get info I can't open anything under options. Itunes is not allowing me to do anything under options including changing the start and stop times. ??

    GarageBand '11 - Create an iPhone ringtone - Apple Support

  • I am getting a service start and stop alert while doing the windows server updates.

    HI
    I am getting a service start and stop alert while doing the windows server updates. Services are wmiApSrv , WPDBusEnum. Can you please help me to under stand why i am getting the service start and stop alert.
    Thanks & Regards
    Abhilash K Joy

    Hi,
    The WMI Performance Adapter (wmiApSrv) service provides performance library information from Windows Management Instrumentation (WMI) providers to clients on the network. This service only runs when Performance Data Helper is activated.
    This service is installed by default and its startup type is Manual. When started in the default configuration it will log on using the Local System account.
    You can try troubleshooting the issue using Clean Boot to check if the issue is related to third-party software.
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135/en-us
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Start and Stop Trigger using PXI-6120 and DigitalSta​rtAndStopT​rigger.vi not working :-(

    Hello,
    I've been trying for a while now to get my PXI unit to capture a waveform between a Start and Stop (Reference) Trigger using the NI example DigitalStartAndStopTrigger.vi downloaded from the NI website. However, whilst the start trigger and stop trigger seem to be working i.e. the VI runs and stops at  the correct times there is never any data read from my DAQmx compatible PXI-6120 card. So I can see the VI is running around the aquisition loop but the Property Node AvailSampPerChan is always returning zero... this has me slightly puzzled. I thought this might just be a driver issue so I've updated my box to the following software versions (see below) and installed the latest drivers e.g. DCDNov07.exe (also from the NI site) but nothing has changed.
    my software as of now.
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.3.0.49152
    DAQmx 8.6.0f12
    Trad DAQ 7.4.4f7
    before I updated I had the same problem but with the following versions:
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.2.1.3001
    DAQmx 8.5.0f5
    Trad DAQ 6.9.3f4
    So to cut a long story short I still have the same problem with the triggers... does anybody have any ideas what is going wrong?
    To add insult to injury it the traditional DAQ example ai_start-stop_d-trig.vi was almost working correctly before I did the upgrade. It had the strange behaviour of capturing the AI0 channel but on the wrong edges (e.g. if I set Start on Rise and Stop on Fall it would do the opposite, Start on Fall and Stop on Rise).
    I'm going to leave my box doing a mass compile over night but i'd really like it if someone could suggest a solution or point me in the right direction.
    Many thanks,
    Mike

    Hi Graham
    I'm out of the lab today but I'll try and answer your questions as best I can...
    1) What are the values you have set for Buffer size, Rate, samples per read and post trigger Samples?
    At the moment I have all the values (e.g. sample rate, buffer size etc) unchanged apart from the ones I mentioned in my previous post (see above). I have in the past played around with changing the buffer sizes and rates in the example VI but as this appeared to have no effect on the behaviour I now have them setup as in the download.
    2) Does the program end after the stop trigger is implemented?
    Yep, if I toggle the trigger line high then low I see the program exits the read loop and the VI stops running as expected.
    3) Lastly can you give me the details of triggering method. Are you
    using a digital train of users set digital pulses? how long is the
    program running.I'm using the WriteDigChan.vi to manually toggle the first digital line of the PXI-6733 card which is wired directly to PFI0 of the PXI-6120 card. Generally, I just start the VI running  and then toggle the line high, wait a couple of seconds and then toggle it low.
    To me it all looks like it should be acquiring samples but as I said yesterday it just refuses to fill the buffer with any data (and hence no samples are read).
    Any ideas? and thanks for you help,
    Mike

  • Music starts and stops during playback of burned DVD

    I really need help with this problem...I made a slideshow and added music from itunes in the program IDVD. Once I burned the DVD the music will start and stop throughout the DVD and not at chapters as I read in other threads - but in random places on the DVD. The DVD sounds like it gets hung up and then starts again. This is my first project using IDVD, so any help would be great.

    Debra,
    Do your project have music purchased from iTunes? If so, that could be the cause of this problem. Music from iTunes is DRM-protected and can cause problems in playback. To take care of this, first burn all of your purchased music to a CD, then reimport in an aiff format. To do this, in iTunes, go to iTunes>Preferences>Advanced>Importing. Look for "Import using", and use the drop-down menu to select AIFF encoder.
    Good luck.

  • Start and stop a loop automatica​lly subtractin​g at each iteration

    Hi there,
    I know that there are some topics about it, but I could not find any solution, especially because I use the version 7.1 and cannot open new version files.
    My problem is as follows:
    I need to charge a tank from 6 to 10 in the morning, every day during 3 days. The process must start and stop automatically, which means, no bottoms to start or stop. The start and stop conditions come from the hour.
    I start with a big loop of 72 iterations, which corresponds to 72 hours.
    The tank must start at level 6 every time it starts.
    After the start, 1 unit must be subtracted in each iteration. Which means, that at 6 am the tank has level 10, at 7 am level 9 and so on. In the end, at 10 am the tank level is equal to 2.
    In the next day, the process must start again and the tank must start at level 6.
    Any suggestions? Thanks in advance.
    Solved!
    Go to Solution.

    While this may work it can be improved significantly. This really isn't a state machine. This is basically the same as your flat sequence with the exception of using a While loop with a Case statement to implement each frame.
    You should define what your actions are and create a typedefed ENUM naming them. State names of 1 through 24 are meaningless. Not to mention in your code many of the cases are duplicates of others. That would mean that all of those can be one state with logic to determine what action/state comes next. A properly defined state machine would not need the outside For loop. Without knowing your specific needs some examples of reason state names would be the following: Start, Stop, Exit, Error, Initialize, Get Tank Level, Fill Tank, Drain Tank, Idle, etc. Can you see how these are easier to understand than 1 through 24.
    There are lots of examples of state machines here. Try a search and take a look at some of them.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • My ipod nano 7th gen. won't save the changes I make to a song's start and stop time. How do I fix this?

    So I have a few songs that I don't like the intro to or the end of it that I had cut to where I wanted on my previous ipod. When I try to do the ame thing with this one with the start and stop time, it will work for awhile and then randomly start and stop where it had originally. I have done it like 4 times now for some songs and I can't seem to get it to stick. Suggestions?

    If you use the Sync feature in iTunes, then it needs to be done to the song in your Music Library, then synced with the iPod.  If you do not use the Sync feature and are performing the changes to the song on your iPod specifically, then the setting may be getting overwritten when you drag the song that's already on the iPod back onto the iPod.  It will overwrite all local settings for the song on the iPod with the settings in your library. 
    Try performing the changes to the song in your music library, and then dragging it back over to your ipod (or Sync your iPod if you use that feature).  This will make sure that the setting are consistent in both your library and iPod in-case you were to ever overwrite the song once more.

  • How to start and stop the BI Services in Solaris 10

    Hello All,
    Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
    Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
    Any help will be appreciated
    Thank you
    Ash
    Edited by: 902739 on Jan 11, 2012 12:17 PM

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

  • Lightning to 30 Pin Adapter Charging Starts and Stops Intermittently

    I purchased two Lightning to 30 Pin adapters, and both are exhibiting the same problem.  They seem to start and stop charging intermittently on my iPhone 5, which, to be clear, is not in a case, nor is the adapter obstructed in any way.
    I purchased one for a dedicated iPhone/iPad charging station that I keep by my nightstand.  The adapters fit flush with the 30 pin connector on the charging station side.  At least three or four times during the night, the phone vibrates twice with the "you've just connected to power" alert and wakes me up. Trying the same thing in the car with the other adapter, the iPhone charging starts and stops while connected to my 12v power converter via a Twig cable.  When I connect the standard Lightning cable to either the charging dock (through its included USB ports) or directly to the same 12v converter plug in my car's cigarette lighter, I have no trouble charging at all.
    Has anyone else seen this behavior?  Could I have two faulty adapters (which doesn't seem likely), or is there something in the nature of the adapter that makes it turn on and off the charging on occasion?

    I have the same problem. I bought the same type of Speck Candy Shell case that I had for my 3GS iPhone. The $34.00 Lighting to 30-pin adapter will not fit through the case and into the IPhone 5. I just talked to Apple support and after being on hold 5 mins while the tech talked to her supervisor, the Apple solution is "take your case off the phone when you want to use the adapter". I hope thousands of us complain and Apple fixes this. If Apple had not been so secretive and talked to accessory manufacturers they would of know that the Adapter they designed was faulty. Now I how to drive to an Apple store to return the Adapter to get my money back. Only the USB cable will fit through the case into the iPhone 5.
    Bad Adapter design my Apple. Thats what happens when you design a product for millions of people - in a secretive bubble.

  • How to start and stop a server

    I am doing some sockets programming.
    Now, when I want to get the TomCat 4 server running for instance, I would have to run the startup.bat or startup.sh file. To stop the server I run the shutdown.bat or shutdown.sh file.
    Can I do the same thing in Java?
    That is, in one window, I run a program: C:\>java myserver start
    The server starts running and holds there.
    In another window, I run another command: C:\>java myserver stop
    and the server in the other window stops.
    I am thinking the server would be running in a thread. When I shut it down, I close the thread just like in the Applet Clock example.
    I've tried this but it doesn't work.
    Can anyone please advise.
    Thanks.
    Anthony.

    Not precisely that way, but just off the top of my head, you would have to have a handle to the proccess (server) in the first window, then have a monitor program that allows you take this handle and end it. I would make this monitor program be the gateway to starting and stopping your server. To run a .bat file you can use runtime.exec().

  • How to start and stop a progress-bar thread before/after the main thread

    hi. I would appreciate any kind of help on my request.
    I have this as my main() function
         public static void main(String[] args)
              SwingUtilities.invokeLater(new Runnable(){
                   public void run(){                              
                        Options op = new Options();
                        OdessaClient oc = new OdessaClient(op);     
                        oc.setVisible(true);                    
         }Whenever I try to start a simple JFrame with an indeterminate progress bar on it just before the main function and stop it somewhere after I get a StackOverFlow error
    Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
         at java.awt.Component.show(Component.java:1302)
         at java.awt.Component.setVisible(Component.java:1253)
         at com.client.CylonBar.hide(CylonBar.java:25)
         at java.awt.Component.show(Component.java:1302)
         at java.awt.Component.setVisible(Component.java:1253)
    ...and so on...How must I implement something like it?

    Not precisely that way, but just off the top of my head, you would have to have a handle to the proccess (server) in the first window, then have a monitor program that allows you take this handle and end it. I would make this monitor program be the gateway to starting and stopping your server. To run a .bat file you can use runtime.exec().

  • Flash media player starts and stops

    I have Flash 9,0,115,0 and it works according to the test on
    the adobe website. However, when I try to play google videos, they
    start and stop and and freeze. What am I doing wrong?

    Is there a way to get a hold of this tool or any similar
    "before" I install FMS 3.0. I'm glad I didn't install it last
    weekend. I didn't know there were some risks of not playing my
    current flv's. Now, I want to check all of my flv's before I make
    the move...
    Also, is there any chance at all, that the
    start/stop/start/stop condition in all my videos (under FMS 2)
    after 2 connections could be blamed on the player? I have a custom
    made player. Can you point me to the right resources?
    I'm fairly new to this technology and really appreciate your
    time in answering my questions.
    Thanks,
    -Mario

  • I want cRIO to start and stop acquisition with push of physical button on cRIO, is that possible?

    When using my cRIO 9024 on the field, I prefer  to be able to start and stop acquisition with push of a physical button on cRIO. 
    I mean I don't want it to be "as start-up," I don't want cRIO to start acquisition as soon as the power is supplied. 
    Is that possible?
    Solved!
    Go to Solution.

    Hi Cashany,
    you surely can read that switch status. But there are easier (but more expensive) ways to switch a button. Fiddling with a pen or small screwdriver to switch USER1 isn't what I call "user friendly"...
    - You have atleast 2 voltage inputs on your module available. Use a switch to supply voltage to those inputs. Use a "real" button!
    - You have a serial port available. You could set some pins to GND or voltage and check their status inside cRIO/RT target...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Starting and stopping stream capture repeatedly

    Hi,
    I am building a vmail server that captures an incoming, continuous RTP voice stream from a hardware phone and records portions of that stream to disk, based on control messages received (like record/stop buttons for a continuous RTP stream).
    The first time I record, the sound file on the file system is well formatted. Subsequent recordings result in headerless audio files (although the audio data is correctly output to file otherwise).
    The problem is that I need to get header information written to the audio files for subsequent recordings.
    Here is a bit of source code to show how I am starting and stopping recording. At this point, the processor is already created and realized and the MediaLocator is previously initialized:
         MediaLocator recordedML ;
         public void startRecording() {
              try {
                   processor.start();
                   DataSource ds = null;
                   ds = processor.getDataOutput();
                   recordingDataSink = Manager.createDataSink(ds, recordedML);
                   recordingDataSink.open();
                   // starts sticking captured data into a file
                   recordingDataSink.start();
              } catch (IOException e) {
                   e.printStackTrace();
              } catch (NoDataSinkException e) {
                   e.printStackTrace();
         public void stopRecording() {
              try {
                   recordingDataSink.stop();
                   recordingDataSink.close();
                   recordingDataSink = null;
                   processor.stop();
                   processor.deallocate();
              } catch (IOException e) {
                   e.printStackTrace();
    Calling startRecording() and stopRecording() the first time results in a properly formatted sound file on the file system, captured from my incoming RTP stream.
    Calling startRecording() and stopRecording() subsequent times results in headerless audio files.
    So the problem seems to be that subsequent calls to processor.getDataOutput() result in a DataSource that doesn't print a file header.
    What I have tried includes:
    -recreating the processor, but this doesn't work because it seems you can only do this once for a single incoming stream - the processor never reaches the configured state a second time.
    -reconfiguring the processor or re-realizing the processor, which doesn't do what I want either.
    One way that I think this would work would be to write out the audio header manually after the capture is complete, but this seems like a gross hack and I would rather do it through JMF.
    Is there a way to fix this via JMF? Is this a JMF bug or is it intended to work this way?
    Cheers,
    -Jeff

    Hi, I am unfortunately unable to help you but perhaps you could help me. I have a Java GUI that I want to enable to record voice from a mic at the click of a button (stopping automatically if possible) and save to a defined file in the code. Would you be able to help me here? I have tried different source and rejigged things but I cannot seem to get anything working.
    Any help gratefully apreciated.

Maybe you are looking for

  • How do I connect my Imac OSX 10.9.4 to my HP Laserjet IIIP printer ??

    Hello, I own a very old HP Laserjet IIIP printer which is still very good and I would like to install it on my Imac OSX 10.9.4. Can you please help me to find the Drivers ? Many thanks. Giogio

  • Why won't my computer recognize my brand new iPod Nano I purchased today?

    I purchased a Nano 3 weeks ago and it quit holding a charge. I couldn't use the wall charger (Apple product) and then when I tried charging on my computer, nothing happened. I returned it and went to set up the new Nano today on the computer and the

  • Transfer Function (s-domain)

    Hello, I'm not sure that my previous message made it, so here goes again... I am trying to implement special analog filters in Labview that are specified by s-domain transfer functions. The only way I can think of to do it is to do a bilinear transfo

  • Lightroom is not slow!

    Recently I upgraded to Intel E6600 with 2 GB of DDR1066 and two SATA II drives running in RAID 0. With this new machine, Lightroom is a joy to use. With new motherboard (Asus P5B Deluxe) and power supply (Zalman 600W) it set me back $1000, but I thin

  • Two reconciliation account for same one time vendor

    Is it possible to have two reconciliation account for same one time vendor?