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!

Tags: NI Hardware

Similar Questions

  • Problem with traditional DAQ passage to DAQmx using NOR-6534

    I'm moving the traditional following of DAQ code to DAQmx:

    This code is used to send data to program a FPGA using a PCI OR-6534 DIO.  This code works like a charm, but when I try to write the equivalent code using DAQmx (in LV 8.6 as well) it does not work.  I don't get any errors, but the FPGA do not program.

    The General procedure is as follows:

    The value of all the lines on the Port exit 0

    Set up the mode of transfer to low Active

    Write the data in the buffer

    Send the data using the internal clock of 10 MHz of the 6534 (6533 is no longer used, but the code was never updated)

    Wait until the output is made

    Disable the task

    In DAQmx I configured as such:

    Any ideas on what has changed in DAQmx or what I am doing wrong?

    Looking at your code traditional DAQ once more, he is actually setting up handshaking vs just a straight sample clock.  The Config VI Mode with the "clock polarity" setting is not a sample generated at a certain rate clock, but instead, it's a protocol handshaking attack or the trailing edge.  TDAQ had much more flexibility with what DAQmx and some handshaking protocols are not transferable to DAQmx completely.

    So when you say the configuration of your device in TDAQ bass Active transfer mode, I don't see what is happening in the code TDAQ.  It's really a negotiation protocol of unknown polarity (given that you use a control and I don't see the default value in the public Service).

    You can try to determine which protocol handshake TDAQ you use first, then determine if there is an equivalent for DAQmx.  The three modes that cannot be transferred are level ACK, tip, or long pulse modes.  These have ACK leading REQ, which is not possible for DAQmx to manage.  You can read more in the user guide for the 6534 and starting on page 3 and 4 are the comparison of the different modes of handshake.

    Then move forward options are do not migrate or to download a beta driver TDAQ, if you perform the migration for the purposes of the compatibility of the OS.

    Hope this helps, let me know what other spawn of this.  Thank you.

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

  • MAX with replication DAQ cards

    Hello

    Hope someone could shed some light on this

    Its a long time since I've used Labview & MAX and am a little rusty right now.

    I'm trying to upgrade an old data acquisition system to a newer version.

    This is because originally one full working backup system was necessary, but because the old DAQ cards are obsolete,

    a simple update was necessary.

    Old system:

    LabVIEW 7.1

    MAX 3.1.1

    Data acquisition card: PCI-6023E

    New system:

    LabVIEW 7.1

    MAX 5.0

    Data acquisition card: PCI-6220

    There is no change in the Labview application.

    In the new 5.0 MAX.

    I'm trying migrate/replicate all virtual channels & settings of the old system.

    I managed to set up a new configuration using file for the acquisition of data from the old system.

    This resulted in the creation of chains of virtual of NOR-DAQ traditional under the District of data, which is what I wanted.

    But the problem is, all the channels received a red cross.

    Clicking on properties of the individual chain shows that no device is selected in the hardware section. There is none to choose from.

    Under devices & Interfaces,.

    The new card is correctly installed and running.

    Appears as > NI PCI-6220 'Dev 1.

    How can I make this device available in virtue Traditional NOR-DAQ virtual channels in the data area?

    Is it because the new MAX/data acquisition card requires the method task NOR-DAQmx to create virtual ways?

    I want to migrate channels instead of recreating that there are a fair few and each with their own settings.

    In the old system.

    Under devices & Interfaces,.

    That's what it shows:

    -Devices of NOR-DAQ traditional
    PCI-6023E (1 device)

    -OR-DAQmx devices
    -PCI-6023E: "Dev 1.

    The device is recognized under the District of data - Trad VC through NOR-DAQmx devices.

    I can attach a screenshot for systems if it would help at all.

    Thanks in advance!

    -Ram of Aust

    Bad news...   Your most recent 6220 is a M-series it is * not * supported by NOR-traditional DAQ.  This is why it does not appear as an option under the traditional OR-DAQ driver.  To use the most recent data acq card, you * must * swtich above DAQmx.

    Your old 6023E Board should be accompanied by one or the other pilot (but never both at the same time), so it may be be jointly installed a print while you set on the (tedious) company to recreate channels for your new Board in DAQmx.

    -Kevin P

  • NOR-traditional DAQ will work with a USB-6008?

    Hi guys,.

    I have ordered a USB-6008 and I would use it with the NOR-DAQ traditional 7.4.4 instead of MX. Is this supported?

    Thank you

    Jim

    LV 8.6

    LV 8.01

    LV 7.1

    TS 4.1

    Jim,

    No, traditional DAQ isn't USB compatible, 6008.

    You can use DAQmx base instead, but I wouldn't recommend it.

    hope this helps,

    Norbert

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

  • Networking bridged with two physical cards

    My configuration:

    I have a laptop with a cable LAN and wireless LAN.

    I installed Windows 7 Home Premium on the host with VMware Server 2.0.2.

    I installed a Proxy and WSUS as Virtual Machines each with 2 two virtual cards.  An adapter is host doesn't work like a virtual network.  The second is jumpered for each adapter.

    The problem is I want fills the Proxy to connect to the WiFi adapter and the bridge for the WSUS adapter to connect the cable only local network.

    The setting for the automatic bypass in the virtual network Editor is grey and when I try to exclude the cards for automatic bypass selection there is no choice.

    When I add or modify any changes in the virtual network Editor, the OK button is grayed out and I can't save the changes.

    How can I configure my virtual environment to have two virtual machines connect two separate physical adapters to fill?

    You MUST run the virtual network editor * administrator *.

  • Why do my pci-6052e configured as traditional daq and daqmx in MAX?

    I have an old computer of three year with 1 GB of RAM and a 3.00 GHz running Windows Server 2003.  It has already been used for experiments of movement control and has a 7333 motion control card and a PCI-6052E.  Now all I want to do is sample data of a pressure sensor and a flow meter using the PCI-6052E, but for some reason, this card is configured in MAX as a DAQmx device and a traditional DAQ (Leagcy) deivce.  Unfortunately, when I write the LabVIEW 8.2 VI, the only available data acquisition tools are DAQmx and Max my two instruments are installed in traditional DAQ.

    If there is only one card PCI-6052E in the computer, why MAX card PCI-6052E called dev3 DAQmx and a card PCI-6052E dev1 in traditional DAQ?  How can I fix?

    Cpesko,

    I am happy here, you have a few things working under Windows Server 2003.  We do not however have any software under this OS except what is listed here.

    DAQmx and TDAQ are 2 different drivers and this is the behavior expected that devices that support both would be present in the title of each driver.

  • How to install traditional DAQ parallel and DAQ mx in Windows 7

    Solved with NOR-DAQ traditional (old) 7.5 for Windows 2000/XP/Vista/7 - BETA and DAQmx Version 9.2.2

    Add traditional Support for a system with mx drivers installed.

    You need two files of unzipped installation package.

    Traditional installation driver 7.5 Beta, maybe you should do this by selecting the Compatibility Mode for an Installation of Vista.
    Go to your installation directory NIDAQmx--> products NOR - DAQ_INF_files--> infInstaller.msi.
    Right-click the--> Uninstall.
    Go to your repertoire of the installer of the 7.5--> products Beta NOR - DAQ_INF_files--> infInstaller.msi
    Double-click--> installation and proceed with click Next, Next, finish.

    Check in the Windows Device Manager, if the driver Date is now 19/09/2007
    and the Version of the driver 1.0.0.16384 or similar 1.0.xxx.

    Reboot your system.

    MAX check if your device is displayed in MX-tree and traditional.

    It worked for me for a NI DAQ PCI 6025 e card.

    I used WES 7 Standard SP1 32 bit / x 86. I have confirmation that it should work on any Windows 7 32-bit as well.

    Thank you very much!

  • synchronize two loops for written tdms data acquisitions

    Hello

    I have two loops of different data acquisition. A slow acquisition of CAN (10 s/s) and an analog acquisition faster (30 samples taken at a frequency of 300 Hz), I need to synchronize these data for tdms writes for later analysis in DIAdem.

    My example and the result in the DIAdem channel list is attached.

    Thanks in advance!

    Magnus

    Magnus,

    for a professional solution, you do not want to synchronize the devices on a hardware level. Since the material CAN work differently to 'traditional' DAQ devices, there are important things to take care of.

    Please look in the viewfinder to LV example for the word "CAN". For example, you can choose the example 'several cards CAN and DAQmx map Wfm Input'.

    Norbert

  • Labview2009 and NOR-traditional DAQ

    Hello friends NOR!

    I am running LV2009 on a machine with win7 32 bit with a DAQ PCI-MIO-16-1 card.  We have a program for the calibration of pressure transducers, but he wrote with the NOR-DAQ traditional.  I plan on writing a new program to make the calibrations, but until then, I would use the old.

    I see that some DAQ hardware can support two pilots, including the device that I mentioned above (http://download.ni.com/support/softlib//multifunction_daq/nidaqmx/7.4/readme.html). I also found the location to download the traditional NOR-DAQ driver for 32 bit Win7 (http://digital.ni.com/public.nsf/allkb/8EC9E81C3DE4E619862573930083BD7A). Based on the information I have at the moment, it seems that it will work.

    However, I remember seeing something that says that if I install a different driver, the current will be replaced (I can't find the original source).  I also met this warning: "NOR recommend not to install NOR-DAQmx on the same machine that the driver beta OR-DAQ traditional (old). (http://digital.ni.com/public.nsf/allkb/8EC9E81C3DE4E619862573930083BD7A)

    I'm not interested in screwing up this machine because I'm not the only person who uses it.  I don't have enough experience NOR the appeal without checking first with those who do it here on the forum.

    Thanks for the help.

    Darren

    You have a deployment problem.

    my strong recommendation would be not to change the drivers on the computer that works and develop your code of replacement to new hardware.

    Yes, you might get away with developing a new solution on a working machine but it's almost garunteed to cause some conflict somewhere with a driver.  Unless you know what everyone does with a system that works AND you really understand NOR drivers and what changes exactly where and in what version you ask some "educational" by developing a functional system necessary.

  • 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

  • sync the camera with outputs daq

    Hello

    I am a newbie of LV, your patience is appreciated

    I work with a gigabit Prosilica GE 680 camera connected to my computer via Intel PRO 1000 G/T and I also work with a M NI USB 6212 BNC series. Connected to the nor-daq is a source of light on each of the AnalogOut0 and AnalogOut1, as well as 3 analog: read analog two of the three outputs, the other entrance is a signal of the camera by saying that it is imaging or not.

    I was debugging the code from someone who is no longer around to help. The code basically allows the user to synchronize two things: 1) capture and recording of a number of specified length avi, which in my hands, is typically movies of 2 sec to 200 images per second AND 2) to turn off the two sources of light at times during the movie and specified. The problem is in the precise timing of the light sources with the camera exposure period.

    From now the lights turn on and off in my movies, which is good. The problem is that the camera lights late compared to the signal of departure as evidenced by the output signal "imaging" sent by the camera in one of the analog inputs. The result is that the lights seem to lights at the beginning of the avi saved since the movie begins later that it is specified. It's not ideal.

    What changes should I make to the labview code to make sure that the camera is precisely synchronized with the analog?

    Thanks and let me know what information you need from me.

    -Alex

    Hello again,

    I solved the problem. It was a hardware problem. Using SyncOut2 instead of SyncOut1 on my camera Prosilica 680 GE gave me the schedule that I specify. No major code changes was necessary, other than changes to support the change of equipment.

    The question remains as to why works SyncOut2 and SyncOut1 does not. After consulting the technical manual for the camera, I realized that the use of SyncOut1 requires that I use the ground isolated on 12 IO pins my camera. Although I am a novice to the electronics, it seems to me that this would require a line that goes from the isolated ground my mass of the external circuit DAQ. I didn't get it, even if I did when I tried SyncOut2. This missing connection can have an impact on power SyncOut1 send a trigger to the acquisition of data.

    I understood what the analog input wavegraphs look like now that the timing is good.

    Despite the outstanding issues I will mark this as resolved issue.

  • Qosmio F50 - PCMCIA card with 2 USB ports

    Hello

    I want to buy a PCMCIA 2 ports usb to my laptop (toshiba qosmio f50) card and I would like to ask if these two are compatible with my entry expresscard card.

    http://www.DeLOCK.de/Produkte/Gruppen/PCMCIA/Delock_PCMCIA_Adapter_CardBus_zu_2x_USB_20_61604.h tml? setLanguage = EN

    http://www.equip-info.NET/equipenglish/index.php?page=search&&series=&Kat=&ID=803&search= pcmcia

    Thank you

    Hey,.

    I think that the two cards are compatible because they take over slot ExpressCard so I think both cards will work.

    Alternative if you need more USB ports, you can buy a normal USB hub. I think that these USB hubs are cheaper and also provide two or more USB ports you can more connected devices.

Maybe you are looking for

  • Firefox Auto-Go URL?

    In firefox 3 (I just upgraded to 8..) I used to be able to type something like this, in the address bar: "youtube pink floyd welcome to the machine" and it would automatically go to the youtube page more common that fit this description. Another exam

  • What do you think about the Satellite C855 - 18 d

    Hello world I used a Satellite 2410-SP203 for the last 10 years or more.It has never failed, and now it works always, except for the hinges that cannot hold the screen more due to wear of the normal conditions of use. Of course, it only works under W

  • How to remove administrator privileges in one program?

    How to remove administrator privileges in one program?  I opened by mistake a program when he asked "do you want to run the program as administrator RHIs? I did rspond in the positive, and I can't load the program with the pixelations and enlargement

  • Junk folder is missing, and I'm unable to send emails to the addresses of the list without contact

    Summary of the issue Send/receive email problem Please provide your address affected:E-mail address is removed from the privacy *. Additional details I recently set up my X - Box Live ID girls and attached it to my profile as a child account.  For so

  • HP G60 cannot connect to the network.

    Recently, I restarted my old Hp G60 notebook using Recovery Manager (Windows Vista 32-bit). Everything worked fine until now.When I try to connect to any network it displays 'Connection lasts longer than usual' and I is never connected.My network car