synchronize two cDAQ Chassis with DAQmx 9188

I try to sync analog entry tasks on two 9188 Chassis utilzing the build in the BNC (PFI 0 and 1) ports.  I also have digital entry spots on the chassis of the master, I want to synchronize. Have been referencing http://www.ni.com/tutorial/5376/en/ and examples, I am not sure I have it set up correctly.

From the link above, I exported the SampleCLK to PFI0 and StartTrig to PFI1 on the chassis of the master.  I have two BNC cables routed between ports on the two chassis.  I put the trigger DAQmx start on the slave to the PFI1 source (this does not seem to do both tasks at the same time), I tried to adjust the pitch of the DAQmx (sample clock) of source PFI0, but it creates an error (requested sample clock source is not valid).

I can get the application of test runs by seting the slave clock "OnboardClock" sample source  When I use this setting, the task two seem to start at the same time, but I don't think the slave chassis uses the master module sample clock and therefore might drift over time?

I would like to know how to properly synchronize the two analog tasks.  I also want to synchronize digital tasks on the main frame with the analog task.

Hello

If you want to synchronize the two tasks, you share examples of clock and triggers via PFI lines. The only exception is that it is not currently possible to synchronize tasks between the chassis that use AI modules with delta-sigma a/d converters.

Best regards

Villanueva of the DSL.

Tags: NI Software

Similar Questions

  • 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

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

  • Simultaneous release of digital waveform at different frequencies - cDAQ-9174 with two 9477 maps error-50103

    Hello

    I'm working on a project that requires two outputs digital signals at different frequencies. Frequency of the phase 1 is about 1 kHz and is modulated on and off to a pace that will change during the execution of the program. Wave 2 passes from 1 kHz to about 6 kHz while needing to be pretty accurate to the tenth of a Hertz.

    Initially, I tried to manage the simultaneous output of signals at different frequencies using a single task on a single 9477 daqmx in a cdaq-9174 chassis. As far as I know, the best way to get a specific frequency in a waveform output is to set the sampling frequency up to 2 times the frequency of the wave that is generated and generate a waveform that is given to each clock cycle. This works very well when it comes to a gesture, but I was unable to get the frequency of the modulated wave (wave 1) remains constant when the frequency of wave 2 modified or vice versa.

    I have a few other modules lying around (another 9477, 9403 and 9476) and I thought I would try another task running on a separate module. I find myself receive error-50103 message if I add these modules to my cdaq chassis and run one of the waveforms of a task set to run on the add-on. Is there a way to bypass this error? I guess it would cause by running two digital output on the cdaq-9174 tasks at the same time, but it seems to me that this wouldn't be a problem with an additional module.

    How can I have two outputs digital signals, running at the same time, maintaining their independent frequency frequency of the clock of the other sampling rate changes. In addition, because the wave 1 is enabled and disabled at a defined frequency, I use it to set the number of samples to write when you write a range of waveforms in the module (when generating these two waveforms on the same module).

    I'm sorry if the explanation was difficult to understand. I've attached an example of error 50103 lifting. This isn't really a part of my project as a whole, but it is the easiest way to reproduce the error.

    Thank you

    Hi awol.

    I have a follow up for you. You encounter the error because the cDAQ chassis has only a timing engine of. You will not be able to perform simultaneous tasks of the call by the hardware. Please see the following knowledge base: http://digital.ni.com/public.nsf/allkb/5E0B829E50ADE1BC86257AC50062B2D2

    Mike

  • Problems with NI-VISA 5.0.3 detect a 9474 cDAQ chassis and modules via USB

    Hello friends.

    I'm running Windows 7 x 64, I installed MAX 4.7.4, NI-VISA 5.0.3 and the other software that comes with them.

    I have a 9174 cDAQ chassis and 3 modules.

    My problem: when I connect the hardware to my PC via the USB port, it presents itself to the MAX, but NI-VISA does not detect sub "USB" (or elsewhere).

    Purpose: What I'm trying to do is communicate with the NI 9223 module, using VISA through MATLAB commands.  The MATLAB data acquisition Toolbox supports not the NI 9223, so I would try to acquire help from VISA.  However, I don't find the VISA of the device address.

    I would like to know your opinion on why modules are not displayed in NI-VISA and if my ultimate quest is valid without doing something nasty like writing C++.  I have not found a good source for VISA OR orders either, but I'm sure it exists.

    Thank you!

    Wes

    Hey eccentricorbit,

    Unfortunately, you can't talk about a module using VISA or cDAQ chassis. Your options are DAQmx and low level of coding (something nasty like C++). If you do not get DAQmx, you can find excellent examples by accessing:

    "" "Start menu" National Instruments "NOR-DAQ ' text Code support ' ANSI C examples

    I hope this helps!

    ~ kgarrett

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

  • two drivers of PXI chassis with Configuration problem

    Hello

    I have two PXI chassis. One is PXI 1033 and works perfectly with the NI PXI-5404, 5105, 6509, 1409, installed 8336. The other is 1036 PXI with the PXI-5404 NI, 8366 installed. When I was trying wreath connect, as master 1033, 1036 as slave, I found several problems.

    1. in the Measurement & Automation Explorer, does not have my good guys in 1033. Instead, there is a sign of the Red Cross in bottom right with 6509, 5105, 5404.

    2. I can't find an another 5404 of the 1036. In fact, I can't find 1036 in MAX.

    Update BIOS. My PXI system is already identified under the name 'NOR PXI - 1033 Embedded MXI Express' and Chassis1 is identified as 'NOR PXI 1033'.

    So I made several tests as below:

    1. unscrew the 5404 1036 slave. MAX can configure 2 1036 chassis. Ok. But when I reconnect 5404 in 1036, same result happened as stated above.

    2 uninstall the driver of 5404, so the 5404 in 1033 does not either now. And then reboot again, same result happens again. Cannot detect the 1033 chassis. Other vouchers in 1036 don't work either.

    Please, any suggestion is highly appreciated.

    Sincerely,

    Bin

    Hi Ben,

    This happens sometimes with MXI-Express:

    Error code 12 with MXI-Express

    http://forums.NI.com/T5/PXI/two-PXI-chassis-connection-with-configuration-problem/m-p/1475876#M9033

    In general, you can read this error 12 means on Device Manager:

    Explanation of error codes generated by Device Manager in Windows XP Professional

    http://support.Microsoft.com/kb/310123

    If it was a problem of bandwidth, PCI or PXI side, you could pull a few cards to see if that alleviates the problem, or that the link from Microsoft over the States, you can disable the driver for other cards.

  • Physical connections using 4 counters with NI 9411 cDAQ chassis 9178

    Hello

    Currently I have a NI 9411 module in a 9178 cDAQ chassis.  I use 2 meter to read the frequency measures.

    The NI 9411 pinout diagram (see pdf file attached to this post), here are the links that I did:

    CTR 0 SRC, pin 1 ground COM

    DOOR of the CTR 0, pin 2 to the first signal of frequency

    CTR 1 CBC, PIN 6 COM/ground

    CTR 1 DOOR, pin 01:53 frequency signal

    The problem now is that I had like to use meters of 3rd and 4th in my 9178 cDAQ chassis, but I am confused how to wire

    frequency signals in 3rd and 4th, because CTR2 GATE is pin 1 and GATE CTR3 is pin 6.  Can I change the assignment of pins

    to use the other pins in the NI 9411 module for frequency counter measures?  I didn't understand how to do this in MAX

    Configuration.

    Thank you

    Anna

    Hi EETDer,

    Using 'C-Series Signal connections for counters that you found is a good resource.  One thing I want to point out, that's a measure of the frequency on a single meter, simply connect the source of the signal up to the door of the RTC.  Internally, the module will forward a database internal time appropriate to the source of counters, so DO NOT want to connect the Source CTR to the mass.  On your device, you will be just wire each signal to the source of the meter, so only utilizting pines 1,6,3,8 for your 4 frequency measurements.

  • 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

  • By cDAQ chassis module names?

    Hi all

    is there a way to get the module name based cDAQ chassis?

    I'm just checking if two (or more) identical chassis with different modules are connected to my PC.

    Example:

    Module 1: cDAQ-9174 with Modules 'A', 'B', 'C', emptySlot, in the right order

    Module 2: cDAQ-9174 with Modules 'd', 'E', 'emptySlot', 'emptySlot '.

    Problem:
    The property 'ActiveDev' node, then recovering the ProductType output array of [cDAQ-9174, cDAQ-9174, A, B, C, D, E,.. .and system peripherals]

    I do not see the modules are plugged into the chassis.

    Any help is appreciated!

    Thanks in advance

    Achim

    Hello Achim,

    Please see the attachment or the screenshot for the requested features.

    The example is a modified version of this example:

    Community: Get the cDAQ Types of Module in LabVIEW - National Instruments
    https://decibel.NI.com/content/docs/doc-15978

    If you wanted to say something different, just write me again.

    Best regards

    Christoph

  • Synchronize two 9469 connected two PC

    We have a system with cDAQ-9178 chassis filled with the module OR-9469. This system is contrlled by a PC. We strive to synchronize this device to another device with a similar setup (IE cDAQ-9178 with NOR-9469 second PC) as a master and a slave. This configuration is valid? If this is not the case, can you please suggest alternatives? Thanks in advance.

    Hey Lakshmi,

    Thank you for the clarification on your installation. I want to apologize again; in my last post, I mentioned that you will probably need additional hardware, but you shouldn't have anything else than the 9469 for this configuration work. What I think is that this information would be better discussed on the phone. That being the case, a representative should be to get in touch with you soon to discuss your options more in detail.

    Again, I am sorry for all of the confusion, but I think that this discussion on the phone will help to clarify any questions you may have.

    Have a great day!

  • How can USB-6210 I synchronize two channels of ctr

    Hello

    I use LV 8.5.1 and NI USB-6210. A small application I want to generate two different impulses with synchronization but simple starting point. When I configure a task with two channels the second channel configured always starts a ms later. But, if I configure both channels in terms of frequency, they start synchronously.

    My idea is bad in general? The DAQmx part is fixed.

    Thanks in advance

    Hi there, too.

    the release of the finite pulse trains, to two meters for each task. Therefore, your application will be the first impulse using two output counters and then to exit the second impulse using the two counters.

    Like the USB-6210 don't not have outputs DIO correlated, you'll generate two infinite pulse trains (which can be started at the same time throug a trigger of arms) that you explicitly stop before the start of the second pulse (using the DAQmx abort task from a parallel loop), or upgrade your hardware at least a USB-622 x card series and a digital output model... Alternatively, you can use the PCI-6602 counter card and use a counter to Gate two others doing an infinite impulse train uses a relaxing break...

    Synchronization of two meter in NOR-DAQmx tasks
    http://digital.NI.com/public.nsf/allkb/BB7AE2D12BB04CBE862574FA005D3826?OpenDocument

    Using a counter to generate a redeclenchables Train digital pulses with a PCI-6602 and DAQmx
    http://digital.NI.com/public.nsf/allkb/4A9AF19480E50C6D862571B70058142A?OpenDocument

    Several counters on the same card with a single trigger pulse
    http://digital.NI.com/public.nsf/WebSearch/CE99A0B2A9048A2A86256C630062F550?OpenDocument

    Best regards
    Sebastian

  • Multitask with daqmx

    Hello

    I am currently working on a Senior design project where I have to measure rpm, torque, pressure and temperature.  I use strain gauges, pressure sensor and a Hall effect sensor, thermocouples for these readings.  A myDAQ collects readings rpm and pressure while a cDAQ collects couple and readings of the temperature with NI 9211 and NI 9237 modules.  I have created LabVIEW screws for each sensor and they work.  The problem I have is when I try to create a VI with DAQmx who reads all the values of these sensors simultaneously.  The VI I joined randomly displays one of the measures while other measures remain empty.  How can I change my VI so I can show all my readings at the same time?

    Yes.  Create multiple tasks, where all the strings that are common to a specific device are grouped in the same task.  Then go and run these tasks in parallel.  Do you need a precise synchronization between the tracks in the different devices?  If this isn't the case, then the method should work perfectly.  If you need a precise timing, things would get more complicated, but might not be impossible.

  • Synchronization of 2 iPads with an Apple ID

    I have 2 iPads, Apple ID, and an iTunes on my computer. Can I synchronize two iPads keeping content and applications separate or will be twins with everything what the same on two iPads?

    You can keep completely separate

    I synchronize two iPads and a key for the same Apple ID with no crossover

    I suggest that you give each iPad a different name to help keep their separate. Then in settings, under iTunes and app store there are choices you can make to enable automatic downloads on or off. If it is enabled, what you buy one will automatically download to the other, with it turned off, it doesn't.

  • Synchronization of VST: Ok with RFSG, problem with DAMA

    Hi all

    We strive to synchronize 2 VSTs (5644) with DAMA OR and NI RFSG.

    So far, we have been able to sync the RF Transmission of the VST 2 with RFSG, down a less than 100ps difference. It's excellent!

    But we have not been able to renew this success with DAMA: we have time differences in the order of between 2 VST 100us.

    We believe that we follow all the indications of the documentation of DAMA, as shown here:
    http://zone.NI.com/reference/en-XX/help/372058N-01/vstdevices/5644_rfsa_gsynchronizing_clock_signals...
    We ensure same buffers are empty at the beginning of the acquisition by manually empty the VST buffer before calling RFSAInitiate.

    NOTES:

    Our application is coded in C++ only.

    We do not and cannot share the LOs between 2 VSTs, as we Rx/Tx at different frequencies.

    Does anyone have an idea of what we could try?
    We attached the sign of e/s OR our acquisition. Please, let us know if you see something wrong.

    We use DAMA 14.5
    SMU-8135 controller, Win7 x 64
    SMU-1075 chassis.
    SMU-5644R in the location #2 and #6

    Best regards
    Serge

    Hi all

    Finally, support (Kevin Sooch) helped us to solve the problem:

Maybe you are looking for

  • How to delete all calendar events?

    Ignoring the gory details, I have a need, on a daily basis, to remove all of the events on my calendar from Apple, so I can import a new series of events. I am currently using Google Calendar because it's a simple process it. I raise my calendar in m

  • Qosmio G40 - infrared chipset not detected by Windows 7

    I upgraded to Windows 7 from Vista and found that my infrared chipset (SMSC SIO1049 SuperIO chip) does not appear in Device Manager.According to this page, it should appear as an unknown driver (ACPI\SMCB0C0)http://msdn.Microsoft.com/en-us/library/dd

  • HP Pavilion laptop TS 15: HP Pavilion 15 laptop wireless TS does not work after update of Windows 10

    After the Windows Update the wireless doesn't work anymore.  No link found.  Wireless button remains orange.  I updated the drivers and uninstalled and reinstalled the drivers.  Nothing works.  I've seen a lot of relays since yesterday and tried them

  • Lenovo z580 charger

    Hey guys just want to know the model ideapad z580 number... Is ADP 65 kh Please answer...

  • Hide icon Label step using the API Testand and LabVIEW

    Hello can someone tell me how it is possible to hide the icon of a step label using the API Testand and LabVIEW? In the Teststand sequence editor, under the Label Edit tab there is a checkbox called "Hide icon". Is there something similar in the API?