Synchronize PCI- 5421 and PCI-6602

I am using a PCI 6602 to generate four pulse trains. I am also generating a signal with a PCI 5421 AWG. All signals are started at the same time by using a common start trigger. The problem I am having is that after they run for a while the 6602 and 5421 signal start drifting. I know in the past I had sync clocks in a PXI chassis but I am unsure how to syncronize the clocks using PCI card. I do have an RTSI cable linking the cards together so could someone please give me an example of how to sycronize these cards in Labview (8.2)

Hello Kiebach,
You seem to be connecting the signal correctly in your NI-DAQmx program. However, I do not see any NI-FGEN code where you import the signal to be used as an external clock. Have you added this code? I think you would benefit from examining the example program entitled "niFgen_DAQmx_Synchronization_Example.vi". This program shows how to synchronize an NI-DAQmx device and an SMC Arb device. You can find the example by opening the NI Example Finder utility; you can open this utility from LabVIEW by going to the Help menu and selecting Find Examples... Once you have opened the NI Example Finder, you can navigate to this example by selecting the Browse tab and going to Hardware Input and Output>>Modular Instruments>>NI-FGEN (Signal Generators)>>Synchronization. You will notice that this example uses the Export Signals VI rather than the Connect Terminals VI. To help understand the difference between these two, you may want to examine this document.
Matt Anderson
Hardware Services Marketing Manager
National Instruments

Similar Messages

  • Inquiring about the issue of using PCI-5922 and PCI-5412 simultaneously under Linux OS! Thank you!

    hi all,I am lily and I an AE from NI shanghai .Now I confronted a pullze from customer,and I really feel at a loss! Hope some one of you would come and land me a hand,thank you in advance!
    The problem is as follows:
    Customer use PCI-5922 and PCI -5412 under Linux OS, if they use either of the two cards seperately,there would be OK. but if the use both of the two cards simultaneously, the error will occured as attachment shows. "Error code:-50258 occured at niscope_DAQmx Create Channel (AI-Voltage-Base).vi:2  Possible reason(s):The specified software component failed to initialize."
    Can I know is there any solution vs this probelm?Thank you in advance!!
    Attachments:
    Screenshot-NI-DAQmx Test Panels.png ‏17 KB
    NI-NEW_error.txt ‏8 KB
    shortsyms.txt ‏973 KB

    This is the wrong board for this question, you should re-post here
    Regards
    Ray Farmer

  • How to reduce reading and recording data time/ Visual C++, PCI 6024E and PCI-MIO-16E?

    Right now I am working on a data communication programme. The time of reading digital signal and recording data is more than I expected, which is about 100 microsecond. I need to reduce the time. The software I am using is Visual C++ 6.0. I use two DAQ boards, which are PCI-6024E and PCI-MIO-16E. I have set the priority of Visual C++ to be realtime by task manager. The operating systme is Windows XP.
    I am wondering how to set the interrupt of reading or writing data to be the highest and stop any other kind of interrupt.
    Thanks in advance!

    The primary limitation you will encounter when trying to do high speed
    digital I/O using your E-Series hardware is that the digital lines are
    all software timed.  This means that for each and every digital
    read it is necessary for your software to issue a command to your
    hardware, read a single point, then receive the response from the
    board.  This prevents you from performing digital operations at
    very high speed.  In general, I would say that 100 microseconds is
    a very good response using software-timed digital I/O on a Windows
    computer.
    It is difficult to make a good recommendation without more detail about
    what you are trying to do.  You may need to consider switching to
    a Real-Time operating system, or upgrading your DAQ hardware to a board
    that will allow you to time your digital acquisitions on the board
    itself.  These devices, such as the m-Series DAQ or the PCI-653x
    series, would allow you to use hardware triggers for your digital
    acquisitions, change detection, and buffered data acquisitions to
    reduce the software overhead involved in a rapid acquisition.

  • Sharing an external sample clock between PCI-6722 and PCI-6602

        I need PCI-6602 work with PCI-6722。6602 shares 6722’s ao/SampleClock as external clock and triggered by 6722’s ao/StartTrigger。The master device is 6722, which refered as Dev1, and the slave device is 6602, which refered as Dev2. A RTSI line is used to connect the two devices correctly.
        I use C API to finish my program and my code is as follows:
    //config 6722 analog out task
    1、DAQmxCreateTask("NI6672", &hAOTask);
    2、DAQmxCreateAOVoltageChan(hAOTask, "Dev1/ao0", "", -10.0, 10.0, DAQmx_Val_Volts, "" );
    3、DAQmxCfgSampClkTiming(hAOTask, "", 1000.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000);
    4、DAQmxWriteAnalogF64(hAOTask, 1000, 0, 10.0, DAQmx_Val_GroupByChannel, data, NULL, NULL);
    //config 6602 counter task
    5、DAQmxCreateTask("NI6602", &hCounterTask);
    6、DAQmxCreateCICountEdgesChan(hCounterTask, "Dev2/ctr0", "", DAQmx_Val_Rising, 0, DAQmx_Val_CountUp);
    //use /Dev1/ao/SampleClock for external clock
    7、DAQmxCfgSampClkTiming(hCounterTask, "/Dev1/ao/SampleClock", 1000.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000);
    //use /Dev1/ao/StartTrigger
    8、DAQmxSetTrigAttribute (hCounterTask, DAQmx_ArmStartTrig_Type, DAQmx_Val_DigEdge);
    9、DAQmxSetTrigAttribute (hCounterTask, DAQmx_DigEdge_ArmStartTrig_Src, "/Dev1/ao/StartTrigger");
    10、DAQmxSetTrigAttribute (hCounterTask, DAQmx_DigEdge_ArmStartTrig_Edge, DAQmx_Val_Rising);
    //start counter task first
    11、DAQmxStartTask(hCounterTask);
    //start 6722 task
    12、DAQmxStartTask(hAOTask);
    I run it on the MAX virtual Device, and the Step 11always returned -89120。
    I try to slove this problem, so I change the Step 7, use /Dev2/PFI9 to instead of /Dev1/ao/SampleClock.
    7、DAQmxCfgSampClkTiming(hCounterTask, "/Dev2/PFI9", 1000.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000);
    The code runs well, but I don’t know which terminal is connected by /Dev2/PFI9. Does it connect to /Dev1/ao/SampleClock?
    I use another API DAQmxConnectTerms to ensure that, I add a Step before Step 11.
    DAQmxConnectTerms( "/Dev1/ao/SampleClock", "/Dev2/PFI9", DAQmx_Val_DoNotInvertPolarity );
    The program also run well. But I am still not sure that 6602 is sharing /Dev1/ao/SampleClock。If not, which terminal of Dev1 is connected by /Dev2/PFI9?
    Is my code right? If not, hwo to fix my code or supply some example for me? Thanks.

    Hello Shokey,
    From looking over your post, it looks like you want to program in C, using simulated instruments, a master/slave design with a PCI-6602 and PCI-6722. The PCI-6722 is the master device and the PCI-6602 is the slave device. In order to implement this with the real cards, you would need a RTSI cable between the 2 cards in order to pass the triggers and the sample clock. Unfortunately with simulated devices you can't implement this so parts of your code won't be able to work exactly like if you had the instrument.
    If you did have the instrument, you can implement this by performing the following steps:
    Master Device:
    1.) Export the ao/SampleClock and ao/StartTrigger to a RTSI Line. (See DAQmx C Reference help for DAQmxExportSignal to export these)
    Slave Device:
    1.) Set the Sample clock and the trigger to the RTSI.
    There is another forum that I think will help you out to implement this correctly. In this forum, the customer was trying to export a trigger through a RTSI and the problem he was experiencing was a broken RTSI cable. His code, he states, works. I hope this helps you with this and if you have any more questions, feel free to post.
    Jim St
    National Instruments
    RF Product Support Engineer

  • Work with PCI-6052E and PCI-6601 simultaneously

    Hi, I'm working with PCI-6052 for bufered data output and PCI-6601 for read two encoders at same time, when I work with single board I don't have problems but when I work both simultaneously I have a problem only I can out data or only I can read the encoders but not both at the same time. How I make this?

    Hi,
    You probably have one task in LabView running in series after the other. Both of these tasks require a loop. Your buffered data output needs to be written in continuous fashion in a loop (I believe) and your encoder measurements are being read constantly as well (should be in a loop). Try experimenting with these two suggestions.
    I would copy both programs into 1 VI and keep them running completely separate. LabView will be able to assign each a different thread so they should be able to run completely in parallel. Therefore you would have 2 parallel loops that are not connected at all.
    You can also create two completely different VIs and run them in parallel. There is no reason why the two different programs would interfere.
    Hope that he
    lps. Have a good day.
    Ron

  • Eeprom address and caldacs model/address for pci-6014 and pci-6733

    I have one pci-6014 and one pci-6733.
    I need to transfer the calibration constants from eeprom to caldacs.
    I search the adrress of the constants in the eeprom and the model and address of che caldacs.
    Tanks

    Hello,
    It seems to be a common mode voltage or ground loop problem.
    When you are sourcing an output signal from your DAQ board, the signal is already grounded, it means that it has already a reference. If you measure this output with a measurement device, which has also a ground, the both ground potential are not necessary equal. This difference is the common mode voltage and influences your measurement (offset).
    Please check the following links to have more detail about grounded signal.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/8D​907374C5E867F186256C640059F30C?opendocument
    http://digital.ni.com/worldwide/france.nsf/webtech​supp/0E6A8D5999CEE1AF8025683C0056A4B1?OpenDocument​&node=163080_f
    Best regards,
    Alexandre D
    National Instruments

  • What is the difference between PCI-x and PCI Express?

    I hear the new dual core Power Macs have PCI Express slots. How are these different than the PCI-X slots in my old Power Mac?
    jmf

    PCI Express is faster than PCI-X and not a bus architecture. Each slot has its own dedicated bandwidth to and from the system controller.
    PCI-X has a maximum clock speed of 133 MHz and a maximum throughput of just over 1 GBps.
    PCI Express cards and slots are defined by their bandwidth, or number of data lanes — typically one lane, four lanes, eight lanes, or 16 lanes. At 250 MBps per lane, a four-lane slot can transfer data at up to 1 GBps and an eight-lane slot, up to 2 GBps. The new PowerMac G5s have one 16 lane slot, two four-lane slots, and one eight-lane slot.

  • To access Kistler Dynamomete​r Amplifier (4 component) do I need to use PCI 4452 and PCI 1200 ( I have both of them) with DAQ/LAbvie​w.

    If yes How to relate them together both in VI and by Hardware.
    Thanks,
    Niraj

    "Thanks for your attention,
    I have Dynamometer with four analog outputs to respective amplifier's,all of which I have to connect to NI's BNC 2140, which will be connected to PCI 4452, now I even have PCi 1200 which is also a DAQ card I suppose. I want to know whether I need to connect both of these together in anyway, and ultimatly will they appear on single VI together or seperatly. Like I have developed single VI for both, but Is it possible to Develop VI with access to both.
    Also is it necesary to use both, I want to know whether my application will be handled by PCI 4452 alone,
    I suppose I am clear this time about my application and things available with me.
    please let me know if not,
    Thanking you,
    Niraj"

  • K9N Neo V3 : PCI-E and PCI-E x1/PCI VGA cards at the same time ?

    Hello,
    I'm thinking about getting one more VGA card to resolve my dual screen issue :
    Quote
    I use two monitors. PC monitor as first screen, TV is extended for watching videos.
    PC : Philips 220aw (22", 1680x1050 @ 60Hz) DVI-DVI
    TV : LG 42lh3000 (42", 1920x1080 @ 24Hz) DVI-HDMI
    I've been trying to get smooth playback on the TV for days, but random stutter happens.
    When a video (mostly HD contents) is played on the TV while using the PC monitor, things like minimize/maximize windows, page scrolls stutter and so does the video. Idle while watching videos also stutters randomly.
    I tried almost every combinations of renderers/codecs/players, tried by desactivating aero and all the fancy graphics, but it didn't solve the problem.
    The only way i get smooth playback on the TV, is by desactivating the PC monitor. (Using nVidia panel or "Win" key+P), so only the TV is active.
    I tried with a Blu-Ray using DXVA and it was smooth.
    I haven't got a chance to test with a better graphic card yet. This issue doesnt happen on XP though.
    Here are the specs :
    K9N Neo V3
    Athlon 64 x2 @ 3Ghz
    4Go DDR2-800
    8800 GT 512Mo (driver 197.45)
    Win7 Ultimate 32 Bits.
    Corsair 450W 80+
    My question is : Can i add a PCI-E x1 or a PCI VGA card on this motherboard, so each screen will have its own VGA card ?
                          If so, both nVidia or ATI would work ?
    Thank you.

    It would be one of these, if it is allowed by the K9N Neo V3.
    http://www.club3d.nl/products/products_ending_page_7_with_id.cfm?product_id=154
    http://www.club3d.nl/products/products_ending_page_7_with_id.cfm?product_id=223
    I will try to test with an ATI card if i can find one.

  • PCI Express and Soundblast

    I just got a new machine that has PCI Express card slots in it. I am new to this technology so I have a total noob question. Can you use soundblaster cards in a PCI Express slot? And on a larger scheme, can you use PCI cards in PCI Express slots?
    Thanks,
    -murk

    As everybody said... No. PCI-express and PCI are not really compatible.
    And I'd like to reply on the posts regarding PCI-express soundcards. If any card like that would be produced, I guess we'd need mainboards with more PCI-E slots than we have now. Now it's all PCI-E on GPU's and 2 PCI-E slots for crossfire/SLI setu
    ps.
    Gi'ven I want to have a decent gaming machine in the foreseeable future, I'd need atleast 3 if not 4 PCI-E slots. Something like a Physics processing unit comes to mind, 2 GPU's and a soundcard... which would also conclude in a lot of users should be upgrading their systems to a higher substandard then now. Upgrading is fun and all, but if they people can't afford to upgrade that often, most companies would stay pretty low.
    That's just my 2 cents. But seeing the developments running wild regarding computers I wouldn't be too surprised if we'd see it happen soon.

  • Error -200141 when doing buffered events with DAQmx and PCI-6602

    When doing buffered events with DAQmx and PCI-6602 I get error 200141 - Data was overwritten before it could be read by the system.
    This error is generated ONLY with random inputs >200/sec.
    My setup is :
    DAQmxCreateCIVCountEdges(taskhandle,"Dev1/ctr3"....
    DAQmxCG+FGSampClkTiming(taskhandle,"/Dev1/FPI35",...
    DAQmxSetCICountEgdesChan(taskhandlem,"", "/Dev1/80MHZTimeBase")
    DAQmxSetChanAttribute(taskhandlw,",",DAQmx_CI_DataXferMech,DAQmx_Val_DMA,0);
    Can somebody help ?

    i'm getting the same Error-200141, while reading semiperiods. (Meas_Buffered semiperiod continous)
    while loop ex.rate seems to be pulsewidth*no.Samples to read. in my case PW=60ms
    Input buffer size measured with Property node= 10000
    why this error happens?? i cant use any mode other than implicit timing for semi-period measurement right??
    more info: all the ai channels are used ~ 16 differencial.
    i found one solution which is _ reinitializing the whole task if an error occur. is this the right way??
    Kudos always welcome for helpful posts
    Attachments:
    Counter_1_Meas Buffered Semi-Period-Continuous_main_lv09.vi ‏34 KB
    SemiPeriod_Reconnect Counter on Error.vi ‏35 KB

  • How do I set up a PCI-1409 and two Sony XC-ST50 cameras for synchronization and asynchronous reset?

    Hello! I am using a PCI-1409 with two Sony XC-ST50 cameras. I need to use a single trigger to capture an image from each camera simultaneously. I know I need to gen lock the two cameras and use asynchronous reset. How do I do this specifically? How do I connect the cameras to the PCI-1409 and what settings do I need to set on the cameras and the PCI-1409?

    There are a few great tutorials on the NI web site. The first discusses genlocking multiple cameras together. It is in the context of the JAI CV-M1, but all the concepts can be applied to other camera types. It is called "Genlocking Multiple JAI CV-M1 Cameras" (http://zone.ni.com/devzone/conceptd.nsf/webmain/7A6B5853548850E886256C21005B1413?opendocument). Another turtorial I suggest looking at is "Advanced Analog Triggering and Synchronization Techniques" (http://zone.ni.com/devzone/conceptd.nsf/webmain/A387B5C0AC6F6F4E86256C87005FCDDF?opendocument). This tutorial has a section which discusses triggering and synchronizing with multiple cameras. The last tutorial I recommend is "Multi-Camera Acquisition"(http://zone.ni.com/devzone/conceptd.nsf/webmain/D91BAC1317F9D
    0A686256C9300769A0D?opendocument) This discusses how to synchronize and program multi camera acquisitions on the 1409.
    Hope this helps!

  • Connecting Yaskawa Sigma FSP Motor Drive With UMI-7774 and PCI-7344

    Hi,
    i have PCI-7344 and UMI-7774  that i want to connect to this Servo motor drive of Yaskawa.
    1)  How do i know if this motor drive is compatible with the pci-7344 and umi7774 ?
         for example:  inside the UMI manual is written that the Motor drive must support "Sinusoidal Commutation"
         i look indside the Motor Drive manual and i dont found anything about this.
         this is link to the motor drive: 
         http://www.yaskawa.com/site/products.nsf/products/Servo%20Amplifiers~fspsigma.html 
         http://www.yaskawa.com/site/products.nsf/products/Servo%20Amplifiers~fspsigma.html?openDocument&seq=...
    2)  How do i connect the feedback and control lines  from the UMI to the Motor drive?
    i'll appreciate any help including posting a link to a tutorial that helps to understand the signals from the motor drive and the encoder
    And also the umi-7344  (Phase A,  Phase B, Hall sensor, inhibit, Fault, etc... )
    Some powerpoint or Pdf tutorial that National instruments provide will help as well.
    P.S.  i read the manual of the UMI-7774 and the pci7344 manual, but i'm yet not understand what i need to do
    in order to configure my motion system :
    PCI-7344  , UMI-7774  ,  Motor Drive (Sigma FSP Yaskawa) ,  Servo Motor (Yaskawa)
    Thanks for any help.
    Regards,
    Moti
    Solved!
    Go to Solution.

    Dear Nate,
    Thank you for repling to my posts, i really appreciate that.
    The links you provide is very helpfull.
    i'm enginner in my education, but not in this area (i'm information systems eng.)
    i decided that i need to learn more about it (ni-imaq, ni-motion, line-scan camera, servo, servo drives, encoder signals, motion i/o, umi, pci7344, etc..)
    So, i download the manual and help files that is needed to my application i want to build
    (high speed machine vision of color line-scan camera connected to motion with rtsi synchronization and also digital i/o)
    and now i'm reading ALL this, its huge amount to read, and not all the thing i understand in the begining (english is not my lang..)
    Thanks again for the replies.
    Best Regards,
    Moti

  • Problems with Ethernet controller and PCI device driver on Satellite L30-10X

    Hellow!
    Sorry for my bad English, I'm from Russia.
    Just few days ago I bought Satellite L30-10X with W Vista on board. My opinion, that this OS does't very good on this computer, so I install W XP.
    I have some problems with drivers. At first, I dont know what model I have:PSL30 or PSL33? I download all drivers for both models. But, after installation, computer doen't find drivers for Ethernet controller and PCI device...

    Hi
    Satellite L30-10X belongs to the PSL33E series. This number can be found on the label placed on the bottom of the unit!
    You have to choose this number from the driver download form to get the compatible XP drivers.
    I dont know why you are not able to install the LAN driver. Ive got the same notebook with Vista and Ive installed the XP and all drivers run fine.
    I assume you have installed the drivers in wrong order. Please take the look in the Toshiba installation instruction txt file. In this order you have to install the driver! Its important.
    I think you should install the XP again to ensure the clean registry and then download and install the compatible XP drivers like mentioned in the installation instruction file.
    Good luck

  • Connecting Yaskawa Sigma II Servo Drive (SGDH) to PCI-7344 and UMI-7774

    Hi,
    I have  NI PCI-7344 and UMI-7774 and i want to
    Connect the UMI-7774 to Yaskawa Sigma II Servo Drive (SGDH) , the servo motor drive is connected to the servo motor with original Yaskawa cables.
    1.  do you know if National instruments provide special cables to connect the UMI-7774 to the Yaskawa Sigma II Servo Drive (SGDH) ?
         i know there is special cable to connect this servo drive to the NI PCI-7390
         http://zone.ni.com/devzone/cda/tut/p/id/5908 
        (you can find in this link that this cable exist: 50 Pin cable for connecting MCA-7790Y to Yaskawa Sigma II Servo Amplifier)
         but this is not the case here, i need to connect the Servo Drive to the UMI-7774..
     2. Where can i find a tutorial on how to configure the PCI-7344 in MAX to send simple commands to the Servo Drive
          i.e.  to run the servo motor from position A to position B (10,000 encoder pulses)
    i'll be gratefull for any help
    Regards
    Moti

    Hi MotiM,
    We do not have a cable that will let you directly connect the UMI-7774 to a Yaskawa Drive.  We do sell cables that will have the Dsub connector to match the UMI-7774 with pigtails to wire to the drive.  If you take a look at the product page for the UMI-7774 you can see the different cables listed under the accessories.
    To perform a simple move in Measurement and Automation (MAX) is very simple.  In MAX under NI-Motion select your PCI-7344. Under this section select the settings option (by default it will be called Default 7340 settings).  Select the Servo radio button.  Initialize your controller.  Then you can select Interactive and 1-D Interactive and command your motor from there.  I have attached an image with the important areas highlighted for you. 
    Message Edited by Adam_H on 09-19-2008 03:41 PM
    Adam H
    National Instruments
    Applications Engineer
    Attachments:
    MAX.jpg ‏93 KB

Maybe you are looking for

  • Struggling to get raw files to open in Photoshop CS2

    Feeling foolish. Have new Canon 5D Mark II and shot first raw files. Went to open them in CS2 (my old 20D files opened fine there) and got error message. Came to adobe site, download new camera_raw.8bi, followed instructions to move it into right fol

  • How do i get auto fill to work in numbers

    hi i have a list of text in my spreadsheet colume that changes on each line. please tell me how to use auto fill thus allowing me not to write the same taxt over and over

  • Attempting to export. "Error compiling movie. Unknown error." (details included)

    I've made an 8 minute movie in Elements 10. Trying to export the movie to my computer, I always get the error in the title after a few seconds. I've tried pretty much every filetype/preset and it all does the same thing. Movie details All files are f

  • 100% Width rectangle not working

    I followed the instructions from this article, and it is not working. Any ideas? Creating a 100% width rectangle element that spans the entire width of a browser window. I did everything it says to do here, but it does not scan across the browser whe

  • LO Extraction - 2lis_17_13hdr

    Hi Gurus, I am extracting data from the 2lis_17_13hdr. For this in lbwe i have setup unserialized v3 as update mode & have scheduled the job. I have deleted & executed the setup tables & in rsa3 i am able to see data for this extractor. Next in BW i