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

Tags: NI Software

Similar Questions

  • How to synchronize bookmarks in safari through devices

    How to synchronize bookmarks in safari across devices?

    Use iCloud

    http://www.Apple.com/icloud/

    at the bottom of this ref, see installation for each device links

  • How to add a PXI on DAQmx device to simulate

    Hello

    I am trying to create a simulated map PXI-8461 DAQmx device. But it is not in the list of devices that I can create. How can I add this devie point to the list?

    Thank you very much

    Ray

    CAN devices do not use DAQmx.  Therefore, you can create a simulated DAQmx version.

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

  • How to synchronize my browser to my devices...

    My two Tablet and phone are set up with the android sync. My computer was wiped out, so I try to sync my browser for devices, but it requires a recovery key. I can't find this anywhere key on devices, and my browser settings clearly know that that's what I'm trying to connect to. Is this possible? Or do I have to generate a new key? I will not lose rather all my settings / etc.

    Hello, if your devices are always connected to the the sync account, please try to pair the computer like this:

    1. on your android phone, go to the application of the system settings and in Accounts & sync (could be worded slightly different on different android devices), go to firefox sync & tap pair a device.
    2. on your computer, go to firefox > options > synchronization > configure firefox sync > I have an account that will show you a 3 x 4 character code that you will need to enter your android device to complete the process.
  • 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

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

  • How to check if DAQmx device is connected?

    Hello

    I want to measure 2 channels of Daqmx USB-6211 permanently.

    If I want to write USB-6211, I do anywhere in the variable global project "Authorization of the usb-6211" false and do not measure anything, just write (value of the magnetic field, for example).

    Question: I want to know if the device is connected. If this isn't the case - no action, not writing. How to easily check if the device is connected?

    Previously I did as in the example more has not clearly task if the device is disconnected.

    In several Labview boots, this resulted in:

    (a) the error prior to the start of Labview: "the last time that you have run LabVIEW, in-house WARNING 0x30EA5E5C occurred in fpinval.cpp".

    (b) total each use of DAQmx gel create a task

    Whenever I have to reinstall OR-DAQmx to do its functions work.

    Help, please.

    Thank you, Gregory.

    Hi dimitriev,.

    You can check the DAQmx devices available using property DAQmx nodes. When you use two USB6211 you can even check their serial numbers:

  • How to get USB-6009 DAQmx device instead of a USB device

    I undertook a LabVIEW app from a Windows XP laptop work a windows7 (32 bit) laptop. When I connected the USB cable from the laptop to my Flow Bench machine, that contains an NI USB-6009, he appeared in MAX under USB devices and not, as he always did before, under NOR-DAQmx devices. If the USB-6009 case is not recognized in my application.  When I tested the example Acq & chart voltage-Int Clk - SW Trig Restarts.vi, when I try to navigate to this device in this example, the search box is empty - no DAQmx device not found!

    How can I get this device 'live' under NOR-familiar DAQmx devices instead of strange USB peripheral area? What is going on?

    Thank you!

    Finally, you looked in the right place. As indicated in the page file or the file read me download, this version is not supported on windows 7. Download a newer version. Click on the 'Support' link at the top of the page.

  • How to synchronize a DSA Board (4496) with several S-series (6143) tips for PXI?

    I need to set up a data system that will require the measure to phase for accelerometers-locking and dynamic deformation signals.  How to synchronize my PXI-4496 Council with my PXI - 6143 s?

    I forgot that some DSA properties does not directly on the devices of the series S I have been able to find an article in the knowledge base that has addressed your specific issue.

    Synchronization Dynamic Signal Acquisition (DSA) with NOR-DAQmx products, this includes an example program synchronization a DSA device and MIO device to sample at the same pace.

  • How to synchronize clocks on USB-6009 and USB-6343

    Hello

    Can anyone provide an example on how to synchronize clocks on USB-6009 and USB 6343?

    I checked the example screws, but it shows that we must use 2 counters, one as the clock of the source and the other as a trigger. But only 1 CLK 6009.

    I read the user manual and it is mentioned to use (AI/start-trigger) in order to use PFI0 as source.i am somehow confused about how to achieve this.

    Furthermore, what would be the physical connections?

    Thank you

    LV_Enthu

    Unfortunately, you won't be able to completely synchronize your devices USB-6009 and USB-6343.  As you have seen, the 6009 has only a meter on board.

    You can certainly use PFI0 as an input to start your tasks at the same time digital release.  However, the 6009 is a strictly timed by the software.  There is no way to import an external sample clock.

  • How to synchronize groups of tabs between computers?

    Hello, maybe someone can finally find a solution to my problem...

    I already use FIrefox Sync option, and I love how it works. I like how it saves my bookmarks, passwords, history, etc., and it is easily accessible from my laptop.

    There is one problem that I have, that is how to synchronize groups of tabs between computers? I already know I can click "Tabs from other devices", but it will be either open them individually or you can select more than one, but in any case I see my tabs in groups. I have so many tabs and I have six groups.

    I tried to use other applications like Manager Session, tab Cloud, Session box, and they all do the same thing. They are great to save your tabs, but none of them save in groups. When I try to open all the links will open in a group.

    Does anyone know how to perfectly synchronize groups of tabs between computers? Thanks in advance.

    Hi vegsire, creating folders in bookmarks tab also is a good approach because it is much less fragile than tab groups in the session history data.

  • I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. How to synchronize or import/export files(images/music)?  Fact is need to update itunes? Also you can sync ipod touch?

    I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. How to synchronize or import/export files(images/music)?  Fact is need to update itunes? Also you can sync ipod touch?

    iOS9 on a mobile device requires iTunes 12.3 or higher, which in turn requires a computer running OSX 10.8.5 or higher.  Update of the system only checks the updates for the current version of the system you run, but that itself can be updated.  It may or may not be possible to upgrade your computer to the system requirements. Find your computer on the web site of http://www.everymac.com model and near the bottom of the specification of the system section, he will tell what versions of the operating system, it is able to run. If you can not run a newer system, you will not be able to sync this phone to your current computer. If she can run 10.8.5 or higher, you can either buy a download for Apple OSX 10.8 Mountain Lion code online, or you can try to install the free El Capitan OSX 10.11.  El Capitan can run slower on older machines and require the additional purchase of RAM.  Making a big jump in versions of system is also more likely to affect the old software.

    At el capitan Snow Leopard, it will make my macbook is slow?  - https://discussions.apple.com/thread/7412959

    Mountain Lion 10.8 purchase link United States of America - http://www.apple.com/shop/product/D6377Z/A/os-x-mountain-lion

    Mountain Lion 10.8 purchase link U.K. - http://www.apple.com/uk/shop/product/D6377ZM/A/os-x-mountain-lion

    Course OSX Upgrade General information, including configuration required - http://www.apple.com/osx/how-to-upgrade/

    If you have any generation of PPC software which works under OSX 10.6 it is not supported in later versions of the system.

  • How to start the assessment without a device

    Hello

    I downloaded the evaluation version.

    How to start the assessment without a device?

    Thank you

    DV63

    Hi DV63,

    Welcome to the Forums EITHER!

    If you downloaded an evaluation version of LabVIEW your 30 day trial must begin immediately after being invited to enter a serial number. You can choose not to enter a serial number and this will begin your trial period. I recommend that you install OR-DAQmx device drivers; It is a software that allows you to communicate with the hardware from National Instruments DAQ. However, this facility will be particularly useful because it allows you to simulate an Instrument with the measurement and Automation Explorer (MAX); This means that you can immediately start the signals in LabVIEW.

  • How can I disable WPDBusEnum aka Portable Device Enumerator Service? __ __

    I were quick around more than a week with a synchronization with a SanDisk "memory sticks WMP problem".  I came on what could be a possible solution, IE cut the WPDBusEnum aka Portable Device Enumerator Service.
    Anyone know how to disable?
    TYVM!

    Bindu S,.
    Since I never want to synchronize anything, I never tried to synchronize the WMP with SanDisk.
    However it is 'uncontrolled mode' WMP sync once to the Sandisk.
    The problem I had was trying to No SYNCHRONIZATION.
    Apparently turning off device enumerator Service Portable solved my problem!

    I don't see none of 'Symptoms' I was trying to prevent.

    See also: http://forums.sandisk.com/sansa/board/message?board.id=sansafuse&thread.id=16966
    Previous post: the result.
    This thread is from about synchronization, my problem is NOT synchronized.

    TYVM!
    Ed mallett

Maybe you are looking for