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

Similar Messages

  • 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.

  • 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 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

  • 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

  • I want the PCI-MIO-16-E4 ad board driver file.

    I am  doing research in aerospace department Anna university. i am using the hotwire annemometer. Data acquisition  purpose using the PCI-MIO-16-E4 AD board. The driver file of the board is corrupted. so request you to send the driver file.
    thank you  

    Hi!
       The board you're using is quite old, check for NI PCI-6040E (which is said to be "formerly known as PCI-MIO-16E-4").  So you should search for that drivers, the one for PCI 6040.  See the attached links:
       PCI 6040E
       traditional DAQ
       devices supported by traditional DAQ
       This board is supported also by Ni-DAQmx, which is a newer set of drivers. Check for LV and OS compatibility....
       But... just a question, how do you say that driver is corrupted? Do you have a message from LV, or whatelse?
       Hope I can help...
    graziano
    PS.: Just a note, post these kind of requirement under Data aquisition, or DAQ forums, there you can find exactly what you need!

  • 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

  • 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

  • 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!

  • Can I have retriggera​ble analog out with a single intializat​ion with PC-6711 or PCI-MIO-16​XE-10 boards? step triggering available?

    i know i can use the counters to make retrigerable pulses, but i want to know if analog output can do this as well.

    Jay,
    It sounds like you want to update your analog output channels with a new value or an entire waveform every time you get a trigger signal. It's great that you're already familiar with counters creating retriggerable pulses, because you can use them for the analog output operation.
    The analog output channels get updated based on the edges of the update clock. You can use the counters to supply an external update clock. So, if you set up a counter for retriggerable pulse generation, it waits for a trigger signal. When it receives it, it generates a pulse, which you have wired to the analog output update clock. When the analog circuitry sees that edge, the data will be output to the channels.
    I answered a similar question regarding this for the posting
    "About trigger config". However, I realize that the user had originally posted in the LabVIEW General category, so it doesn't show here. Search the Developer Exchange for "retrigger analog", and you will find it. It discusses this idea as well as attaches a few examples that are currently going through a process of review to eventually be available on the web. There might be some other helpful postings as well.
    Another good resource for triggering in general is the NI Developer Zone "Tips and Techniques in DAQ Triggering" document. You can find it by going to the http://www.ni.com/support pages and searching for "daq triggering".
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • My Labview 6i evaluation version getting bad/unusua​l readings(a​nalog input/outp​ut) while when i use test panel of Ni-DAQ 6.9.0 i have good readings from my PCI-MIO-16​E-1 board.

    If i used Lavbview 5.0 on same PC i don`t have problems.Sorry with my english!
    Attachments:
    TestPanel.jpg ‏103 KB
    Labview.jpg ‏62 KB

    I tried running one of the DAQ example programs and i got the same data and i only use the version of NI-DQA that shipped with my 6i version evaluation. About hides drivers i reinstall and double click in all of folders and sub folders. About my program i don`t think i have problems because is very simple but i send it to you for you help me. About two weeks i am around this problem and i can`t see evolution...
    PS.: Sorry with my english
    Best regards,
    Nelson Ferreira
    Student of ISEP College in Portugal
    Attachments:
    LerEntrada.vi ‏43 KB

  • I am trying to generate a 50kHz sine wave for ten cycles, then aquire this waveform and store it in a file, I am using a PCI-Mio 16E-4 board, has anyone done anything like this?

    I am trying to generate a 50kHz sine wave output on the DAQ card and then simultaneously recieve. I am using a PCI-Mio 16E-4 series board to do this. Has anyone done anything similar. I can generate a 50k wave no problem, and recieve one, but I can not get these vis to run together? Any suggestiosn

    Jrod, yes you should be able to do this, actually there are quite a few example programs come with LabVIEW that handles simultaneous analog input and output, I check the specs of the board you use, the board should be able to handle the sampling/generation rate, but make sure for 50KHz sine wave, you would sample at least twice as fast, preferably ten times the generation rate, then this puts the sampling of the board to thew limit.
    The program you can try is attached here, good luck with the application,
    XD Gao
    Applications Engineering,
    National Instruments
    Attachments:
    Simul_AIAO_Buffer(E-series).vi ‏104 KB

  • Installing PCI-MIO-16XE-10

    I am completely new to National Instruments and/or LabView. I need to do some project development with the PCI-MIO-16XE-10 board.
    I need to install the board. Where can I find up-to-date drivers?
    Also:
    What is Measurement Studio? Should I use it ?
    The purpose of this excercise is to develop a program for a medical application with extensive test of parameters and then dumping everything into firmware that will run a Microchip controller.

    Hi Mentamax,
    To find the latest drivers available for your DAQ board, check out our website at DAQ Driver Support Page
    Measurement Studio is a suite of native measurement and automation controls, tools, and class libraries for Visual Studio .NET and Visual Studio 6.0. Measurement Studio dramatically reduces application development time with ActiveX and .NET controls, advanced analysis libraries, scientific user interface controls, mewizards, interactive code designers, and highly extensible classes.
    There is a great application note on our website that talks about all the benefits of using Measurement Studio. I found it really helpful and its a great resource.
    Measurement Studio Application Note

  • Inputing TTL pulses to NI-PCI-MIO​-16E-1 via BNC-2110

    I need to count TTL pulses coming from photomultiplying tube (PMT) module. Can someone tell me, please, how do I connect BNC cable from PMT module to NI PCI-MIO 16E-1 DAQ board via BNC-2110 adapter?
    thanks a lot in advance

    Hello Photon Guy,
    Thank you for contacting National Instruments.
    I have attached an image which shows how to connect the USER 1 BNC and USER 2 BNC connectors to the proper PFI pins which serve as the source of counter 0 and counter 1. You should only need to use one counter to count edges.
    Regards,
    Bill B
    Applications Engineer
    National Instruments
    Attachments:
    BNC-2110.JPG ‏105 KB

  • Possible sampling rates of a PCI-MIO-16E-1 with DASYLab

    Hello!
    I'm using a PCI-MIO-16E-1 DAQ. It's maximum sample rate is 1.25MS/s
    My questions:
    - What does maximum output rate of 1MS/s mean? I need 3 channels at 400kS/s.
    - What are the possible sample rates? Can I use e.g. 3 channels with 105 kS/s each?
    - If not what are the fixed sample rates of that card?
    Thanks a lot

    Hi matadler,
    The E-Series boards have one DAC for each output, therefore you can use the full output rate with all output channels.
    The PCI-6070 (formerly known as PCI-MIO-16E-1) has 2 analog outputs, which can be used at up to 1 MS/s. If you need more analog outputs, you need another board.
    Analog inputs on the E-Series boards are multiplexed. This means you have only one ADC which is used for all analog input channels. You have to divide the maximum sampling rate by the number of channels you actually use.
    For your application, this means you can use up to 416kS/s with 3 channels. There are no fixed sample rates on the board, so it's no problem to use 105kS/S.
    Regards,
    Richard H.
    National Instruments

Maybe you are looking for

  • No Service after restoring from backup

    So I have an iPhone 3gs. It was Jailbroken on 5.1.1 with upgraded iPad baseband 6.15.0 or something of that sort to allow sim unlocking. I decided to downgrade the baseband and upgrade to iOS 6 and unlock through official channels. Everything works f

  • Filtering groups, grabbing group members and removing duplicates

    I need to notify users by mail, about a maintenance I have several groups names with similar names (GRP_APP1, GRP_APP2 and GRP_APP3) I need to extract a list of mail addresses form theses grups members, remove duplicates and send mail to then The log

  • How to user bufferedreader.read(char[] cbuf,int off,int len)

    how to user bufferedreader.read(char[] cbuf,int off,int len)? can you give me an sample code? i dont understand the use of offset here... thanks!

  • Album art download spotty at best, what best 3rd party tool works well?

    I have hundreds of Gb of music and probably 40% of that - no cover art.  Running this feature in iTunes does nothing - comes up telling me I have over 5,000 album art covers not able tgo be downloaded.  Tried various other 3rd party tools, not that m

  • 11g export to 9i database

    We like to export data from 11g db to 9i db. tried the following: 1. Execute 9i export on 11g db app schema 2. Execute 11g export on 11g db app schema 3. Execute 9i import from step 1 into 9i db. 4. Execute 9i import from step 2 into 9i db. Received