Using external time base on PCI-MIO-16XE-50

What is frequency of the internal time base of PCI-MIO-16XE-50? How can I replace it with my external timebase ( a pulse signal from an atom clock)?
Also after replacing the internal timebase with external one, the scan rate and channel convert rate will be based on this external timebase automatically, right? For example, I define 1000 scan/s on AI0-AI8, it will be a scan rate based on the external timebase?

The AI Clock Config.vi can be used to set the scan clock rate. If a person wishes to change the boards internal time base to an external one, the method described in http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/5601c8268d625a3c86256cf50071199d?OpenDocument is the way to do this.
The PCI-MIO-16XE-50 has a RTSI connector. Please look at the PCI Board JPEG on http://digital.ni.com/public.nsf/websearch/AD2D553F55A07BBF8625650D005F1F00?OpenDocument for the location of this connector. This site also contains a table of the RTSI Connector Pinouts.

Similar Messages

  • Can I use AI clcock config.vi to set external time base

    DAQ PCI-MIO-16XE-50 board
    According to NI website, I can use "Alternate Clcok rate spec in AI clock config.vi" to set scan clock using external timebase. Does this method in fact change the DAQ cards Master Timebase?
    According to NI, I can use RTSI to change the DAQ cards Master Timebase, then all on board clock will be based on the external timebase.
    Do the two methods have the same result of changing the DAQ card Master Timebase?

    Hi May Lee,
    I have some answers for you.
    (1) I've never used SISOURCE before, but if it was found on our website, it should work. Assuming SISOURCE accepts an external clock source, that is correct. Scan clock will be set as the external scan rate, and Traditional NI-DAQ will select the fastest channel clock possible except for a minimal 10 microsecond interchannel delay (to allow for settling time for the amplifier and any unaccounted factors). If the scan rate is too fast for Traditional NI-DAQ to apply the 10 microsecond delay and still sample every channel before the next scan clock, than the delay will not be added. Also, if you specify the channel clock rate, the delay is not added.
    (2) I'm confused what you mean by setting the channel clock using the internal timebase. If you use the internal timebase of 20MHz as your channel clock rate, this sets the interchannel delay at 50ns. To acquire accurate data, the signal must settle within an accuracy range before the A/D conversion takes place. This is called the settling time. Consult the settling time specifications of your device to see if it can acquire that quickly. Most boards typically have microsecond values.
    If you're wondering about settling time issues with your board, consider the following. First, determine the maximum sampling rate and gains your application requires; you must select a DAQ board that settles to within your specifications. If you have a DAQ board already, which I think you do, run the DC or AC settling-time test to determine the settling time for your board. After you know the constraints of your DAQ board, consider the output impedance of your signals and arrange your signals if possible to minimize the swing in voltages between channels. Finally, select cables that are as short as possible with low resistance and capacitance. Using these guidelines, you can resolve all of your settling time concerns and be confident that your acquired data is accurate.
    (3) You can set the scan clock and channel clock based on external timebases using the AI clock config VI. You can input the timing signals on any PFI pin or select the I/O connector option which looks for the signals to be input on the PFI pin dedicated for its output.
    I've included an example from a PowerPoint presentation below. Let me know if this doesn't resolve the issue,
    Chad AE
    Applications Engineer - National Instruments
    Attachments:
    External_Clocking_(AI).ppt ‏143 KB

  • 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

  • How to program labview to output continous voltage using NI PCI-MIO-16XE-50

    I am an undergraduate student working on a research project. I need to program a labview block diagram to output continous voltage using DAQ NI PCI-MIO-16XE-50. I am new to this and having problems with formulating.
    For example, if i need to output 4V, how to output 4V from the DAQ.
    I know that there are 2 channels for output. But having problems figuring out which pins to use as well.
    If there are any examples,tutorials or whatever hints i could get in order to solve this, that would be great. I am simply confused and wondering where to start.
    Thanks in advance.
    Confused undergraduate student

    Here is an example of how to do some basic analog and digital communication. Since you need a 4V signal you are going to want to use Analog Output.
    http://decibel.ni.com/content/docs/DOC-15408
    Product Support Engineer
    National Instruments

  • How do I add a multiplexer accessory device to my PCI-MIO-16XE-10

    I've been told I have to add a multiplexer to my PCI-MIO-16XE-10 card (so I can read more than the 10 chanels it provides for at the same time).
    How do I do this in the Measurement&Automation Explorer?
    Thanks for any help!

    Brain&Body,
    The card can function as either 8 channels in differential mode or 16 channels (Referenced single ended or None referenced single ended - later uses system ground). The single ended mode(s) will allow you get access to all the channels, though it would mean that you would expect to see more noise on the signal than in differential mode.
    You can select these modes within MAX under the properties for the specific DAQ card. Look under analogue input (AI) there you will see a pull down for the modes please select the mode you want. I would recommend that you read the user manual regarding the benefits and limitations of the modes. If using a developement tool (LV,CVI, VB or VC++) please make sure that you are reading single ended signals.
    If you wish to expand the system further you might want to consider purchasing a multiplexer system such as an SCXI system (reference page 184 of the 2005 catalogue). I would recommend that you contact your local sales office and speak with one of our Internal Sales Engineers - UK general number of +44 1635 572400.
    Kind regards
    JoeW
    NI-UK

  • Installing two PCI-MIO-16XE-10 DAQs

    I have two PCI-MIO-16XE-10 boards, which work fine independently. I now have put them into the SAME computer, and the Windows XP has successfully found them and installed drivers for them. But when troubleshooting using the NI Measurement&Automation program, neither card is working anymore. The self-test fails, and the error message does not explain why. How can I use both DAQs together in the same computer?
    thanks,
    SAK

    Hi SAK-
    There should be no problem with using both cards in your system.  A few things to check are:
    Make sure that NI-DAQmx and Traditional NI-DAQ are not trying to access the board at the same time.  If you use the board with Traditional NI-DAQ you will need to reset the Traditional NI-DAQ driver before using the board with NI-DAQmx again.
    Make sure that you have administrative rights on the PC you're using or the driver may not function properly.
    Make sure that no other applications are currently accessing the boards- the driver will lock out access when the board is currently in use by another application.
    You can further troubleshoot the issue by removing all other PCI cards from the system to try and identify the problem as a resource conflict between your DAQ boards and any other peripherals installed on the system.
    Hopefully this helps-
    Tom W
    National Instruments

  • External time base changes with velocity

    Hi everybody
    I am using output channel A of a quadrature TTL encoder as external time base of the acquisition of three analog input signals. I acquire a total of 1024 scans, one scan for one pulse of the encoder. I use this system to acquire signal from an internal combustion engine. When the velocity of the engine is 1700 rpm, my system acquires the number of cycles of the signals that I expect. But when the velocity is 2000 rpm (or more) my system acquires more cycles altough the number of scans don´t change. It is like the board (or anything) doesn´t read all the pulses of the encoder). I use LabView 5.0 and the example: "Acquire N Scans ExtScanClk D-Trig.vi" for my acquisition. My board is PCI 6023-E.
    Have anybody any idea w
    hat should I do? I appreciate your help.

    Wayuu,
    according to what you say, it seems fairly clear that the board is not missing pulses and that those pulses are a clean signal.
    What comes to my mind now is... Why do you say that you get more cycles? I mean, if you always get the number of samples you request, what's the problem? Maybe a delay between channels?
    If that's the case, then it may have something to do with the interchannel delay parameter.
    You can change the value of this parameter with the AI Config vi.
    I would first check these links below that talk about it, and see if the behavior you are seeing is just an effect of your board having a unique ADC and hence a delay between samples of different channels.
    http://digital.ni.com/public.nsf/websearch/9AE87416C8792FC286256
    D190058C7D3?OpenDocument
    http://zone.ni.com/devzone/devzone.nsf/webcategories/E8C00D6CC2BDD44386256882001425DA?opendocument&node=
    Regards,

  • When does the PCI-MIO-16XE-10 start sampling the data?

    I am using a PCI-MIO-16XE-10 to sample the output of a DAC. I think that the board is collecting the data before the DAC output settles. How can I delay the time of the measurement?

    Hello;
    If you are acquiring at more than one channel, you can increase the interchannel delay of that acquisition. The board you have has two main clock signal to synchronize the acquisition, the first is the Scan clock which will determine the frequency of each Scan (which is composed by the number of channel you set to be acquired), the second is the channel clock, which will switch the multiplexer which routes each channel to the onboard ADC. If you need to delay the acquisition of one particular channel, you just need to increase the time that each channel is sampled, by changing the interchannel delay of the acquisition. If you are acquiring just one channel, it would be good if you could get a signal of some sort from the ADC you are reading data from and us
    e that signal to trigger a delayed pulse on one of the general purpose counters your board has. Then you can synchronize the analog input operation based upon that delayed pulse. For more information on how to synchronize DAQ operations, you can refer to an Application Note named "Advanced Synchronization Techniques for Data Acquisition" which can be found at our Web Site.
    Hope this helps.
    Filipe

  • 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

  • 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 calculate min/max scan rate of PCI-MIO-16XE-50

    My board: PCI-MIO-16XE-50 , 20MHz timebase
    The min/max scan rate is0.00596-20K scan/s and the channel rate is 1.53-20Kchannels/s
    How do they calculate these data?

    Hi May
    Check out the knowledge base locate at http://digital.ni.com/public.nsf/websearch/EA4E306828AF05B586256B8F00661A8B?OpenDocument . I think it answers your question.
    Serges Lemo
    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

  • NI PCI-MIO-16XE-50 voltage output

    I am an undergraduate student working on a research project. I need to program a labview block diagram to output continous voltage using DAQ NI PCI-MIO-16XE-50. I am new to this and having problems with formulating.
    For example, if i need to output 4V, how to output 4V from the DAQ.
    I know that there are 2 channels for output. But having problems figuring out which pins to use as well.
    If there are any examples,tutorials or whatever hints i could get in order to solve this, that would be great. I am simply confused and wondering where to start.
    Thanks in advance.
    Confused undergraduate student

    Confused Undergraduate Student,
    Dont worry, we have a huge amount of resources and tutorials available specifically for people in your situation. 
    For understanding pinouts, you can look in the user manual here:
    http://digital.ni.com/manuals.nsf/websearch/06115536722DAA558625728E007E6BA4
    here is good getting started guide:
    http://www.ni.com/pdf/manuals/373737d.pdf
    we also have some great tutorial videos for new users here:
    http://www.ni.com/dataacquisition/videos
    We have many more resources available at NI.com. From there just use the search bar in the top right. Results can be sorted by type on the left. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • PCI-MIO-16XE-50 abruptly failed

    My PCI-MIO-16XE-50 can't read any analog inputs (always sees the most negative possible voltage) and can't write any analog outputs (outputs always 0). It was working fine on Friday, and I don't know what happened over the weekend to make it fail--the card was in a computer, but wasn't plugged in to any other hardware. I'm using the measurement and automation explorer to check whether it works, so it's not a software issue. The card is only a couple of months old--possibly still in warranty.

    I suggest you to contact NI technical support. The issue might be from something silly up to a damaged board, but that cannot be troubleshooted easily by this mean.
    Follow this link to contact NI technical support: http://www.ni.com/ask
    L Aguila
    Applications Engineer
    National Instruments

  • Problem integrating PCI-MIO-16XE-50 and AMUX-64 T multiplexer

    I can test the PCI-MIO-16XE-50 card in MAX but i can not test the virtual channels

    Hey Hiral,
    The AMUX-64T does not support virtual channels. You'll need to acquire the data and then perform the required scaling in software. The following document discusses how to access the appropriate channels.
    How do I Address an AMUX-64T with an MIO Board?
    This next document may also be useful. It discusses how to perform the necessary scaling for a thermocouple channel in LabVIEW.
    Taking Thermocouple Measurements Using the AMUX-64T
    I hope this helps!
    Sarah Miracle
    National Instruments

Maybe you are looking for

  • Shell commands from JSP after Forms migration

    During application migration from forms 9i to JSP & BC4J, I have to code the following Forms code into my JSP application.This is for a button pressed trigger. DECLARE RENAME_STRING VARCHAR2(120):= 'RENAME C:\BRC\PDATA' ||:DRAWING_ACCOUNTS.ACCOUNT_ID

  • Iphone import is not working

    Final Cut Pro X is no longer showing my iphone in the import screen, i only see the Appe Build-in iSight. Some weeks ago it was working fine. I can't find the problem... Final Cut Pro X 10.0.4 Iphone 4

  • How to import project from Final cut pro 7 to X ?

    how to import project from Final Cut Pro 7 to X ?

  • Launch programs with User defined Keys?

    Im using 10.6.4 on a Macbook Pro and on the 1 screen im using 3 different programs at once (2 music programs and Parallels / Windows Program) Is there a quick way to flip between the 3 very quickly as I like to view all 3 very quickly and chop and ch

  • How to trigger a workflow when a info record is changed?

    Hello All, I would like to trigger a workflow when the conditions from a info record are changed? What business object should be used? Thanks in Advance Rui