Can i measure resistance with a PCI-MIO-16X-10

good day!
In my work we measure inflator resistance with an external ohmeter and switch selector, for now we're working in update this method of measure resistance. The program used to activate the inflators was built in labview 7.0 and use a GPIB and PCI-MIO-16X-10 boards only.
The question is if we can measure resistance with this board (PCI-MIO-16X-10), we can do it?
thanks for all...

Cordero,
Not directly but with some auxiliary circuit elements you can.  To measure a resistance you need to know both the voltage and current associated with the resistor.
One way you can do this with a DAQ device is to create a voltage divider using a known external resistor. By measuring the voltage drops across both the known and unknown resistances, you can calculate the value of the unknown resistance.  You can use the analog output or the board power supply as excitation voltage for the voltage divider. Use two analog input channels to measure the voltages across the resistors. As long as the values of the resistors are much lower than the input resistance of the analog input channels, you can get good results.  The accuracy is limited by how well you know the value of the "known" resistor, the resistance of the inputs, and the accuracy of the A/D converter.  The accuracy of the known resistor is probably the largest contributor to the overall error.
Lynn

Similar Messages

  • Can I generate sine and square waves with NI PCI-MIO-16XE-50 card??

    Can I generate sine and square waves with NI PCI-MIO-16XE-50 card??
    How Do I generate those signals?

    Hello;
    You certainly can do that. The way to go about that is to use one of the Analog Output channels your board have available.
    If you are using Labview to program the board, you can find good examples at Search Examples->I/O Interfaces->Data Acquisition->Analog Output->Multiple Point (buffered) Analog Output.
    If you are using other Software language to program the board, you can fing examples at C:\Program Files\National Instruments\NI-DAQ\example\VisualC\AO.
    Hope this helps.
    Filipe

  • Simultaneous sampling with a PCI-MIO-16XE-10 board

    Hello,
    I am using LabView with a PCI-MIO-16XE-10 board. I would like to make simultaneous sampling in multi channels. How can I do?
    Thank you for your help.

    Your question should be posted under "Measurement Devices >> Multifunction I/O" instead of "Real-Time DAQ" because the PCI-MIO-16XE-10 board is not a real-time device. The category "Real-Time DAQ" is reserved for 7030 real-time devices.
    The PCI-MIO-16XE-10 multiplexes channels across one amp and one A/D converter; therefore, it cannot perform true simultaneous sampling. Consider using the SC-2040 accessory, which has 8 simultaneously sampling differential amplifiers. Alternately, you can purchase a different board like the PCI-6110, which can perform true simultaneous sampling because it has individual A/D converters and amps for each channel.

  • Configuring executable labview programs originally configured with a PCI-MIO-16XE-10 on a system with a PCI-MIO-16XE-50 card

    I'm hoping someone can help me. I have executable labview programs created in another lab which used a PCI-MIO-16XE-10 card. I need to install these programs in a new lab which has a PCI-MIO-16XE-50 card installed. When downloading the executable files, Measurement and Automation Explorer gave a message that the physical devices could not be located. I presume this is because the executables are configured for the PCI-MIO-16XE-10 but the PCI-MIO-16XE-50 is installed instead. Any suggestions on how to get these programs configured with the PCI-MIO-16XE-50 would be greatly appreciated? Thanks.

    As long as you have the device identifier of the PCI-MIO-16XE-50 set the same as the PCI-MIO-16XE-10 for which the program was written, you shouldn't have a problem doing what you describe.
    One thing that confused me about your posting, however, is the statement When downloading the executable files, Measurement and Automation Explorer gave a message that the physical devices could not be located. This doesn't make sense to me. You're getting an error from MAX when downloading your program? MAX shouldn't be involved at all here, and especially not when just downloading your program. If you can provide more details about exactly what you are doing (maybe post some screenshots) then I'm sure we can help you get your program working.
    Good luck,
    Joe

  • How to do a single channel DAQ using NI-DAQ driver software with a PCI-MIO-16XE-10 card

    Hi,
    I would like to find out how I could do a simple one channel Data Acquisition from a signal generator using the NI-DAQ driver software with a PCI-MIO-16XE-10 card.
    I have written some test problem but even when the signal generator is turned on/off I get back some weird values.
    Here is my code.
    CString sFunctionName("");
    double volt[OUTPUT_POINTS*2];
    double out[OUTPUT_POINTS*2];
    short timebase, ready, code, stopped;
    unsigned short sampleInterval;
    int i, status, count=0;
    unsigned long update, points;
    short* ai_buffer;
    short output_ch_vector[16];
    int local_ITERATIONS = 2;
    SAFEARRAYBOUND bound[1];
    double dataItem = 9.9;
    long j;
    long k;
    double* pTheValues;
    LPTSTR lpsz_ErrMsg;
    // Initialise device
    status = Init_DA_Brds (deviceNumber, deviceNumberCode)
    Initializes the hardware and software states of a National Instruments
    DAQ device to its default state and returns a numeric device code that
    corresponds to the type of device initialized
    Init_DA_Brds(DEVICE, &code);
    // Check return code from Init_DA_Brds
    Code return should be 204: PCI-MIO-16XE-10.
    if (code < 0)
    CString sError;
    sError.Format("Code error: %d", code);
    if (code == -1)
    sError = sError + ": No device found";
    LPTSTR lpsz = new TCHAR[sError.GetLength()+1];
    _tcscpy(lpsz, sError);
    AfxMessageBox(lpsz);
    delete lpsz;
    return S_FALSE;
    // Allocate memory for analog output and input arrays
    //ao_buffer = new short[OUTPUT_POINTS*2];
    ai_buffer = new short[OUTPUT_POINTS];
    // Set double-buffering
    status = DAQ_DB_Config (deviceNumber, DBmode)
    Enables or disables double-buffered DAQ operations.
    status = DAQ_DB_Config(DEVICE, 1);
    if (status < 0 )
    sFunctionName = "DAQ_DB_Config";
    goto TidyUp;
    // Get the rate parameters
    status = DAQ_Rate (rate, units, timebase, sampleInterval)
    Converts a DAQ rate into the timebase and sample-interval
    values needed to produce the rate you want.
    status = DAQ_Rate(RATE, 0, &timebase, &sampleInterval);
    if (status < 0 )
    sFunctionName = "DAQ_Rate";
    goto TidyUp;
    // Setup scan
    status = SCAN_Setup (deviceNumber, numChans, chanVector, gainVector)
    Initializes circuitry for a scanned data acquisition operation.
    Initialization includes storing a table of the channel sequence
    and gain setting for each channel to be digitized
    status = SCAN_Setup(DEVICE, 1, ai_channels, gain);
    if (status < 0 )
    sFunctionName = "SCAN_Setup";
    goto TidyUp;
    status = SCAN_Start (deviceNumber, buffer, count, sampTimebase,
    sampInterval, scanTimebase, scanInterval)
    Initiates a multiple-channel scanned data acquisition operation,
    with or without interval scanning, and stores its input in an array
    status = SCAN_Start(DEVICE, ai_buffer, OUTPUT_POINTS, timebase, sampleInterval, timebase, 1000);
    if (status < 0 )
    sFunctionName = "SCAN_Start";
    goto TidyUp;
    while(count < local_ITERATIONS)
    // Check whether we are ready to input another half-buffer
    status = DAQ_DB_HalfReady(DEVICE, &ready, &stopped);
    if (status < 0 )
    sFunctionName = "DAQ_DB_HalfReady";
    goto TidyUp;
    if (ready == 1)
    status = DAQ_DB_Transfer(DEVICE, ai_buffer, &points, &stopped);
    if (status < 0 )
    sFunctionName = "DAQ_DB_Transfer";
    goto TidyUp;
    count++;
    // Clear the analog input
    status = DAQ_Clear (deviceNumber)
    Cancels the current DAQ operation
    (both single-channel and multiple-channel scanned) and reinitializes the DAQ circuitry.
    status = DAQ_Clear(DEVICE);
    if (status < 0 )
    sFunctionName = "DAQ_Clear";
    goto TidyUp;
    status = SCAN_Demux (buffer, count, numChans, numMuxBrds)
    Rearranges, or demultiplexes, data acquired by a SCAN operation
    into row-major order, that is, each row of the array holding the
    data corresponds to a scanned channel
    status = SCAN_Demux(ai_buffer, OUTPUT_POINTS * 2, 2, 0);
    if (status < 0 )
    sFunctionName = "SCAN_Demux";
    goto TidyUp;
    //Convert binary values to voltages (Doesn't actually take a reading from board)
    status = DAQ_VScale (deviceNumber, chan, gain, gainAdjust, offset, count, binArray, voltArray)
    Converts the values of an array of acquired binary data and the gain setting for that data
    to actual input voltages measured.
    status = DAQ_VScale (1, 0, 1, 1.0, 0.0, OUTPUT_POINTS , ai_buffer, volt);
    if (status < 0 )
    sFunctionName = "DAQ_VScale";
    goto TidyUp;

    Hello,
    Please take a look at lots of examples available at :
    1. www.ni.com >> NI Developer Zone >> Development Library >> Measurement Hardware
    2. C:\program files\national instruments\ni-daq\examples\visualc
    Sincerely,
    Sastry V.
    Applications Engineer
    National Instruments

  • Can I measure pulswidths with daqmx base and NI-USB6501

    Can I measure pulswidths with daqmx base 1.4 and NI-USB6501? I can measure edges width this function: DAQmxBaseCreateCICountEdgesChan. But, when using DAQmxBaseCreateCIPulseWidthChan I always get an error message back (DAQmxBase Error: <err>Value passed to the Task/Channels In control is invalid).
    I also cannot find any examples about this topic in the software on CD nor on the internet.
    I also don't know what values to use for the float64 minVal and float64 maxVal arguments when using the pulse width function of above (see the NI-DAQ™mx Base 1.x C Function Reference Help).
    Maybe my device (NI USB6501) cannot measure pulse width's and when it does measure pulse width's, what value will it give back? Seconds or ticks and what is the accuracy?
    Ok, enough questions for now. Thank you in avance for answering.
    D. Stollman

    The USB-6501 counter is capable of falling edge edge counting
    measurements only, so the type of measurement you wish to do is not
    possible with that device.  The data sheet for the USB-6501 can be
    found at the following link:
    http://www.ni.com/pdf/products/us/20054920301101dlr.pdf
    I believe the DAQPad-6015 and DAQPad-6016 USB devices are capable of
    measuring pulse width, as well as many of NI's PCI data acquisition
    devices.

  • Simultaneo​us sampling with a PCI-MIO-16​XE-10 board.

    Hello,
    I work with LabView and a PCI-MIO-16XE-10 board.
    When I sample 2 channels, it's sampling channel 1 and after channel 2. like this:1 2 1 2 1 2 ..
    I want to sample the both channel on the same time, like (1-2) (1-2)...
    How can I do?
    Thanks for any answer

    You buy two boards
    I'm not familiar with that particular card, but generally they have a single
    digital to analogue converter and measure multiple channels with it by
    connecting it to each in turn. This is done very quickly and usually the
    time between channels is much less than the time between readings or the
    times over which the measured parameters vary and it's convenient to think
    of all the readings in each scan as being instantaneous even though they're
    not. If the switching time is significant to the application, then you need
    multiple A-D converters all triggered simultaneously.
    Check in the manual to see what the switching time is. What are you
    measuring that it's such a problem?
    tao wrote in message
    news:506500000008000000D4160000-984
    [email protected]..
    > Hello,
    > I work with LabView and a PCI-MIO-16XE-10 board.
    > When I sample 2 channels, it's sampling channel 1 and after channel 2.
    > like this:1 2 1 2 1 2 ..
    > I want to sample the both channel on the same time, like (1-2)
    > (1-2)...
    > How can I do?
    > Thanks for any answer

  • Replacing an AT-MIO-16X with a PCI-MIO-16XE

    Updating an old system we upgrade DAQ card with one we tough was "all" identical, but I found that the DIO port is not. In fact the MIO-16X can be define as an 4 bits port but not the new card PCI-MIO-16XE-10. Unfortunately the Vi we are using was design with the 4 bits capability (4: Input, 4 Output). To minimize the modification of the software any suggestion...

    Hello;
    You didn't mention what Software language is being used to program the board, but, the best way to go about that is to mask the port, so you can have 4 bits working as input or output.
    If you mask the port, you can still use your code as the port was a 4 bit port.
    Hope this helps.
    Filipe

  • How can I measure RPM with CTR-500 module?

    I have used  the CTR-500 module for mesurement of  motor RPM. But it doesn't have direct option to measure  RPM ,
    so i have count pulses for  1sec (then reset the counter) and  by calculation show the result for 1min. But it varies every time ,cant give me fix RPM.
    I want reliable solution for this.

    min
    You have not said how much the RPM actually varies from reading to reading and what the range of measured RPM is for the process.  This variation can be caused by a couple of things.  One would be actual variations in RPM due to changes in motor loading.  What is this motor driving?  Most RPM readouts use some form of sample averaging to smooth out the readings.
    A second cause could be your vi.  Suggest you post a copy of your vi. 
    In case you have not seen it, here is a link to a KB about measuring frequency with cFP.  It also links to several other docs on the same subject .  http://digital.ni.com/public.nsf/allkb/D8DB42F9FDC3607E862568640047F144?OpenDocument 

  • Can I measure frequency with a SCXI-1120 module and SCXI-1320 terminal block?

    I am attempting to measure a square wave from a directional encoder to display RPM of a dynamometer. The waveform will have a frequency of 0-4KHz, with 3.6KHz being nominal, at about 5volts RMS. How can I measure the frequency of this waveform with the hardware I am currently using? In addition to what is listed above, I am using a PCI6034E GPIB card and LabView software.

    In order to measure frequency, I would not recommend to use the SCXI-1120, but the SCXI 1126, which is a programmable isolated F-to-V module.
    If by any reason you do not want to use SCXI-1126, then I would suggest to use the counter/timers of your board. The counter/timers are TTL compatible, and are the devices that we mostly recommend for doing precise frequency measurements.
    In order to have access to the counter/timers of your board through your SCXI chassis, you will need SCXI-1180, which is basically a feedtrhough panel for your DAQ board.
    Once we have access to the counter/timers through the SCXI chassis, we can proceed with the coding.
    I found a pretty good webpage that clearly explains how to perform frequency measurement with the DAQ-S
    TC counter/timers (DAQ-STC is the type of counter/timer chip that you DAQ device has). Here is the link to it:
    Pulse Width & Frequency Measurements
    As you will see, this link contains tutorials, application notes and example programs. I would recommend to pay special attention to the example program called: DAQ-STC: Measuring frequency.
    Good luck with your application!

  • How to install NI6711 (PCI) & MIO-16X (ISA) on the same PC?

    NI6711 & MIO-16X work with two differents versions of NI-DAQ: Each version can detect only one DAQcard. What the solution to install them on the same PC?

    I know that the pci-6711 is supported since nidaq 6.5 and that since that version the at-mio-16x is no longer supported. Thus, there is no way to get them to install in the same computer. Either you must install them in different computers, or you should get a new board which performs the same operations of the mio-16x. There is a huge variety of E series boards which perform operations much better than that legacy board. Maybe you can get it to exchange with your Sales Rep.
    Hope this information is useful.
    L Aguila
    Applications Engineer
    National Instruments

  • Can I measure period with USB 6501?

    Hi,
    I was told that I can use the one counter in the NI USB 6501 to measure period.  So, I wrote this little VI, modeled after the VI I have that measures encoder period using the counters built into the NI cDAQ 9174 with the NI 9401 digital I/O module.  I have my encoder wires GND and 5VDC on terminals 1 and 2, respectively.  Also, I have encoder channel A and Channel B wires connected to terminals 9 (P2.7) and 24 (P0.7) respectively.  With the MAX, I can count edges with this wiring.  The purpose of this VI is to display an average value of 25 period measurements of the encoder.  The encoder (120 cpt) is turning at about 2-5 rev/second, so, not that fast, maybe a total of 500 period per second; should be easy for this counter.  I'm just spinning it with my finger, so, not that fast.
    Please advise how to use the USB 6501.  I can't find any wiring instructions, other than the pinout, but, the pinout doesn't tell you which channel is the counter gate on the USB 6501, so, I found a response on MAX at channel 24.
    When I run this, the array is correctly initialized to 0.5, but, then I get this error, 200431. I found some things on the forum that suggest I cannot measure period, that I can only count edges.  Should I throw this 6501 away?
    Thanks,
    Dave
    Attachments:
    USB 6501 error.docx ‏24 KB
    USB 6501 period measurement.vi ‏26 KB

    The 9178 also only has 4 counters.
    Do the 5 period measurements actually have to take place at the same time?  Sometimes it might make sense to cycle through the channels to reduce the number of counters used (you wouldn't have to rewire connections or anything as the input terminals are software-defined).  Switching from channel to channel in software should take on the order of ms depending on which hardware you end up using.
    The 9171+(9401/9402) is a relatively cheap way to add additional counters to a system as the 9171 chassis has 4 counters just like the 9174 and 9178.
    Best Regards,
    John Passiak

  • How can I measure RMS with the AI-102?

    Hi folks,
    Can anyone tell me a way to measure RMS voltage with the AI-102?  I need to measure 0-1 VAC.  It seems like there should be a way to collect a sample of voltages and put them in an array to calculate RMS.  Since I'm not approacing the limit of the module's voltage range, there shouldn't be any danger of clipping the signal.
    Has anyone out there attempted this?
    Thanks,
    Eric

    Hi!
      I've never worked with an AI-102, but from the specs I see there's an update rate of 2.8 ms (quite slow...), for a bandwidth of 170 Hz, so the main question is: what frequency band your input signal lies in?  Is it slow varying?
       If your signal's frequency is low enough (I'd suggest below 100 Hz, below 50 is better), you can simpli sample voltage and average samples over time (maybe with some clever techniques...).
       Let me know if this help....
    graziano

  • Can I measure voltage with a current module by removing the resistor?

    I'm trying to measure a 0-10 VDC signal and I don't have any voltage throughput modules for my 2345 signal conditioning unit. I do have some SCC-CI20 (4-20mA) input modules that use a 249 ohm resistor. The output from these modules are 1-5 VDC as expected. I'm wondering if I remove the resistor do I not have a voltage module?
    Please help, I need to get some measurements done soon.
    Thanks

    Hi,
    Yes, you can use the CI20 module to read in voltages. Connecting a voltage source in parallel with R3 will result in the same potential drop to appear across the R3 resistor (see diagram attached).
    Make sure that you DO NOT configure the CI20 in the Measurement and Automation Explorer, so you can read the raw voltage. Also DO NOT supply more voltage than 5V, or you might damage the module.
    Hope this helps,
    Lesley Y.
    Attachments:
    CI20 Connection for Voltage.gif ‏38 KB

  • I get error code 200324 with my PCI-MIO-16E-1 card

    I use Labview 7 and my A/D card was working until last week. Now I hardly find a PCI slot at my PC that the card doesn't crash my PC, and when I do I get this errod code 20034 from the measurement and automation explorer.
    I have tried mounting the card at other pci slots, it didn't work.
    the services nidevldu and nipxirmu are running - checked.
    Any ideas that could help me?
    Regards
    Christos
    Attachments:
    Error200324.bmp ‏2305 KB

    Christos,
    Aside from the services that you have already checked and they're running, another common cause of this error is needing to reset the DAQ device. After running an example in Traditional NI-DAQ, the board needs to be reset before running an NI-DAQmx example. In MAX, expand Devices and Interfaces. Then right-click on Traditional NI-DAQ Devices and select Reset driver for Traditional NI-DAQ. Hopefully, you will now be able to use the board with NI-DAQmx. Hope this helps. Have a great day!

Maybe you are looking for

  • Cannot install ZfD65 SP2

    Scenario: NW 6.5 SP5 ZfD 6.5 SP2 Issue: I have a server running ZfD imaging and wks import/removal. This server runs ZfD 6.5 SP2. Now I also need to install Inventory services from my product CD. But installing ZfD Inventory services from the product

  • Should I reformat my hard drive?

    Hi, I have a macbook pro running OS X 10.8.5. I bought this computer only one year ago, never had any issues, was really happy of the switch microsoft to apple, until last Tuesday when for no reasons my computer started lagging intensively right afte

  • I want to make fancy arrows in cs5

    I want to make an arrow that starts out wide and narrows to a smaller point.  This would be similar to a shooting star effect.  I did watch this video on how to make arrows and being able to bend them.  This video is for cs3 but I do have CS5.  The a

  • Is it possible to open 2 on-demand subreports using 1 link?

    I have a main report Customer Orders, with 3 on-demand subreports - PO Detail, Invoice Detail, Shipment Detail. Is it possible to build a command or a link to  open all 3 subreports with one click, rather than clicking to open each subreport tab sepa

  • Consignment Issue Invoice

    Dear Friends, The user has created one sales order (401001) for the consignment issue for the total quantity of 8,888,165 lbs. After raising the invoice, the user found that the invoice has been created only for 626,695 lbs. In the document flow of t