Why do i get an offset while acuiring analog input

HI all,
I have posted the question before but no body replied to that. Plese tell me how to acquire analog input for example sine wave of 5volts pk-2-pk using analog channels. When i connect the wires and using a labview or visual basic 6.0 software, try to acquire the voltage then i do get a wave but that has an offset included with it. like the wave starts from 5 volts and goes upto 10 volts. So please help me out for this. I will be very much grateful to you.

Hello shami81,
There are several things that can be occuring for you to see the
behaivior you are discribing. The most basic is that the signal you are
inputting from your source has a DC offset. Assuming this is not the
case, there are several other things that it could be.  If the device
is wired with the incorrect grounding setup, that could cause an
offset.  The way to check this is to use our Field Wiring and Noise Considerations for Analog Signals developer zone article to make sure everyting is hooked up correctly.
In order to make sure that the code is not a factor, the best way to
look at the signal is with Measurement and Automation Explorer.  If you
open a test panel (My System»Devices and Interfaces»NI DAQmx Devices,
then right click your device) that will allow you to see exactly what
the hardware is seeing.  If this still has the offset, then we know
that the issue is not with the signal analysis, but in the hardware or
the actual signal.
Many of our devices allow you to change the input coupling as well.  If your device has this functionality, then you could use AC coupling, which would remove the DC offset.
In order to help narrow down the possibilities, some more information
about your setup would be helpful. Specifically, information about the
device you are using, the driver you are programming with, how you have
your signal hooked up, which program are you using (example program or
your own code), and possibly a screen shot of your code or what you are
seeing would help greatly.
I hope this gives you a starting point, please post back with that
information if you still cannot find the source of the offset.
Neal M.Applications Engineering       National Instruments        www.ni.com/support

Similar Messages

  • Why do i get "please wait while windows configures scan" every time i scan something?

     when I go to scan something I get "please wait while windows configures scan"   

    Thanks Claudio,
    But if I remove Adobe Reader traces, then this means I am removing Adobe Reader XI, right?
    I need Adobe Acrobat Pro 9.x becuase I have its license, and I need its functionality.
    I had to install Adobe Reader XI, becuase I found annoying problem with Chrome browser, everytime I open PDF inside Chrome, I get prompt from Chrome that I must install the latest version of Adobe Reader. This prompt is so annoying to the extent that sometimes the PDF does not open at all, or it will cause unwanted display related resutls.
    Tarek.

  • I am getting an error while running Batch input session.

    While running BDC getting error that "Enter Discount Base, Automatic calculation not possible". I checked all the settings at company code level, tax code settings, document type settings. I am not getting it. While doing mannual posting the error is not coming.
    Please help me on this.

    Hi,
       While creating Material master sometime warning message will come for some materials . So while doing the LSMW Recording method it will record howmany times you are entering the "Enter" key also. So while doing batch input fome article it may stop at some point, so better run the LSMW in foreground and check were it stops exactly.
    Regards
    GK.

  • Best solution to simply get the latest value at analog input

    Hi,
    I am looking for an easy way to simply get the latest value that is available at an analog input?
    The application is a control loop, I am using a timed loop and want to read a single value (voltage) per iteration.
    Do I need to use DAQmx Timing, DAQmx StartTask etc, or is it sufficient to create a channel and call DAQmxRead in the timed loop?
    At the moment, I am a bit confused about all the options that are available especially with the DAQmxTiming vi.
    According to the documentation, a buffer is created and the device fills this buffer with data, depending on the sample mode, sample rate and number of samples. The DAQmxRead later reads from this buffer.
    I think in my case, I do not need a buffer,or, if this is not possible, the buffer length should be 1, since I always need the latest value, and no older values?
    Is there a setting for DAQmxTiming, that makes sure that DAQmxRead gets the latest available value whenever it is called?
    Thanks in advance,
    Christian

    Setup your task to be 1 sample on demand.  I don't have LabVIEW immediately available, but you should be able to figure it out.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Why am I getting an error while accessing the service pop up when I try to convert a doc from pdf to a doc?

    I keep getting a pop up of "error while trying to access the service" when I am trying to convert a pdf to a doc?

    Hi snork8253,
    Please let me know the exact workflow you are following when you get this error.
    Are you trying to convert from within Reader or from Browser?
    If from Reader then make sure you are signed in within Reader
    Also try updating Reader to the latest v11.0.09 and check.
    Regards,
    Florence

  • Why am i getting this error while running the javascript for adding watermark from file??

    Hi,
    I am using adobe acrobat 9 professional .I need to add watermarkfrom file  to a pdf document by clicking  a button on the document which runs the following javascript
    this.addWatermarkFromFile({
    cDIPath: "/C/watermark.pdf",
    nSourcePage: 1,
    nEnd: 9,
    nHorizAlign: 0,
    nVertAlign: 0,
    nHorizValue: 144,
    nVertValue: -72,
    nRotation: 45
    Java debugger prompts the following message while running it
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.addWatermarkFromFile:9:AcroForm:watermark:Annot1:MouseUp:Action1
    Can anyone please help me out how to get acces to the method addWatermarkFromFile ?

    Thanks George   my code is working finally!Here it goes:
    myTrustedMenu = app.trustedFunction( function( cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity)
    app.beginPriv();
    this.addWatermarkFromFile(cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity);
    app.endPriv();
    app.addToolButton({
    cName: "watermark",
    cExec:"myTrustedMenu ( '/C/Documents and Settings/All Users/Documents/My Pictures/Sample Pictures/logo_black.pdf',0,0,1,'False','True','True',app.constants.align.center,app.const ants.align.center,0,0,'False',.35,'False',0,.04) ;",
    cTooltext:"watermark"

  • HT203175 Why am I getting an Error while trying to install itunes

        After a recent itunes update I started getting an error about other software interferring with itunes (I had not installed any other software) I was told to try reinstall itunes.
        When I try to reinstall itunes I get an error that says "The feature you are trying to use is a network resource that is unavailable" I also get this eroor message if I try to uninstall itunes.
        I am not on a network!  I never have been! This is just my Home use PC laptop.
        Everything else on this computer seems to be working fine.
        So now I have no itunes on my PC laptop at all.
        Does anyone have any idea whats going on or how to fix this problem?
        Thanks
        Ron

    When I try to reinstall itunes I get an error that says "The feature you are trying to use is a network resource that is unavailable" I also get this eroor message if I try to uninstall itunes.
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Why I am getting ORA-29257 while running a get ipaddress query?

    Friends,
    The query:
    select machine,utl_inaddr.get_host_address(machine) from v$session where username is not null
    Result:
    Error at line 1:
    ORA-29257
    host bmc01\beating
    How can i resolve this error?
    Thanks & Regards
    Sathyguy

    The machine name is unknown to the Database server. To see if this is the problem try adding that machine in hosts file.

  • Digital outputs while sampling analog inputs

    I am currently developing a program using LabView 2012 SP1.  I am interfacing with a NI USB-6009 DAQ using NI-DAQmx 9.5.5f4.  I am attempting to acquire a voltage reading on three analog inputs (AI0, AI3, and AI4) at 1 second from startup and at 20 seconds from startup.  The three digital ports: P0.0, P0.1 and P0.2 are used to turn on transistors for the signals in question and must remain high during the ~20 seconds the readings will take place.  I have figured out how to acquire 20 samples over 20 seconds on the analog inputs but have trouble with the digital outputs.  The DAQ assistant is not a good option and the USB 6009 has limitations that are not necessarily covered in the example code im finding.  Basically I need to turn on (write hex 7) to port P0.0-2, acquire my analog samples for 20 seconds, then bring port P0.0-2 low and end the program.  Can anyone help walk me through this?  Thank you in advance.
    RJ
    I surf therefore I am....

    Solved it.  See attached vi.  
    I surf therefore I am....
    Attachments:
    Level.vi ‏69 KB

  • Error 10800 while testing analog input PCI-4451

    I'm testing the PCI 4451 device under Windows 2000 and with NI-DAQ 6.9.2 (with Max 2.2 french version)
    The analog output work properly but the input doesn't seem to work. I have tested with a GBF. I have also tested by connecting directly the analog output on the analog input and generating a 50KHz signal at 5V but it doesn't work. It always return an error 10800 (timeOutError). I haven't select any trigger. It display a graph with 1 or 2 peak an the beginning but all others samples have the value 0 in the graph. So the graph seems like a constant value of zero exepts the 1 or 2 peak.
    I've tried a lot of combinaison and nothing work. :-(
    configuration of the NI PCI-4451 :
    IRQ : 19
    DMA : 0, 1 and 2
    AI : +/- 10V
    differential
    AO : bipolar
    Accessory : BNC-2140
    PS : I've translated from french so there could have some mistakes.
    Is there anyone who have an idea ? (or others tests I can do ?)
    pcb

    Vous adoptez la bonne demarche - Si la carte ne "repond" pas dans MAX, ce n'est pas la peine d'aller plus loin.
    Ce que je vous conseillerais de faire :
    1- Aller dans le panneau "proprietes" et choisissez "tester les ressources" - cela vous permettra de savoir si la carte repond aux commandes du driver.
    2-Si oui, lancer les panneaux de tests et generer un signal de 1 khz avec un GBF (en gardant la frequence d'echantilloonnage par defaut de 51200S/s)
    Si vous obtenez un warning "10800", essayez de fermer le panneau de test (cela va envoyer une commande de "reset" a la carte puis relancer le panneau de test immediatemment apres)
    Le seul cas de figure ou j'ai pu rencontre ce comportement etait apres avoir synchronise plusieurs car
    tes 4451 - Les lignes des cartes "esclaves" n'ayant pas ete remises a zero apres coup.
    Je doute toutefois que vous soyez dans ce cas de figure.
    2bis- Si le panneau "tester les ressources" vous renvoie une erreur, cela signifie que la carte ne recoit pas les commandes du driver.
    Le plus simple dans ce cas etant probablement d'eteindre votre PC et de placer la carte dans un emplacement PCI different. Au redemarrage, de nouvelles ressources seront affectees a la carte et cela permettra eventuellement d'eliminer les conflits potentiels.
    Si aucune de ces deux methodes ne vous apporte un resultat, je crains que vous ne deviez contacter votre agence National Instruments pour proceder a un remplacement de cette carte.
    J'espere que ces informations vous seront utiles.
    Gerald

  • While installing Adobe Acrobat 8 on Windows 7 Professional why do I get the message "Adobe pdf.dll on windows Vista CD-ROM is needed.

    While installing Adobe Acrobat 8 on Windows 7 Professional, why do I get the messaage "Adobe pdf.dll on Windows Vista CD-ROM is needed"?

    Because your software is far too old for Windows 7.

  • Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" while starting my application?

    Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" when starting my application created in LabVIEW 7.1?  I am starting the application in a PXI rack running Windows XP.  I have an executable written in LabVIEW 7.0 that runs without this error.  After clicking the Continue button in the error, the application seems to continue happily.
    Is there something I need to include when I make the executable?
    I would like to understand and eliminate this start up error.
    Thanks in advance.
    BobNorth

    Hi Bob,
    I looked through the program and I figured out where the error is coming from, and potentially what is causing it. In a lot of the cases of the program you are searching a 1-D array for the name of the case, and if you don't find it then it skips the function and gives "Error 1 occurred at Config Data Registry.vi(CASENAME) invalid object 0". I attached a screenshot that shows what I mean. The Search 1-D Array.vi is returning a -1 which means it didn't find the case. The reason I believe this is happening is because the shift register for that array is not initialized. While the other cases "reset" and "register" interact with the array shift registers and most likely create the array you need, if the program defaults to the "get data" case then it will try to run that before registering and won't have an array to search. This would also explain why it only has this problem at first and seems to run just fine after that. To fix this you should either make an initial array and wire it into the shift register or make the "reset" case the default as opposed to the "get data" case.
    Regards,
    Peter W.
    Attachments:
    Config Data Registry.png ‏55 KB

  • Why do i get an error ( language code suply is not valid) while trying to sync with my ipad2

    why do i get an error ( language code suply is not valid) while trying to sync with my ipad2
    i'm using macbook pro and trying to share some photos with my ipad2. when i try to register my ipad i get this error.
    tnx,
    Dani.

    AMDS for Windows
    http://support.apple.com/kb/TS1567

  • Why do I get constant Game Center notifications when I'm playing games? Seriously, if there isn't an easy way to turn off gamecenter, I'll be switching to a Microsoft phone at my next upgrade. I don't want this garbage popping up while I play my games.

    Why do I get constant Game Center notifications when I'm playing games? Seriously, if there isn't an easy way to turn off these notifications, I'll be switching to a Microsoft phone at my next upgrade. I don't want this garbage popping up while I play my games. What a worthless, obnoxious piece of junk. Apple, stop ignoring your customers!

    How is Apple ignoring their customers, exactly?  If you don't want Game Center, why did you sign into it?
    Sign out, launch an enabled game.  Game Center pops up, close it, launch the game again, it pops up, close it again.
    Now it doesn't pop up any longer.
    All as documented.

  • Why i am getting this error:205 while downloading creative cloud

    why i am getting this error:205 while downloading creative cloud?

    Please check the points and steps below:
    Computer should be on Home network.
    Disable the firewall.
    Reset internet explorer & disabled add ons.
    Disable any Anti-Virus installed on the machine.
    Try in Safe mode in case of Windows & root user for Mac.
    -Ankit

Maybe you are looking for

  • Time Machine Disk is full

    Hi everyone: My Time Machine disk is a 1TB drive on my Mac Pro.  It backs up my other three 250 GB Disks on the same computer (one being my Macintosh HD) .  It is full and is starting to erase the oldest backups (from 2 years ago).  My understanding

  • 10.4.1 is full of Glitches

    Has iTunes take a major nosedive for anyone else last few updates? Drag and drop isn't reliable for mp3s or album art and hitting delete on anything sends me to the 'z' section...i have to highlight individual songs to delete them. Can't just delete

  • Ipod update does not finish, itunes wont recognise ipod!

    i recently installed the latest itunes. BIG MISTAKE!! when i connect my ipod and open itunes, it says "determining gapless playback information" and starts going through all the songs on my ipod (a very long process). so i sit this out, and it wants

  • Movement type for stock transfer from investment order to the regular stock

    Hi, Is there any movement type for the transfer from investment order to storage location stock? We have wrong created purchase orders, where the GR transferred the items to the investment orders. The problem is, that there already a lot of invoices

  • Confirmation of QM order

    Hi, by assigning the a/c assignment in po, the system genereated qm order upon compltion of migo. please advise can we do confirmation like in prod orders (with co11n) for qm orders? please advise t-code to do confirmation for qm orders (without ente