How to synchronize two cards NI9215 DAQmx?

Hello

I use two NI9215 DAQmx cards (analog inputs sample simultaneous 4ch) in a cDAQ-9174 chassis type.

Because I need to acquire 8 channels at the same time, I have two NI9215 cards.

My question is how to configure these cards to be synchronized?

I use LabVIEW2009 SP1 dev Suite.

Thanks for the replies!

One of the nice things about CompactDAQ is that you can put multiple modules of the same time (analog, digital, etc.) in the same spot and they are automatically synchronized.  Then, to synchronize the two modules, create an analog input task and reference strings like "cDAQ1Mod1 / ai0:3, cDAQ1Mod2 / ai0:3.  It automatically synchronizes the two modules together.

Tags: NI Software

Similar Questions

  • How to synchronize two chassis

    Dear all,

    I want to synchronize two chassis, chassis first has RFSG 5673E (S) and other chassis a DAMA (S) 5663E, they are connected via MXI, is there anyone who has this experience and can support me to apply it. I know that he used NI-Tclk to synchronize in a single chassis and there is another kit of tools for mult chasis, but I have no idea on how to use it!  Thanks in advance

    Best regards

    Al-Rawachy

    So I did a little research and to allow you to synchronize the two chassis together you must use a map of timing and synchronization in each frame so that you can share Tclk. This is for several reasons: first of all, as well as terminals IN CLK and CLK OUT, several PFI lines are required for the export of various signals used by T - CLK (i.e. Start, Stop and Sync triggers). In addition, the map of timing and synchronization is also necessary to replace clock background basket of 10 MHz, on the chassis of the slave with the master clock. It is essential for the two hunts reference the same clock synchronization. In addition, using a more stable clock source, as provided for in the calendar and map of synchronization, improve synchronization significantly.

    From there, a chassis are sync'd up, TCLKing la 5665 and 5673E should be simple enough. It should be simply a matter of configuration tasks the DAA and RFSG, with a single trigger configured, before feeding the two tasks of the TCLK vi. Here is an example for you to study what explains this:

    http://www.NI.com/example/30254/en/

    I hope this helps.

  • How to synchronize or trigger OR-DAQmx devices in LabView

    I'm using LabView 2009 with a cDAQ-9174 chassis which includes an NI 9263 analog peripheral and an NI 9222 analog input device. I learned in the examples that I can synchronize the devices at the same sample rate. But I'm looking to sync devices such as the exact moment where I start to acquire input channel 9222, the 9263 begins to generate output. Secondly, I am interested to know when to use just this material, is it a way to very precisely to trigger a device turned off each other with a certain delay. So in summary I am interested in two behaviors:

    (1) to synchronize an output channel 9263 to an input channel 9222, such as the beginning of a measure of analog input 9222 triggers a 9263 analog waveform output. and,

    (2) have the analog output of the 9263 beginning for example EXACTLY 100 samples (provided that the sampling rates are synchronized) after that the 9222 starts to collect data. In other words, a trigger delay.

    I guess that preference for it in hardware such as no software delays occur. Is this possible using these devices? Or do I need an external synchronization mechanism?

    Thank you!

    Hi tzoom84,

    Back to your original question,

    (Make 1) and (2), I don't think you should use counters.

    Shipping example LabVIEW 2010\examples\DAQmx\Synchronization\Multi-Function.llb\Multi-Function-Synch I - AO.vi is probably a good starting point for 1). (Possible problem: If you use several engines timing to HAVE at the same time, the hypothesis of this example that the task of the AI "AI/StartTrigger" is not valid.) If this proves to be a problem, you may need to replace the name of Terminal get with device Prefix.vi with the trigger DAQmx > Start.Term property and add a call to the reserve of the task.)

    For 2), add the trigger of DAQmx > Start.Delay and trigger DAQmx > Start.DelayUnits properties of the task of the AO:

    If you really need to use counters, you can do without the NI 9401 using cDAQ1/_ctr0 by cDAQ1/_ctr3, which are internal channels: How to internal access on any device DAQmx?

    Brad

  • How to synchronize two timers that send data?

    Hi, I have a problem:

    I have a thread in which I have two timers with timerTask. two of them will send data on the server. the first 5 sec every one and the all other the 1 sec the problem is that when I run the defective computer application (disconnection with an IOException error) after 3-4 sec, I think it's probalby because in an instant, both of them are trying to send data and can only be in one second. I tried to create both a dataOutputStreams but this is not enough. Here is my code:

    //in my thread, run method:
    
    public void run(){
    
     synchronized(_firstTimer){
    
    //send data every 5 sec
    _firstTimer.scheduleAtFixedRate(new TimerTask(){
    
     public void run(){
       sendData(_data1);
    }
    },0, 5000);
    }
    
    while(true){
    
      synchronized(_secondTimer){
    
    //send data every second
      _secondTimer.scheduleAtFixedRate(newTimerTask(){
    
            public void run(){
    
         sendData(_data2);
    }
    
    }, 0, 1000);
    }
    
    }//end of while
    
    }//end of run()
    
    //and sendData() method:
    
         public boolean sendData(byte[] _b){
                int length = _b.length;
    
                try{
                    _os.write(_b, 0, length);
                    _os.flush();
    
                    return true;
                } catch(Exception e){   return false;   }
    
            }//end of sendData method
    
    //where before in the code i've got:
    SocketConnection _s = (SocketConnection)Connector.open(_address);
    _os = _s.openDataOutputStream();
    

    can someone please provide all my advice how to fix this?

    Kind regards

    a solution would be a 'executable queue", a vector that contains objects that implement the runnable interface and executes one by one.
    the two timertasks add their treatment to the queue (synchronized) and directs the queue.

    It is a lot of material on threads synchronization available on the net because it is one of the most basic problems of treatment / distributed computing.
    I'm sure you can find detailed examples to sun.com and many other java sites.

  • How to synchronize two profiles in firefox, everything except localstore.rdf

    Yesterday, I asked about the binding cache between two profiles in firefox:

    https://support.Mozilla.org/en-us/questions/925836

    And I got to thinking. The only reason why I'm even a second profile is to have two 'places saved window' for purposes of multi-monitor. I want that these profiles to be EXACTLY the same except for the location in which they are open (which is registered in localstore.rdf). It occurred to me that with my current setup in the thread above, even if the caches are now linked... I still have to change twice bookmarks. Have two different stories, saved passwords, etc. A minor inconvenience at best, but it would still be nice to avoid.

    As I said, I want these identical profiles, except for the locations in which they are open. I know there are extensions for synchronization of profiles, but they all seem to be 1 star performance that hinder the mess. I prefer to do it manually, as I did with the cache. Possible?

    Found an answer myself, mklink. I delete the places.sqlite (the file where the bookmarks are saved) my 2nd monitor profile. I then go to CMD and create and MKLINK by running the following:

    MKLINK C:\Path\to\Mozilla\Firefox\Profiles\monitor2\places.sqlite C:\Path\to\Mozilla\Firefox\Profiles\default\places.sqlite

    This creates a shortcut in my profile monitor2, redirecting to the profile folder of the monitor of my first for the file places.sqlite. TADA, the bookmarks are sync'd and the changes are saved to both directions. I developed this and created mklinks for formhistory.sqlite, cookies.sqlite and permissions.sqlite. Works perfectly and synchronizes both ways, as did places.sqlite.

  • How to synchronize two ports data series at different frequencies of sampling?

    I have a .vi I'm reading two different sensors that operate at different sampling rates high.  I am able to read these two, however, there seems to be some problems of synchronization/strange offset with the devices.  The first device is a device running at 5 Hz GPS.  This is convenient because the time GPS is included in the data that I read.  The other device is a sensor operating at 6 Hz.  Ideally, I am recording the data of these two devices in the same file.  An example is attached.  It seems he collects GPS data, although it seems to write at much lower rates.  Strangely, as it is written to the file, it will slowly store 'blocks' of data in order to a much lower rate.  It seems that a lot of the GET of a buffer, and then it jumps ahead by about 5 seconds (see lines 214-220 of the attached file).  Meanwhile, the data from the sensor 6 Hz are get recorded normally.  I'm puzzled.  Would it not be better to connect these as separate sets of data in separate files?  Creating two executions of read/write "parallel" within the same .vi?

    Any help or examples, would be much appreciated!


  • synchronize two exits of meter 6071E map

    Well, that's usually how to synchronize two problem of counters.

    I use the 6071E with DAQmx .NET 4.0. I set a task and attach to two channels with implicit synchronization and zero initial delay of meter output. When executing the program

    I catch the first edge with a single trigger to scope. There is always a delay between the first edge of ctr0 and the first edge of 16.3 microsecs ctr1. Is it possible, not to mention that affecting the initial delay of ctr0 16.3 microsecs to make meter always start together? What is the source of the delay(software/hardware) and must always remain constant.

    any help is welcome

    The source of the delay is that while he is in the same tasks that the counters are always started sequentially by software.  I'm surprised that the delay you see is constant.

    If you want the counters to start together, you must configure a start trigger.  As soon as you begin the tasks of meter in the software, issue the trigger to start to generate your pulse output.  Relaxation of beginning must be a signal of material - for example, you can configure a digital outputs in software timing and the lead back to one of the PFI lines.

    If you want to avoid any additional wiring, you could split the counters in two separate tasks.  Trigger a counter with the internal performance of the other (start the task that will be triggered everything first).  In doing so, instead of using an external trigger, I expect a delay between the order of 100 ns counters as the initial delay is at least 2 timebase tick.

    Best regards

  • Synchronize two E-card with traditional DAQ series

    Hello

    I have a PCI-6052E and a PCI-6071E and I have a Matlab program that interacts with traditional hardware DAQ driver cards.

    It is possible to synchronize the two cards use RTSI or something? If so, what should I do in matlab to achieve?

    I'm a bit confused, because I don't know if this is only possible using DAQmx.

    Thank you!

    Hi zlyhere,

    Using DAQmx would definitely be the best choice.

    In terms of using C vs the Data Acquisition Toolbox for The MathWorks Inc. Matlab® Software, I would recommend the Toolbox for ease of use.  The MathWorks develops the Toolbox, so they must have documents on how the maps can be synchronized.

    If you find that you need more features, you can fall back to C.  Documentation is available at

    "" "" Start menu"all programs" National Instruments "NOR-DAQ" support textual Code ' using NOR-DAQmx C reference

    MATLAB® is a registered trademark of The MathWorks, Inc.

    See you soon!

  • How to synchronize the start of IT and relaxation the Scan list (DAQmx Switch)

    Hello

    I want to measure samples of N to the AI0 of Council NI PXI 4461. The measurement starts on a rising edge of a digital triggering provided to the PFI0 of the same Board. The measure is configured with samples of N/2 pretrigged. So far, everything is under control...

    Using an NI PXI 2567 Board, the signal applied at the entrance the 4461 (AI0) switches between a V2 and V1 signal. I would like to synchronize the switch between the two signals with the trigger signal applied to the input of the PFI0 Governing Council 4461. In order to obtain samples of N/2 of V1 and V2 samples N/2. Synchronization of 1 to 5 ms would suffice!

    My question is how to synchronize the start of acquisition of AI pretrigged of 4461 with the switch control given by the Council of 2567?

    Thank you in advance for your help...

    PS: the configuration of the system is:

    -LabView 8.5

    -Chassis PXI-1044

    PXI-4461 on slot 2

    Module 4-slot PXI-2567

    Hi Frederic,.

    I came back to this recently and used the following examples to run the desired synchronization.

    PXI-4461: Acq & graph tension-Int Clk - dig Start & Ref .vi

    Samples per channel = 1000

    Rate (Hz) = 10000.00

    Start the trigger Source = / [name of the instrument DAQmx] / PXI_Trig0

    Onboard start = fall

    Reference Source Trigger = DAQmx Device Name] / PXI_Trig0

    Reference edge = fall

    Trigger samples = Variable (100, 500, 900)

    PXI-2567: Switch Scaning-SW Trigger.vi

    Advance the output terminal full = / [name of the instrument DAQmx] / PXI_Trig0

    Scan list = / [name of the instrument DAQmx] / ch0-> com0.

    Scan list = / [name of the instrument DAQmx] / ch1-> com1;

    Hardware configuration:

    The PXI-2567 module controls an external relay that switches between the voltage of 5 V on ch0 and ch1 0 V.

    The PXI-4461 connects to the COM of the external relay and therefore reads 5V when ch0 is connected; 0 v when ch1 is connected.

    Procedure: The above examples are used in the following procedure.

    1. run the PXI-4461 VI.  A start trigger (falling edge) is necessary to start collecting samples before firing.

    2. launch the module, PXI - 2567 VI.  When ch0 is initially (and immediately) on com0, a trigger is sent to PXI_Trig0.  The PXI-4461 will begin to acquire samples before firing.

    3. - click on the "Connect to the next" button on the front of the PXI - 2567 VI module.  This sends a trigger to entry software for the PXI-2567 module and the transitions of the scan for ch1-> com1 list.  Once the PXI-2567 module remains (debounced), advanced complete relaxation is sent on PXI_Trig0 for the PXI-4461.  The PXI-4461 will begin to acquire samples after outbreak.

    Note: Instead of the trigger of the software entry, an external input trigger can be used (e.g. PXI_Trig1).

    Results:

    > Before instant release of samples = 100

    Delay is caused by the time of actuation of external relay.

    > Before instant release of samples = 500

    Delay is caused by the time of actuation of external relay.

    > Before instant release of samples = 900

    Delay is caused by the time of actuation of external relay.

    I hope that the attached screws and the explanation above helps you and/or other customers who have this problem.

    Best regards

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • Error 200452 with synchronization of two cards PCI-6733

    LabVIEW: 8.6

    Using two cards PCI-6733 connected via a RTSI cable, I'm trying to get an output synchronized two PCI cards (which are connected to of BNC-2110).

    Here is the labview code I put together by looking at the examples online and in the program. To the left of the diagram is the part of the program that generates the entries.

    Currently, it gives me an error 200452: "specific property is not supported by the device or is not applicable to the task." Property: task of Start.TrigType name: _unnamedTask<26>. »

    Any ideas how to solve this problem? The Labview code above looks like it will do what I want?

    Thank you

    After investigating further the code, since it seems that your referencing the same clock, you do not need a trigger. You can probably avoid the error by removing the third blpck on all threads

  • I downloaded separately from all parties to a four-part harmony song, how can I synchronize. two or three playing together? Windows 7.Thanks.

    I downloaded separately from all parties to a four-part harmony song, how can I synchronize. two or three playing together?

    Hello

    Plenty of capable edition

    Audacity - free
    http://Audacity.sourceforge.NET/

    Audacity - Forums
    http://Forum.audacityteam.org/

    Free Audio Editor - free 2012
    http://www.free-audio-editor.com/

    Other sources of information:

    http://Forum.recordingreview.com/

    http://www.djforums.com/forums/

    http://Homerecording.com/BBS/

    http://www.pcmusicstuff.com/

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How compared the content of the two cards

    Hello

    How can I compare the contents of two cards that look like:

    Private map < String, < String, Enum > map > expected;

    Private map < String, < String, Enum > map > real;

    BR,

    Mike

    Actual.Equals (expected);

  • synchronize two usb 6289 with a meter

    Hi people!

    I'm trying to synchronize 2 boards of the series M USB-6289 using a counter.

    I searched the forum and that you've already seen the tutorials:

    'Synchronization of series M with LabVIEW and NOR-DAQmx - Developer Zone - National Instruments'

    'Synchronization of data acquisition USB - device to several systems - Developer Zone - National Instruments'

    "The time and the synchronization of the NOR-DAQmx - Developer Zone - National Instruments features."

    However, I still have some doubts (where the post with respect to the following:)

    -If I want to use the meter as trigger for both cards do I need to export to a PFI line and connect to the Member of the Board?

    -I do the same thing with the clock signal (export to the other panel using a PFI line) or using the same frequency for two meters is enough? Or both?

    -can I use the same value for the frequency in the meter and two clocks?

    Hope someone can help out me.

    If possible, underline some examples or detachment would be great.

    Thanks in advance for the help!

    See you soon!

    Hello

    All points depend on what you need to synchronize exactly.

    As you have probably already read in the links you provided, you have the option to share a trigger, or a clock, or both.

    Of course, the best solution is to share together.

    Then, you can choose to directly share the sample of one blade to the other clock (if the two sampling rates are the same), or to move the reference clock, then, both cards will synchronize their sample (with PLL) clock on the same reference clock, as shown in the synchronization M with LabVIEW and NOR-DAQmx series.

    Exactly how you want to use your meter?

    You want to generate a single trigger pulse?

    Then, for examples of synchronization, there are some zip files at the end of the links that you have read.

    Kind regards

  • Can I acquire at the same time HAVE two cards of different acquisition installed on the same computer

    Here's my question:

    I have two different cards installed in a PC. Specifically, PCI-6224 and PCI-6254. I need to acquire 50 analog inputs (real time). Can I use two cards to do? I mean I can synchronize these two cards and acquire simultaneously several channels at the same time?

    Thank you

    Alessandro

    Yes. You can use a RTSI cable between them. See the examples of the expedition. If you are using LabVIEW, look at several Synch - Analog Input - Cont Acquisition devices.

  • How to synchronize multiple devices (294 x) Rio usrp

    Hello

    I'm trying to receive 4 channels using two devices USRP-294xR (USRP RIO) to synchronously and run the example for the reception of several device program.   Often, I receive the error message "failed synchronization.  If I run the example several times in a row, this error message occurs more often than otherwise, but for all the times that he does not, I am able to collect data that seems like synchronous through the channels of reception.  So, in a way that works for me, but with the annoying feature that I need to run the program several times now until I am able to avoid the "Synchronization failed" error

    My installation includes an Octoclock connected to the Ref connections in and PPS in the two USRPs.  In the example, VI, I selected Ref in, but it is clear to me what choice should I use for relaxation.  Possible options are: 'Software', 'Immédiate', "Digital Edge", "Rx Start Trigger" and "Tx Start Trigger.  I had assumed my previous experience using these devices with the FPGA Ettus I would choose an option indicating that I tried to synchronize the external signal of PPS.  "External PPS" is not among the options of trigger, I'm confused as to how the synchronization.

    I saw the article below, but it's not not clear for me if I should be able to achieve my goal without making changes FPGA. It is possible to synchronize multiple devices using the program by default FPGA and example (i.e., for example RIO, not the host screw using the Ettus FPGA image)?  If so, any suggestions to help me avoid this error "synchronization failed"?

    http://zone.NI.com/reference/en-XX/help/373380D-01/usrphelp/synchronization/

    Thank you.

    Rob

    rkossler1 wrote:

    Since we did not have a 6674 t, I thought I might as well try to connect PPS from a RIO USRP to PPS on the two RIOs USRP.  I just used a BNC - T to "distribute" the relaxation.  It did not work - maybe for the same reason you mentioned on the PPS USRP out is not strong enough for the Octoclock by car.

    Yep, that's exactly it. The USRP RIO is not output enough power on the PPS TRIG OUT line to drive the lines of PPS TRIG IN two USRP RIOs, unfortunately

    rkossler1 wrote:

    How can I know which USRP RIO is the 'master '?  Do I need to designate in the software?  I chose arbitrarily use the device for which I have connected the PPS on the BNC - t 'RIO0', but I don't know how the SW knows what USRP I chose to connect the power cord to.

    The USRP captain's exit a PPS TRIG OUT in PPS TRIG IN sound. then all the USRPs you set this unit as the * first * device in the table of features of RIO for the façade of synchronization with a cross screw.

Maybe you are looking for

  • Can not play in DOTA on Satellite L510 (i3) with Intel HD graphics card

    Hello Can anyone help me regarding the Satellite L510 (core i3)? Can not play in DOTA even if updated the latest display driver (Intel HD Graphics (Core i3) with 8.15.10.2086 version of the driver.) on Intel website, but still can not solve my proble

  • the process Svchost.exe to netsvcs uses a lot of memory (~ 600 MB) and 100% cpu

    I have windows xp edition sp3 family. I hit the power button to hibernate the pc but I think an automatice update was running.  Pc crashes when windows resumes after hibernation. I forced a re-boot, but now the svchost.exe to netsvcs process uses a l

  • OfficeJet 6500 and mountain lion

    I installed mountain lion and now my officejet 6500 will not print, or it prints, but after an hour or two after the print job is sent. I deleted the driver and reassembled using the apple software update, the problem persists. Any ideas out there?

  • Help! Can not update Windows 7.

    I examined the various knowledge base articles and downloaded the troubleshooting and updating tool.  I also tried to download the update to download windows script and the following things happened: -Hang facilities -run the update script gets "acce

  • Q for PIX-525 spec (failover FE) and the GBIC

    Qestion for PIX-525 spec. 1 PIX-525-UR-GE-BUN(2GE + 2FE). I want to use 2GE as inside and outside interface and failover FE. I found a doc who must use the GE model 535 failover. Is it supports statefull failover FE model 525? 2 PIX-1GE-66 map PIX 52