Analog out problem

I am generating pulses ans sending them through the analog outs. I have the outs connected to the oscilloscope. When i run my prog. both the analog out channels shift up by 5v. When i stop the prog it remains in the shifted 5V. Now i goto the Measurements and Automation software and say test on either one of the analog out and it falls back to zero. But when i run the prog again i find the output shifted by 5V. Can anyone tell me why its happening this way? Thanks!

You could upload the vi in question so we can see what's up.
Sounds like you aren't putting a "reset" segment into your program, such as a frame at the end that sets the AO's to 0V.
Run vi->Set AO to 5V->Do stuff->Set AO to 0V->Shutdown vi.
MAX well reset the AOs when it opens up, so you need to do the same within your program.
2006 Ultimate LabVIEW G-eek.

Similar Messages

  • 6024E analog out problem-Urgent

    Hi ,
    I'm developing a device driver for NI6024E Pci Daq for Linux. I
    configured the registers for analog output & sometimes there is a
    error of addition of 0.1V real value of output. When this
    happens, i boot Windows and load NI DAQ it gets coorected. As I feel,
    there is a problem in initialization. Please help me to sort this out.
    Thanks in advance.
    Michael

    Hello Michael-
    I see you posted your request in the DDK Forum.  This forum will be viewed by NI software engineers, but most users in this forum will not have experience with driver development because NI-DAQmx Base for Linux does support your PCI card.
    I would suggest that you wait for a reply to your other thread or simply use the driver that is already available for Linux.  Hopefully this helps-
    Tom W
    National Instruments

  • X-series analog out fifo preload

    i am porting an m-series driver to x-series, and have a quick question about analog output.
    i have found that I can preload the aout FIFO by writing sequential data to:
            device.AO.AO_FIFO_Data_Register.writeRegister(val);
    however this is a 32-bit register, and through trial and error I have found that i have to write two values at a time:
        for(int i=0;i<preloadCount;i+=2)
            u32 val = buffer[i] & 0xffff;     // buffer has correctly scaled DAC values, as 32-bit ints
            if (i<(preloadCount-1))           // in case preload count not divisible by 2
                val |= buffer[i+1]<<16;
            device.AO.AO_FIFO_Data_Register.writeRegister(val);
    is there a way to write one 16-bit value at a time to the analog out fifo?
    thanks,
    --spg
    scott gillespie
    applied brain, inc.
    Solved!
    Go to Solution.

    additionally, is there a way to DMA 32-bit values to analog out, without them being interpreted as pairs of 16-bit values?
    for analog input, both problems (writes to the fifo, and dma to the fifo) are solved by setting the fifo width:
    aiHelper.programFIFOWidth(nAI::kFourByteFifo, status)
    but so far I have not found a similar mechanism for analog output.  
    national instruments guys, can you comment?
    thanks,
    --spg
    scott gillespie
    applied brain, inc.

  • Read spreadsheet file for Analog Out Profile using DAQmx

    I am trying to read a .txt file in, then output the Analog out profile (Daqmx) vs. time.  The first column is time is (ms) in .001 sec increments.  The second column is the Analog out voltage I want to output.  I want to read the profile in, and ouput the a Analog out voltage incrementing in .001 sec intervals (or whatever the time increments are in the .txt file).  The problem I am having is, it reads in the whole file and outputs it in a fraction of a sec, instead of incrementing by the time.  I attached a screen shot of what I have.  Any help would be great. Thanks 
    Attachments:
    screen shot read.jpg ‏75 KB

    You are reading the timing but not doing anything with it. You've specified Analog Wfm 1Chan NSamp for the DAQmx Write but you did not create the waveform data type. Use the Build Waveform function on the Waveform palette and wire in your array to the Y (waveform component) input and the time interval to the dt input.
    Message Edited by Dennis Knutson on 04-06-2006 08:56 AM
    Attachments:
    Build Waveform.JPG ‏6 KB

  • Bad point on FP analog out module

    When moving through the 4-20 mA range on an FP analog out module by .1 mA increments. I am seeing several specific points ex. 5.2 mA or 11.3 mA. That appear to short the module to 20 mA. I have confirmed this both with FP explorer and a DVM. The points are reproduceably bad. In addition the only way I have succeded in solving this is by switching the CFP 20-20 head module. The problem is that I have many systems to field and I have now seen this on 3 seperate heads. I have even tried different power supplies. any feedback would be great.

    Shock,
    So you have seen this issue on multiple systems and when you replace the cFP-2020 controller the issue goes away? When you say it shorts the module to 20mA, do you mean you tell it to output 5.2mA and it then actually outputs 20mA? I would have guessed that this issue has to do with the I/O module. Does reformatting a problematic controller resolve the issue or does it still demonstrate the behavior? Also which specific cFP I/O module are you seeing this behavior from?
    Ames

  • X-Fi digital out problem with FPS 2000 speak

    I just upgraded my old SB Li've! to X-Fi ExtremeMusic.
    I connected my 4. digital FPS 2000 Cambridge Soundwork speakers to the digital i/o port at the back of the sound card, but I could only hear from front speakers. Nothing from the rear speakers.
    Also when I run the speaker connection wizard, after I pick digital output, the program only allows me to select either headphone or 2. speakers even though I connected to my FPS2000 which is 4. speakers.
    Is it because my orginal mini-plug to DIN converter cable from FPS2000 is a 3-pole only and X-Fi digital out port is 4-pole? If that's the case, is it possible to buy a 4-pole mini-plug to DIN converter cable which works for FPS2000?
    Will this cable http://us.creative.com/products/product.asp?category=3&subcategory=58&product=0375 &nav=systemRequirements
    work?

    Actually you are having exactly the same problem as other users with DTT3500 or 5700 speakers. The X-Fi does not support the DIN connection. The digital-out of the X-Fi is the industry standard SPDIF. This means only 2-channels can be sent!
    You should connect your FPS speakers to the analog outs of the soundcard. Quality will be anyway better, as the X-Fi includes modern DACs at 24-bits, which is not the case of the FPS2000 speakers.

  • Time out problem in BPS

    BPS friends,
    We have a planning function to copy Versions based with some filters. The copy function takes 5 hours and times out after that. The function is reaching max buffer size as recommended by SAP so we cant increase the buffer size anymore.
    We are on BW-BPS 3.5.
    How can I solve this time out problem? Please respond to me.

    Hi Pat,
    How many record did you copy ??
    Could you restrict the copy in not 1 package ??
    Package per package ...
    I suggest you ..
    e.g. you have restriction by a 0CALMONTH / something ..
    Then,
    You can copy e.g. for January to March, then March to August, etc.
    You can automate it by planning sequence.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for the points you choose to assign.

  • AirTunes with AirportExpress cut or drop out problems - my solution...

    I buyed 2 of the Airport Extreme one month ago (Firmware 6.3, Itunes 7.1.1), never got them working fine, till yesterday...
    I have A Zyxel ADSL WLAN Router Switch. WPA-PSK as I wanted a secure Network. Both of the AX were connected with static IPs. WLAN was always working fine, but I had many cut outs with airtunes. I wanted a solution with lossles streaming audio with the possibility to connect my Receiver digitally. That's why I bought my first Apple hardware, as I was always told, Apple=Plug'n play. Very frustrating!
    I tried other switches, Routers, WLAN adapters and cards, nothing worked. Airfoil does not support multiple speakers yet, so it's useless for me.
    In the FAQ of the Airtunes, Apple mentioned to use lower security, as some Computers probably do not have enough power to stream music flawlessly. But my Computers really do have enough power! I think the AX does not have enough power to do that. So I created another wireless network with one of my AX. I set the security to WEP-40bit key and joined this new Network with my other AX. Not the best solution, as I'm now connected to the Internet or to the AX to use Airtunes. Cables could fix that problem, but then I could use a wired system instead...
    I use Channel 11 for the AX WLAN (the only clean channel in my area), Multicast to 11, only G mode for Wireless and a 5 characters WEP-40 key and no WDS. Seems to work at the moment.
    I hope this will help others with the cut or drop out problem. If you have a working AirTunes system, please post your setup. Mostly I'm interested in a Setup with working WPA...

    Thanks, I hope I can help others with this annoying problem...
    Sorry, I forgot to write about the RF Interference. Belive me, I spent hours and hours searching for a solution in the Internet and every checkbox the Admin utility offered me to try out... I'm working as a system engineer, and supporting computer systems since the early 90ties, so I'd say I have a bit knowledge about all the networking, WLAN, Audio... In school we had the Apple Mac I with the 12" monochrome monitor and appletalk for networking quite funny!
    But back to the RF interference: At the moment I activated it on both AX I own. I have a microwave, wireless phone and I'm living in a Area with many WLAN access points. I can choose between 6 networks!
    I'm the only one with a network higher than channel 6, so this area is clean at least.
    As my AirTunes do work at the moment, I'm not going to try if I could also deactivate it.
    Next step is to try if I can connect the AX Router to the internet. A connection to my ADSL router should do that, but up to now I had very strange behavior when plugging in a ethernet cable to the AX. If this will work, it will be my final solution, at the moment I only see it as a workaround...

  • TV OUT Problem this is how I solved.

    Well, first of all I cannot  guarantee if this will work for all people with tv out problems. TV with PC I think will always be a BIG headache .
    How I did fix my TV OUT problem. Since I live here in Brazil, people have a problem with the system that is Pal-m. But this is easy to set up, since you just have the screen working on your TV.
    The first thing that I did is to remove completely the most recent NVDIA drive (not the one made for MSI) that is 30.82. I also removed the WDM driver. Since Im using XP I didnt have to reboot 30 times just 20,   , yes 20 reboot times to see if everything was all right, it took me about 1,5 hour of work.
    The second thing was that I started to install the driver that came with my MSI Card (Geforce4 MX-460 TV OUT).  The version was 27.50. The TV out problem was gone. I got a really nice image from the screen.
    Than It came the must boring part.  ;(  I tested all nvidia drives from 27.50 to 30.82. Look the results I got concerning just the nview situation(dual monitors):
    Nvidia 28.32. work with nview.
    nvidia win-xp-2k-2835 work with nview.
    nvidia win-xp-2k-2880 doesnt work with nview.
    nvidia win-xp-2k-2890 doesnt work with nview.
    nvidia win-xp-2k-2911 doesnt work with nview. Not all parts from the driver was updated, someone belongs to 28.90.
    nvidia win-xp-2k-2920 doesnt work with nview.
    nvidia win-xp-2k-2942 doesnt work with nview.
    nvidia win-xp-2k-2960 doesnt work with nview.
    nvidia win-xp-2k-2980 doesnt work with nview.
    nvidia Win2k-xp-29.90 doesnt work with nview.
    nvidia W2K_XP_V29.90 doesnt work with nview
    nvidia Win2k-xp-3020 doesnt work with nview
    nvidia Win2k-xp-3030 doesnt work with nview.
    nvidia Win2k-xp-3082 doesnt work with nview.
    I got all this drivers from a really nice site: 3dchipset .
    Of course most of these are beta drivers and due to my limitation knowledge, I dont know why the nview display stopped to work at version 28.32.
    And the last. The driver 28.90 driver did a really fatal crash on my PC when I was using my web camera and the nview together. It just shut down my PC, at once.  X(
    That all folks

    Yes, that's how iMessage should work. Try this. Sign out of Messages on both devices. Sign back in on your phone and wait until it activates. Go to Settings>Messages>Send & Receive. Make sure Start New Conversations From is set to our mobile number. Then sign in on your iPad using the same Apple ID as you use on your phone. Once it activates, verify the settings. I've got iMessage syncing across my iPhone, iPad and MBA. Every once in a while, there's a glitch but rarely.
    Best of luck.

  • The Video Out Problem...Fixed?

    I know Wikipedia can be edited by virtually anyone with membership and an opinion, but I had to know.
    It said that an itunes update 1.0.2 fixed the video out problem...does that mean that videos can now be connected to a TV and play on the TV? They fixed that?
    I am still ever in the market for the nano, just waiting until the right ammount of money to purchase one. Thanks

    I think it is currently working according to this knowledgebase article: http://docs.info.apple.com/article.html?artnum=300233
    That is, for the new Nano, you can use the older iPod Universal Dock (ie the normal one that has been available for a couple of years) together with an iPod composite video cable or an SVideo cable (ie all currently-available stuff you may have already bought for a previous-series video iPod), OR you can use the brand new "Apple Universal Dock" with the brand new Apple Composite AV Cable or with the (new) Apple Component AV Cable, OR you can use one of those brand new Apple AV Cables directly with the Nano (without the new Apple Universal Dock).
    What you cannot do is connect an old video cable or accessory, which was expecting to get composite video from the RCA/audio jack on the Nano, because it looks like (on the new Nano and the Classic) the audio out jack is now just for audio out and video is only available via the dock connector on the iPod.
    ted.h.

  • SB Xtreme Audio Notebook optical out problem with Home TheaterSystem-HELP!

    JSB Xtreme Audio Notebook optical out problem with Home TheaterSystem-HELP!, I have this sound card connected?(optical OUT) ?to my home?theater system's digital IN ?through the recommended /8in. optical miniplug-to-optical SPDIF cable. Theater system is set correctly to Digital-In mode. I have no sound!
    The cable is a Velocity Toslink-to-Optical Mini Plug digital cable. I don't see any settings in the Creative Console Launcher. The notebook is a Dell XPS M730 (Vista 32).
    I have a PS3, DirecTV, and the SB Xtreme Audio Notebook cable on a hub switch that connects to the system's?one Optical IN. The PS3 and DirecTV sound perfect!
    The sound card works fine with standard PC speakers. I'm at a loss as?to what to try next. I set this whole system up myself, so I'm pretty good at working out the kinks, except this one!
    Karen

    OK. I just went to Control Panel - Sound - Playback - Digital Output Device (SB Xtreme Audio Notebook) - Properties - Advanced. I experimented with different sample rates and bit depths. Clicked the test button and lo and behold - sound from the HTS! I've tried iTunes, PowerDVD (configured to digital output) and YouTube - no sound! Am I missing something really obvious?
    HA! Just backed out to Playback and selected Digital Output Device (SPDIF) and set as Default. Sound is emunating from HTS! Well, that mystery is solved! Who knew.
    Thanks anyway! Any comments or advice will still be appreciated.

  • Simultaneous Analog In and Analog Out

    How to Output on Analog Out and read Analog In at the same time.
    I am using a VC++, NIDAQ 7.01.
    No LabView.

    Greetings,
    The following example demonstrates how to perform synchronized analog input and analog output:
    Synchronizing Analog Input and Output
    The example was written in CVI, but modifying it for use in VC++ is fairly straightforward and documented within the code.
    Good luck with your application.
    Spencer S.

  • Xtrememusic: Digital out or Analog out, Advantages Disadvanta

    I have a Xtrememusic card, that has a wonderful sound using the analog outputs to 3 Sonic Impact T-Am
    ps.
    Now, I'm curious about using the digital out to a Panasonic SA-XR55 digital amp/receiver. I know I would lose the CMSS, but the Panasonic can do it's own synthesis of surround. I'm interested in knowing from users about the pros and cons of using the digital out or analog outs. I know the quality of the Xtrememusic DACs are good, and I read that the Panasonic?has a excellent sound output as well. If I choose to use the digital out, I could just use?the motherboard onboard digital out, although only in DVD modes does it do a true bitperfect pass through. In stereo mode, it's still using some of Windows to mix the sound. I could also use the digital out of the card. Seems like a shame to bypass all of that nice analog the card is capable of?
    Oh yeah, anyone know if a old Creative Li've 5. I/O panel will work with a Xtrememusic card??Thanks

    wiersch,
    I believe you might have Skype set to auto-configure your soundcard. Try this, open Skype and go to it's audio setting menu. Disable the option 'Let Skype adjust my sound device setting.'
    Jason

  • IPod Nano Grey Out Problem in iTunes??

    I purchased my iPod Shuffle last year. I installed iTunes in my Window PC and purchased music via the music store.
    A month ago, I purchased a iPod Nano, I added the iPod Nano to iTunes. iTunes will update my iPod Nano automatically when I connect it to my computer.
    However, all the songs in my iPod Nano menu in iTunes appear 'grey out'. I can't do anything like delete, play them etc??
    Can anybody advise me how to solve this 'grey out' problem?
    Thanks,
    Jacky

    Welcome to Apple Discussions!
    If you update automatically, the songs are grayed out, because the songs should be on your computer.
    To delete songs, you can uncheck the songs/podcasts you don't want on your iPod in iTunes. Then connect your iPod to the computer. When it appears in iTunes, go to edit-->preferences. Click the iPod tab, then the music tab under that. Check "Only Update Checked Songs" and click OK. Only checked songs will be put onto the iPod.
    See this for more ideas/tips...
    Deleting songs or playlists from your iPod
    To be able to play songs on the iPod through the computer, delete songs only on the iPod (without having to check and uncheck), and to have songs not grayed out, you would have to manually update. Songs would no longer automatically update onto the iPod. You would have to drag new songs that you want on your iPod onto it (through iTunes)...
    Managing Your Songs Manually
    btabz

  • How can I generate tones with usb 6008 using analog out?... tia sal2

    Greetings All
    I've been looking at the example Sim Phone.vi that comes with labview and would like to generate similar tones out of our usb 6008 device. I can get a very faint sound out of our usb 6008 using the example Gen Multi Volt Updates-SW Timed.vi Does anyone know the best way to alter Sim Phone.vi to have the sound come out of the Analog output of our usb 6008 device. ( I have a small speaker connected to the Analog out on our USB 6008)
    PS: we are using labview 7.1
    Does anyone know the Analog output frequency range of the usb-6008? Is this possible?
    TIA
    Attachments:
    Gen Mult Volt Updates-SW Timed.vi ‏78 KB

    Hi sal2,
    As stated earlier you could most certainly use the USB device to generate sound, but that would be at a max update rate of 150 Hz. While according to Nyquist theorem you could get frequency information for signals below 75 Hz, you may notice that the quality of the data in that spectrum to be very low due to having so few samples.
    While technically possible to produce you really should look for a device with a faster Analog Output update rate. I would look for a device that supports Analog Output at least 10x the maximum frequency that you want the user to hear. Some great, yet lower cost products, would be the M-Series line of products. They would give you the performance that is really needed in the type of application that you are talking about.
    If you still want to use the USB Device, then you would need to use code similar to that found in the example Gen Mult Volt Updates-SW Timed (Found here: C:\Program Files\National Instruments\LabVIEW 7.1\examples\daqmxbase\Dynamic\ao).
    Best of luck getting your system together,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

Maybe you are looking for

  • Problem Creation of New Tax code

    Hello gurus, the client has new requirement 3 % cst the S.D. people have configured the condition type for CST 3%. and it is reflected in pricing procedure. how i should configure the same in taxinj procedure with tax code. pls urgently help. points

  • Cannot install extension in Dreamweaver CS3

    I just purchased an image gallery extension from the exchange. The instructions say that I need to run the extension manager to install it. When I do it I get an error message saying: "This extension cannot be installed, it requires Dreamweaver 7 or

  • Issue with XML report printing on R12 instance

    Hi, I'm facing issue with printing xml reports on R12 instance and followed the note (How To Print XML Publisher PDF Reports Via The Concurrent Manager:metalink id:338990.1) and configured the pasta printer,still printer output is showing the junk ch

  • OO ALV column description

    Hi Experts,                  I have a OO ALV with hierseq list display. My column heading description is coming from Data element and very short. How do I give my own description of the columns. Thanks

  • XML Bank Statements

    Has anyone loaded bank statements in Cash Management using XML Gateway and the IFX XML file format? If so, I would like to get some information and possibly contact you directly to discuss. Many Thanks, Vipul.