Offset in AIs of PCI-6052E

There is an offset (-118mV) in all of eight differential AI channels in my PCI-6052E card. How can I fix it?
Thanks a lot!

Hello stmxhlu,
Please see this KnowledgeBase about troubleshooting offset readings.  You also may want to try putting the 6052E in another PC to make sure it is not the PC that has this offset.  You can also self calibrate the board in Measurement and Automation Explorer (MAX) by expanding devices and interfaces and then NI DAQmx devices.  Right click on the entry for your board and choose self-calibrate. 
I hope these suggestions help!
Laura

Similar Messages

  • PCI-6052E, C-file Programming, DAQ_Rate

    I am trying to write a simple c-file to collect some data with my PCI-6052E
    Card. The card should be able to handle a sample rate of 333kHz, but I am
    finding even if I ask for all sixteen channels at 10KHz using the DAQ_Rate
    function, I get an error with the time on SCAN_Start.
    The folloing code snip-it generates the error:
    << Snip it>>
    f64 dSampRate = 10000.0;
    f64 dScanRate = 10000.0;
    i16 iUnits = 0;
    iStatus = DAQ_Rate(dSampRate, iUnits, &iSampTB, &uSampInt);
    iStatus = DAQ_Rate(dScanRate, iUnits, &iScanTB, &uScanInt);
    iStatus = SCAN_Start(iDevice, DataBuffer, ulCount, iSampTB, uSampInt,
    iScanTB, uScanInt);
    printf(" \tiSampTB =%d\n",iSampTB);
    printf(" \tuSampInt =%d\n",uSampInt);
    printf(" \tiScanTB =%d\n",iScanTB);
    printf(" \tuScanInt =%d\n",uSscanInt);
    << Output >>
    iSampTB = 1
    uSampInt = 100
    iScanTB = 1
    uSscanInt = 100
    Error: -10092
    Some devices require a time gap between the last sample in a scan and the
    start of the next scan. The scan interval you have specified does not
    provide a large enough gap fo rthe board. See your documentation for an
    explanation.
    But if I use the following code I do not get an error:
    << Snip it>>
    f64 dSampRate = 10000.0;
    f64 dScanRate = 10000.0;
    i16 iUnits = 0;
    iStatus = DAQ_Rate(dSampRate, iUnits, &iSampTB, &uSampInt);
    iStatus = DAQ_Rate(dScanRate, iUnits, &iScanTB, &uScanInt);
    iStatus = SCAN_Start(iDevice, DataBuffer, ulCount, iSampTB, uSampInt,
    iScanTB, 0);
    printf(" \tiSampTB =%d\n",iSampTB);
    printf(" \tuSampInt =%d\n",uSampInt);
    printf(" \tiScanTB =%d\n",iScanTB);
    printf(" \tuScanInt =%d\n",uSscanInt);
    Could anyone point me in the correct direction?
    Please reply directly to
    tgaudett@n
    mr.mgh.harvard.edu
    Thanks in advance,
    Tom

    Thomas:
    The second case works because you are disabling the scan clock, thus making
    the acquisition "round robin" based on the sample clock.
    If you want to make the first case work with 16 channels, I suggest you
    change the dScanRate to this:
    > f64 dSampRate = 10000.0;
    > f64 dScanRate = 10000.0 /(16+1);
    The +1 is just to offer a buffer time.
    However, this means that your effective sample rate per channel (aka
    dScanRate) is now 10000/17. Is that ok?
    If you want the effective sample rate per channel (dScanRate) to be 10kHz,
    then you need to bump up dSampRate to 10000 * 16 (=160000, which is
    achievable on this device) or greater so that the A/D converter has enough
    time to go thru all the 16 channels and still make the dScanRate.
    I hope this helps.
    | Ken Sadahiro ([email protected])
    | Sr. Software Engineer, User Advocate
    | Systems & Architectures: Applications Group
    +----+-------------------------------------------
    | National Instruments Corporation
    | 11500-A North MoPac Expressway
    | Austin, Texas 78759-3504 USA
    | Tel: +1.512.683.8806
    | Fax: +1.512.683.8641
    | URL: http://www.ni.com/
    Thomas Gaudette wrote in message
    news:[email protected]...
    > I am trying to write a simple c-file to collect some data with my
    PCI-6052E
    > Card. The card should be able to handle a sample rate of 333kHz, but I am
    > finding even if I ask for all sixteen channels at 10KHz using the DAQ_Rate
    > function, I get an error with the time on SCAN_Start.
    >
    > The folloing code snip-it generates the error:
    > << Snip it>>
    > f64 dSampRate = 10000.0;
    > f64 dScanRate = 10000.0;
    > i16 iUnits = 0;
    >
    > iStatus = DAQ_Rate(dSampRate, iUnits, &iSampTB, &uSampInt);
    > iStatus = DAQ_Rate(dScanRate, iUnits, &iScanTB, &uScanInt);
    >
    > iStatus = SCAN_Start(iDevice, DataBuffer, ulCount, iSampTB, uSampInt,
    > iScanTB, uScanInt);
    >
    > printf(" \tiSampTB =%d\n",iSampTB);
    > printf(" \tuSampInt =%d\n",uSampInt);
    > printf(" \tiScanTB =%d\n",iScanTB);
    > printf(" \tuScanInt =%d\n",uSscanInt);
    >
    > << Output >>
    >
    > iSampTB = 1
    > uSampInt = 100
    > iScanTB = 1
    > uSscanInt = 100
    >
    > Error: -10092
    > Some devices require a time gap between the last sample in a scan and the
    > start of the next scan. The scan interval you have specified does not
    > provide a large enough gap fo rthe board. See your documentation for an
    > explanation.
    >
    > But if I use the following code I do not get an error:
    > << Snip it>>
    > f64 dSampRate = 10000.0;
    > f64 dScanRate = 10000.0;
    > i16 iUnits = 0;
    >
    > iStatus = DAQ_Rate(dSampRate, iUnits, &iSampTB, &uSampInt);
    > iStatus = DAQ_Rate(dScanRate, iUnits, &iScanTB, &uScanInt);
    >
    > iStatus = SCAN_Start(iDevice, DataBuffer, ulCount, iSampTB, uSampInt,
    > iScanTB, 0);
    >
    > printf(" \tiSampTB =%d\n",iSampTB);
    > printf(" \tuSampInt =%d\n",uSampInt);
    > printf(" \tiScanTB =%d\n",iScanTB);
    > printf(" \tuScanInt =%d\n",uSscanInt);
    >
    >
    > Could anyone point me in the correct direction?
    > Please reply directly to
    > [email protected]
    >
    >
    > Thanks in advance,
    >
    > Tom
    >
    >

  • Installing PCI-6052E having trouble loading driver module - Switch Soft Panel

    I'm having trouble installing my PCI-6052E card in a Windows 2000 environment.  After installing the card in the computer I boot up the computer, from there I click on the Start button, programs, NI Switch and cannot get the NI-Switch Soft Front Panel to work.  When I click on the icon I get an error message returned that says "Failure Loading Driver Module".  Any ideas?

    Hi PCI Card Problems,
    Thank you for posting on the National Instruments forums.
    If you are trying to use the NI-Switch Soft Front Panel, please make sure that you have a switch module installed. 
    If you are trying to bring a test panel for the PCI 6052E, then you will need to open the Measurement and Automation Explorer which is found in Start >> National Instruments >> Measurement & Automation.  Right click NI PCI-6052E under Devices and Interfaces >> NI-DAQmx Devices and select Test Panels...
    If you only have a PCI-6052E installed, then what you are seeing is expected behavior since the NI-Switch driver is only for National Instruments Switch modules. 
    Thank You,
    Nick F.
    Applications Engineer

  • PCI-6052E resource test fails at startup

    Hello,
    I am using a PCI-6052E board on an XP machine. The driver is 1.8.2.f0 and MAX version is 3.1.0.3021.
    Every time I boot the system, the resource test in MAX fails: the DMA resources do not appear. The board must be reinitialized manually in MAX or through the DAQmxResetDevice function in any program. This works always well and the board can then be used properly.
    I would appreciate very much any hint on how to have my board fully ready at startup.
    Thanks a lot.
    Pascal.

    Hello PascalP,
    I have first some questions :
    What do you mean when you say : "The driver is 1.8.2.f0 "?
    Do you receive code error? If yes, can you please send it?
    Please do the following:
    1) When you boot your PC, launch Measurement and Automation Explorer (MAX). Under devices and interfaces -> Traditional NI-DAQ Devices, right-click on your PCI-6052 and select Properties. Note how many DMA channels are assigned to your board (may have up to 3 channels). Click Test Resources. If the device fails, please continue with (2); otherwise, open up a Test Panel and verify that it works. Then close out of MAX and try running the examples that uses the device to see if you still have the error. If you still see the error, please let me know.
    2) The device is not installed properly. Shutdown the computer, remove the card and reboot. Power down again, add the card, and power up the computer. If it still fails in MAX, continue to 3.
    3) Try switching PCI slots. You may also need to uninstall and reinstall the driver. Be sure to remove the hardware anytime you remove the driver.
    4) Try installing the driver and then adding the card on a different computer.
    If after all of this you still have trouble, please let me know what has failed and what operating system you are using and give me more information about you PC.
    Hope this helps.
    Sanaa TAZI
    National Instruments France
    Sanaa T.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> http://www.nidays.fr/images/081110_ban_nidays09_468X60.gif

  • Triggering possibilities by the NI PCI-6052E board

    Will you tell me, how to use the NI PCI-6052E board for analog and digital triggering. I want the trigger to begin the measurement, to acquire data before the trigger occurs. In other words, the board must response to a pulse input. Also I want to know other trigger capabilities of the board.
    Thanks,
    Gen

    I am happy to let you know the PCI 6052E has both analog and digital triggering options. You can set your analog inputs to start acquisition on a rising or falling edge of your trigger pulse. If you are interested in acquiring data before your event trigger you can set up a buffer to capture pre-triggered data. Assuming you are programming with LV and Traditional DAQ you can reference the following app note:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/2A03115556FB233386256870005BB522?opendocument
    If the link above does not work, go to
    www.ni.com/support
    under option 3. select 'Tutorial/Application Note'
    Then do a search for 'Tips and Techniques for DAQ Triggering'
    If you are using the LV 7 and the express VIs to set up your DAQ, look under the
    triggering tab of the express vi to set up analog vs digital trigger and buffers for pre-acquisition. If you don't have LV 7, I highly recommend it because the express vi's will help reduce your development time.
    -JVH

  • QNX or Linux driver that will DMA from a PCI-6052E

    Hi,
    I am planning a QNX or Linux driver that will DMA from a PCI-6052E.
    In the readme at
    ftp://ftp.ni.com/support/daq/linux/Readme
    snip ..
    * DMA is not supported at this time. Doing DMA would require
    programming the mMITE chip on NI's CPCI/PCI/PXI cards, and as of now
    that information is only available under NDA, thus precluding an
    open-source release. Feedback on this issue is appreciated.
    snip ..
    Is this readme up to date? I do need the DMA, and was hoping to get the
    necessary info from the Linux code.
    cheers -- Rick
    Rick Leir
    Pelyco Systems
    rleir at pelyco dot ca replace at and dot
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    Yes sadly I have tried that config.  I did a clean XP install with onboard sound and agp card, after install completes and windows loads for first time it would play most of the login tune then crash with a loud continuous shriek.  Went into BIOS, disabled sound, unjumpered it, reboot, and boom it ran great.
     Would an IDE contoller card be an option here?  or would the stuttering Southbridge still be involved?

  • (pci-6052E) I want to genarate a pulse every time the counter is zero.

    I'm using the counter on my pci-6052E to count the number of pulses on a line. The count goes up and down since I have a direction signal. Now I need and indication (a pulse) every time the count reaches zero. This is similar to the breakpoint function on your motion controllers. Is this possible....

    Yes you can, and here's an example that worked with DAQmx on an E-series board. Ctr0 counts edges of the internal 20 MHz timebase, rolling over to 0 a little more than once a second. It uses the DAQmx Export Signal property node to program the counter to Pulse on reaching TC (terminal count). The pulse signal is sent to a terminal that Ctr1 uses as its source, so Ctr1 increments each time Ctr0 reaches terminal count (0 value).
    -Kevin P.
    Attachments:
    TC Pulse.vi ‏81 KB

  • Minimum timeout for read operation in PCI-6052E.

    Hi,
    I am running an application at 600Hz where I must read data from a deice using the PCI-6052E. Running at 600Hz, i.e Ts=1/600 second, my read timeout in the DAQmxReadAnalogF64 function must be < Ts. Although, the application starts fine after few reading cycles, the application crashes  with a DAQmx error:
    "DAQmx Error: Measurements: Specified operation did not complete, because the specified timeout expired.".
    knowing that the PCI-6052E can operate at 1Khz rate, taht is T=0.001, I find it wired that it is crashing for timeout I am using Tout=0.7*Ts whic is > than T. 
    What is the minimum timeout required?
    Thanks.
    Elias
    "A man can succeed at almost anything for which he has unlimited enthusiasm."

    Hi,
    Timeout specifies the amount of time in seconds to wait for
    samples to become available. If the time elapses, the VI returns an error and
    any samples read before the timeout elapsed. The default timeout is 10 seconds.
    If you set timeout to -1, the VI waits indefinitely. If you set timeout to 0,
    the VI tries once to read the requested samples and returns an error if it is
    unable to.
    By available we refer to the data that has been acquire by
    the card and placed into the buffer. You are doing a on sample at a time and
    that you are not using the onboard clock. Since you are not using the onboard
    clock you don’t have determinism on the rate at which you acquire the samples. “I
    think by default the 6052E clock is 1KHz”, incorrect if you select your timing
    as on “sample on demand” the rate is controlled by your “timed loop” but since
    you are not in a Real Time OS you don’t control the rate of the loop, at least
    at very high rates, you may run the first couple of iteration at one speed, then something happens on your PC and you CPU load increases, changing the rate of the while loop.
    You have two options to set the rate you can do a software
    timed operation (i.e. like you are doing right now), but it will be depended on
    your OS and your CPU load or you can do a hardware acquisition where an onboard
    clock controls the rate of the acquisition.
    “I do not expect this to happen especially that the
    PCI-6052E device used in doing the reading operation can run up to 1 KHz. I am
    not sure what the problem is.” The problem here is that is not the 6025e not
    been able to keep up is your computer. Look at the examples in: C:\Documents
    and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx
    ANSI C\Analog In\Measure Voltage\ and let me know if they help.
    You can post your code and I will lok at it if you want
    I hope it helps
    Jaime Hoffiz
    National Instruments
    Product Expert
    Digital Multimeters and LCR Meters

  • Hardware clock in PCI-6052E

    Is there any  indication either it uses windows clock or DAQ STC built in timer.
    my question is how we know that a normal
    programme in labview is using which clock???

    Dear Haider,
    Since you are using AI Start, your analog input is hardware timed. This means that your data is read from the buffer at regular times. Everything else in your program is software timed. I know this because the software is doing the checking for the condition and the digital lines of the PCI-6052E can be output with hardware timing, but it involves using the an analog clock. For more information on this look at the examples in the Example Finder (LabVIEW help menu>>Find Examples) under Browse Hardware Input and Output>>Traditional DAQ>>Digital Input and Output>>E Series.
    Have a great day!
    Marni S.

  • PCI-6052E doesn't save all data, buffer too small?

    WinXP,Labview6.1,PCI-6052 board,collect data from all 16 channels every 5 seconds
    (Test 1)
    I set external scan clock 10KHz, external channel clock 200KHz, buffersize 10K, "number of scan to read" 10K, theorically, in each file I should have 50,000x16 data. But my result is not right: every 5 seconds I got a file, but in side those files, the data is either 3000x16 or 2000 x16 alternatively. For example:
    File1 is 3000x16
    File2 is 2000x16
    File3 is 3000x16
    File4 is 2000x16
    File5 is 3000x16
    File6 is 2000x16
    During the simulation, I see some change in the "scan backlog", but the number is not accumulated, for example, the numbers appeared are,36,0,0,..89,0. No error during the simulation. But when I stop the program I got the error: AI read is not enough fast for the data acquisition...
    (Test 2)
    When I set external scan clock 5KHz, external channel clock 100KHz, buffersize 5K, "number of scan to read" 5K, my result is right: I got a file every 5 second, and in each file therea are 25,000x16.
    Why some data missing in the test one? The PCI6052 board clock is 333KHZ, so my setting of external scan clock and channel clock should be ok. The number of scan to read is set to as the scan rate, so I got accurately one second tiem. Is there something related with the board buffer size and setting or computer is not faster enough?
    Thanks very much for help

    There are a couple different possibilities for why the data is not all in one folder in Test 1. First of all, I noticed that you expected each file to have 50,000x16 data, but you said that each file had 3000x16 and 2000x16. Is that correct or is it 30,000x16 and 20,000x16? If what you initially said is correct it looks like you might be losing some data. However, if you meant to say 30,000x16 and 20,000x16 it looks like all of the data is there but it is just in separate files.
    You are trying to read a lot of data in a little bit of time, so it is very possible that your computer cannot keep up with your settings. Also, the type of file you are trying to write the data too could be the reason you are not seeing all of your data. Excel is very slow and if you are writing to an Excel spreadsheet this could also be the reason.
    The numbers that you were seeing in the "scan backlog" look fine to me. When the number increases that means that you have data in the buffer that is ready to be read. When the number drops to zero that means all the data has been read. So, what you are seeing is not a problem.
    Do you have to read at such a fast rate? If not I would just keep it like test 2.
    Hope this helps.
    Jenk

  • Work with PCI-6052E and PCI-6601 simultaneously

    Hi, I'm working with PCI-6052 for bufered data output and PCI-6601 for read two encoders at same time, when I work with single board I don't have problems but when I work both simultaneously I have a problem only I can out data or only I can read the encoders but not both at the same time. How I make this?

    Hi,
    You probably have one task in LabView running in series after the other. Both of these tasks require a loop. Your buffered data output needs to be written in continuous fashion in a loop (I believe) and your encoder measurements are being read constantly as well (should be in a loop). Try experimenting with these two suggestions.
    I would copy both programs into 1 VI and keep them running completely separate. LabView will be able to assign each a different thread so they should be able to run completely in parallel. Therefore you would have 2 parallel loops that are not connected at all.
    You can also create two completely different VIs and run them in parallel. There is no reason why the two different programs would interfere.
    Hope that he
    lps. Have a good day.
    Ron

  • What needs to be done in order to bring in a signal to a SCB-68 and have the SCB-68 caculate the frequency, etc. using a PCI-6052E board in LabView?

    I am using a basic function generator to create a signal to channels ach0,ach1,& ach2, using resistors as a way to change the signal a bit. I have built a VI to see these three waveforms, but I'd like to be able to use the internal counter of the SCB-68 to measure the pulse width and be able to convert it into a frequency measurement that can be displayed on the front panel. I've looked in the NI 6052E manual, but it is very vauge. Any help would be useful. Thanks
    SQ

    Hello;
    First of all, you need to make sure the three waveforms are TTL leveled, since the counters only support that data type.
    After you clear that out, you will need three counter to do frequency measurements on the three waveforms, and the board you have there has only two counter available.
    In case you have the thre counters, you can connect the pulse trains on the gate input of the counters, and use one of the two timebases to be the source input. You need to configure the counter to do buffered event counting. Then, the number you catch in the buffer will be the number of pulses that elapsed in between two active edges of your pulse train. Since you will know which time base you chose, you can do a simple math to calculate the total time.
    Hope this
    helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Synchronized AI and AO on PCI-6052E

    Hi,
    I need to acquire data on analog i/p channels and send out a TTL pulse on the analog o/p channel simlutaneously,both based on a trigger on PFI0 pin .I could create a vi that does only triggered AI and a seperate vi that does triggered AO.But when I try to combine the AI and AO in to a single vi it doesn't work.
    The program consists of a simple while loop with AI and AO functionalities.AO config and AI config are outside the while loop.I have attached the vis.
    Quick response is highly appreciated!
    Thanks,
    Shiv
    Attachments:
    ai_ao_good_fw1.vi ‏153 KB
    adc_good_fw7.vi ‏107 KB
    dac_good.vi ‏79 KB

    I had a similar problem with a 6034E: generate a ramp pattern while reading some analogue channels.
    I found in the Resource Library (how is it called now??) the zip file attached, with some examples of simultaneous input and output.
    The solution I adopted, summarized in the skeleton VI also attached, is conceptually this one:
    - setup your AO to start on AI start; write your waveform to output an execute AO Start.vi
    - setup your AI to start as you need it (in your case, with a digital slope in PFI0); execute AI Start.vi
    - when the edge is seen in PFI0, both AI and AO starts simultaneously.
    Hope this helps
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?
    Attachments:
    SimAI_AO.zip ‏140 KB
    AI_and_AO.vi ‏64 KB

  • Look for visual basic 6.0 code for measuring audio signal in PCI 6052E card,such as THD(total harmonic distortion),signal-to-noise etc.

    Hope receive NI measurement studio with visual basic engineer's favor in a early date!

    This is just the nature of the while loop in the VB code. The processor is going to execute this loop as fast as possible. The DoEvents in the loop allows the processor to perform other operations if needed. Try opening MAX or some other program and drag windows around at the same time the code is executing. You will notice that the processor load will shift away from the VB6 program to other processes.
    If you want to avoid this try adding a function similar to sleep in the while loop. However, this will slow the speed of your program and I would not recommend it, because the program is designed to run as fast as possible, but still allow other programs to execute.
    I hope this helps.
    Joshua

  • I have an SCXI-1531,​1126,1120D (with 1327) connected to PCI-6052E. How can I measure an ICP force sensor with some/all of this?

    As I understand it, I may only need to use the 1531. Although it says it is used for accelerometers, it sounds like the techincal specifications of the card are adequate. I will be measuring in the range of 30 Hz with force sensors. The sensors are made by PCB Piezoelectronics, model 201B02. This equipment was somewhat inhereted, so I don't really know what of it I must use, or how. Any guidance would be appreciated.

    Dave,
    It appears that your force sensor is compatible with the SCXI-1531. This module supports all Integrated Electronic Piezoelectric (IEPE) sensors. Thus, it is not limited to accelerometers. I examined the data sheet for your sensor, and it indicates that a Constant Current Excitation of 2 to 20 mA is required. The SCXI-1531 provides a constant current excitation of 4 mA. In the same way, it appears that the other specifications of your sensor are compatible with the SCXI-1531.
    Good luck with your application.
    Spencer S.

Maybe you are looking for

  • IPod Touch not recognized by iTunes after a Reset?

    My iPod Touch is not recognized by iTunes.  This has nothing to do with the new OS update.  2 months ago I was having lots of problems and decided to use the reset since it was not showing up on iTunes to do the Restore.  Since then I was able to get

  • Two TC`s as backup devices, in the same wifi network ?

    I would like to know if it is possible to use two TC`s simultaneously as backup devices in the same Wi Fi network? Thank you for your interest. Best regards, André.

  • Cannot delete a phone number for a contact

    When I open the phone tab for a contact some of the numbers do not have check marks. One of them is now obsolete and I want to delete it, but can't.  Any suggestions? Thanks.

  • Env-entry-mapping in orion-application-client not available in JNDI lookup

    I have an application client module in my EAR file that I've configured to auto-start. It has a few env-entry defined in it's application-client.xml. When I deploy the EAR file to OC4J 10.1.3, the application client module gets started and can access

  • Custom variant for FBL5N

    Hello Experts, I have created a variant as CUS&TEST for FBL5N with some values and changed the txn FBL5N to add the 'start with variant. When i execute FBL5N when i choose any layout on selection screen, execute and come out of FBL5N. When i reexecut