E-series board clock synchroniz​ation (master/sl​ave)

Platform: Win2k, LabView 6.02i, NI-DAQ 6.9.2
I have two PCI 6071E DAQ boards and would like to define one of them as a master that uses its internal samping clock and the second - as a slave, getting its sampling clock from the first one. I used the example "Two E Series Shared Scan Clock " example to do it, but got strange results.
The question is, how can I check that the slave really uses master's scan clock (say, using a two-beam oscilloscope) ? Are there outputs on 6071E that can prove that the boards are synchronized ?
Thank you,
Sergey.

Hello;
Since the slave board on that Labview example VI is configured to expect an external Scan clock pulse train, and later on the same example the Scan clock is defined to be one of the RTSI lines, if the slave board is acquiring any data, that means that the synchronization is in place.
To double check the synchronization visually, you can hook up a 2 channel scope, and maybe hook up two waveforms you know are in phase, one to channel 0 of the master boar and the other to channel 0 of the slave board. Then, configure the scope to trigger of channel 0, and connect channel 0 of the scope to the master board and channel 1 of the scope to the slave board.
With that setup, you will see both waveforms in phase on the scope.
Hope thie helps.
Filipe A.
Applications Engineer
National Instruments

Similar Messages

  • Clock synchroniz​ation of a NI-6111 with a NI-6602

    Hello,
    We are trying to synchronize two boards. One is a NI-6602 and the other one is NI-6111. We have already synchronized both devices using the OUT signal from the 6603 (PFI32) and routing it to RTSI_5. Now we would like to synchronize both onboard clocks. We were able to route the 20MHz clock of the 6602 to RTSI_7 using a DaqMX subVI but when we attempted to read that signal with the NI-6111 using the VI AI clock config, it is not allowing to us to configure the clock source in that VI as RTSI_7. Any ideas?
    Thanks
    Facundo

    Hi facundo,
    It appears that you're using DAQmx with the NI-6602 device, but the Traditional DAQ driver (since you're using the AI Clock Config VI) with NI-6111. Is this correct? If so, is there a reason why you're doing so since both boards support DAQmx?
    Each device can use one driver at a time. If you're using AI Clock Config, and right click the "Clock Source" and choose Create >> Constant, you should be able to choose "RTSI Connection", and indicate the RTSI pin number. However, unless you have a specific reason, I would recommend using DAQmx for both boards. You can consider LabVIEW shipping examples such as "Multi-Device Synch-Analog Input-Cont Acquisition.vi" as a starting point.
    Thanks,
    Lesley Y.

  • Master Clock synchronization fix?

    When i was recording some audio in Audition, I kept on getting a strange feedback effect, like a slight delay repeating everything at a much lower volume. I tracked  the problem down to Master Clock being set to the wrog device, speakers instead of the mic.
    Anyway, my question is: Is there a way to remove/reduce that feedback from an already recorded file? Is there some kind of filter or trick I can use to correct this?
    Here's ther link to a sample of the audio: http://beyourownmom.com/problem.mp3
    Thank you so much in advance!

    It is highly recommended that the system clocks on the hosts where the OMSes, Repository, and agents reside are synchronized. Among other things, clock synchronization facilitates incidents and events tracking. See Support note 359524.1 for more information.
    Regards,
    - Loc

  • How do I use daqmx to get encoder direction/count on M-series board?

    I have an incremental dual channel  encoder from Rotalink. I want to take angular postion and angular speed from this encoder. My NI DAQ card is PCI 6221 which belongs to M series. First, soft-timing was used to get anuglar postion and sampling rate is set at 1Hz. The vi program works well. However, it does not produce  good results when the sampling frequency is increased to 100Hz. So I turned to hardware-timing. The example, "Find example>> Hardware Input and Output>>DAQmx>>Counter Measurements>>Position>>Meas Angular Pos-buff ext Clk.vi" gets the readings. A function generator which can produce pulses at the frequency rang from 1Hz-1Mhz was wired to PFI9 in accordance with "
    You need to find your PFI pin numbers to know what to wire A,B and Z to on your m-series board, to do this go into max right click NI-DAQmx Tasks click Create New DAQmx Task >> Counter Input >>Position>>Linear, and setup the task for your measurement. It will tell you what the PFI lines are. You then need to look at the wiring diagram and connect it to the correct pins." as an external clock. The channel A and B were wired to PFI8 and PFI10 respectively. However, it still gives errors like 200284. Comments are grealy appreciated!

    Hi Zibin
    I have been trying to work out what is not working I need some more information
    What frequency is your function generator actually generating?
    What have you set your time out value to?
    What exact errors are you getting and when do you get the error?
    What would really be helpful is if you could send me your code because by the sound of it, it should just work the card is more then capable of doing what you want so chances are it is the code.
    Regards
    Tim M
    NI UK

  • Can clock synchronization be implemented by pure java?

    I want to build a simple distributed application, whose main purpose is to synchronize the local system clock in the slave JVM with the clock in the master JVM. Can it be implemented by pure java? Or I have to use JNI to implement it?
    And although the application is mainly used in LAN, the delay of transferring the data of time is small, but is there any algorithm to minimize the difference of system clock between the master and the slave?

    No. You can not synchronize the System Clock (clock) in 100% Pure Java.
    Using The Network Time Protocol (NTP) and Java, you can access the current time from many servers around the world.
    The problem here is that you can't change the clock through Java without an interface to the actaul clock.
    Since the clock is a native component (application, service, or utility) you can't change it while being 100% Pure Java.
    That does not mean that you can't do it at all. It just will not be Pure Java. You can, however, test to see what system you are on and then adjust the method used.
    On a Windows system, the clock is set by the Control Panel applet "Date and Time." This applet can be updated using the Command Driven Interface (CDI), also known as a Command Prompt. To do this you can use the Java object Process. The parameter, a String value, should point to the location of command prompt. Then add a PrintStream object to the Process object. Send the following line (using PrintStream.println()) - "time" and "date"
    To update the time use the following line:
    time [ time ]
    Use the time format: hh:mm:sec
    To update the date use the following line:
    date [ date ]
    Use the date format: mm-dd-yy
    This will work on Windows machines (3.x, 95, 98, Me, NT, XP) MS-DOS (all versions with Date/Time capability).

  • How do I use daqmx to get encoder direction/count on E-series board?

    Hardware:
    PCI-6014
    Labview 7.1
    I have a linear actuator and wish to get distance/direction.  The
    motor has a quad encoder with phase A and B only.  I connected the
    lines according the the E-series, PFI-8 and PFI-6, and ground to
    digital ground. I then attempted to design a control with daqmx but
    failed.  I have tried the daqmx examples but none were attempting
    a reverse in direction.  Most examples given for direction change
    are for traditional daq control; i cant make a correlation on what to
    use to substite traditional daq with daqmx vi's. 
    2 questions:
    How do I use daqmx to get encoder direction/count on E-series board?
    Are there low pass filter vi's recommended for each phase connection to stabilize data?
    Thanks,
    Wayne Hilburn

    Hello Wayne,
    Take a look at the Count Digital Events.vi shipping example.  You can find this in LabVIEW by selecting Help >> Find Examples... then browsing to Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events.
    If you set the "Count Direction" control to "Externally Controlled", you will be able to count up and down depending on which direction you rotate your encoder.  Make sure you wire Phase A to Ctr0 Source and Phase B to P0.6.  P0.6 is the up/down line for counter 0.
    I hope this helps.  Please let me know if you have any further questions.
    Regards,
    Sean C.

  • I can't trigger my E series board with PFI0 because it's resolution is too low

    Hi All,
    I am using LabVIEW 7.0 and DAQmx to configure a 6062E-Daq Card. I am
    using the DAC output to apply small voltage steps (as low as 10 mV) to
    a test system. I want to trigger the acquistion of a separate voltage
    signal on an AI channel whenever these small voltage steps are applied.
    To do this, I have sent my DAC output to the PFI0 trigger channel and
    am acquiring my measured signal on AI1. My vi is essentially the
    Acq&Graph Voltage-Int Clk-HW Trig Restarts.vi only my DAQmx Start
    Trigger is changed from Analog Edge to Reference AnalogEdge so I can
    measure 200 pre-samples.
    The vi works beuatifully when my DAC output changes are quite large
    (say 100mV). If I go to smaller pulses then the trigger never fires. I
    understand that the PFI0 has lower input resolution (usually 4 bits
    lower than AI channles) so I think this is my problem.
    I understand that I can use an AI channel to act as my trigger channel
    but in this case, because I am using an E series board, I can only
    measure one channel (my trigger channel) and still have a Reference
    trigger. Is there a way to collect my data with pre-samples, using
    these small triggering steps ?
    Ian

    Hi Ian,
    I just came across this thread and I wrote an application (Utilizing a Software Circular Buffer for Data Acquisition - LV 7.1) awhile back to help do exactly what Laura was talking about, but without taking too much processor time.
    They key to everything is to store the most recent data in a software
    circular buffer.  It works pretty well even running an application
    for hours at a time because it will only retain the last N seconds
    worth of data and no arrays are being built so it keeps memory usage
    fairly low.  You can then look at the data within the circular
    buffer, determine some sort of condition and then view the last Y
    seconds worth of data on whatever row of data you want.
    It's slightly complicated, but with a little work you can get it to
    work for what you are trying to do.  This may help you find a
    solution between now and when you can get your M-Series board.
    Regards,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments
    Attachments:
    DAQmx-ReadFromCircularBuffer.llb ‏209 KB

  • How to get EXTMUX to pulse only when taking samples, and not on LocalMUX Change? (E Series Board)

    I am using the 6031E series board. The EXTMUX is setup to pulse on each convert pulse. While taking data, I am getting a pulse on the EXTMUX for each sample taken, and a pulse for each time the 6031E switches its own internal mux. Is there anyway to only have the EXTMUX line pulse ONLY when a sample is taken, and not when the internal mux switches?

    If you are reading the DAQ-STC manual, the signal I am talking about is the EXTMUX. If you are reading the PCI E Series manuals, the signal I am talking about is called SCANCLK (just to make things easier to understand, I guess??). The EXTMUX is setup through the MITE, and will pulse after every convert signal. My problem is that it also pulses when the internal mux changes as well.
    So (for simplicity), if I wanted 2 channels, with 5 samples on each channel, and a mux outside the card on each line, the EXTMUX signal would sync the external hardware with the card/software.
    In theory I would expect 10 pulses on the EXTMUX/SCANCLK pin, but in reality I get 12 pulses. If I had 3 channels, 5 samples per channel, (Expected 15 pulses) I end up getting 18 pu
    lses in reality. This throws off any kind of sync to the outside world.

  • Going from an e series board to an s series board using traditiona​l NI DAQ

    I'm using the AI Acquire Waveforms.vi in LabVIEW with an E-series board (a 6040E), and I want to switch to an S-series board (a 6111). Is it possible to switch boards without making any changes to my LabVIEW 'program'? If it runs without any changes, will it sample simultaneously or sequentially?
    Thanks.

    Hello pdan,
    So you can certainly use the same program for E and S Series devices (given that all the functionality is supported), due to the fact that they both use the NI-DAQ driver. As to your concern, the S Series device is most certainly acquiring data simultaneously. It is not possible for the S Series board to acquire sequentially. Hope this helps!
    -Alan A.

  • Differential Mode in DAQ M series board

    Hello all!
    I have a doubt concerning the Differential Mode in DAQ M series board. In the board's manual is saiing that the voltage limit is -10 to 10V, but somebody knows if this limit is always referenced to ground, or in differential mode is comparing with the +8 channel (ex. for channel 0 - voltage diference between ch0 and ch8).
    Thanks in advance, best regards.
    Paulo Carmo

    Paulo,
    differential mode means that you measure the difference between two input channels. The channels used for this on E- and M-series boards is n and n+8. The difference between the channels might go up to +- 10V.  So there is no ground reference in this type of measurement. 
    However, the device has a limited capacity against overvoltage. So if the offset of either of the channels succees a certain value in regard to the ground of the measurement system (the gnd of your PC), you could possibly damage your hardware.
    Therefore it is recommend to use "BIAS-resistors" in such cases (or if you simply don't know the offset).
    You can find a very good image on possible ) recommended connections in your DAQ-help. Open the DAQmx Help and navigate to DAQmx Help >> Measurement Fundamentals >> Signals >> Analog >> Connecting Analog Input Signals >> Measurement System Types. Just activate that entry (should have a "book" icon) and in the right side, you should see a something like a reference poster. I suggest you to print it out....
    hope this helps,
    Norbert 
    [EDIT]: corrected a typo
    Message Edited by Norbert B on 02-26-2009 08:03 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Clock synchronization issue

    Does EM require all involved nodes(OMS, agent, DB) clock synchronization?

    It is highly recommended that the system clocks on the hosts where the OMSes, Repository, and agents reside are synchronized. Among other things, clock synchronization facilitates incidents and events tracking. See Support note 359524.1 for more information.
    Regards,
    - Loc

  • How to build executable from labview for R-series board

    Hi all,
    I have a PC with Win XP 32 and a PCI-7852R board.  I have labview installed on it and have done all my development on that machine.  Now that I'm done, I'd like to build more of the systems but don't want to have to install labview on every one.  Plus, I'd like to be able to take labview off this machine so that I can start working on the next project on another machine.
    So is there a way to build a distributable package of host and FPGA code on one machine and install it on target machines without having labview on them?  Ideally I'd like to be able to build the package on a machine that doesn't have the R series board - instead just have a simulated board.  But that doesn't seem to be an option in NI MAX.
    thanks
    Solved!
    Go to Solution.

    Hi Manick,
    I mean that it would be best to create a new thread on the forum.  I've attached a screenshot to show what I mean.  From there, you can enter a unique title, and have a unique description for your case.  That way, we can support you better, and other users of the forum can search for the same behavior that you're seeing.
    Regards,
    Che T.
    Applications Engineer
    National Instruments
    Attachments:
    new_post.png ‏70 KB

  • Material Master Moving Ave. price automatic in Purchase Order

    Hi Experts!
    Good day! Does anyone know how I can configure the Material Master Moving Ave. Price to be automatically reflected in a Purchase Order?
    Actually I am doing a Stock Transfer Order, and I want that the Moving Ave. Price maintained in the Material Master reflected in the order.
    Thank you!
    Mik

    take an abaper help , user exit
    table MBEW  filed VERPR  from  mat master to doc type( PO doc type) , MEPO1211,NETPR .
    rewds

  • Using the X Series interal clock for synchronization

    Hi,
    I am slowly learning how to use Labview in my work.  I have 2 X-series multifunction DAQs that are each linked to a computer.  I am reading in the user manual that the DAQ has a built in 10MHz clock that can be used by other DAQs in the system.  The idea is that I'd like one of the two DAQs to be a master and all operations should be theoretically unified.  I am unclear on how to actually tap into the internal 10MHz clock on DAQ1.  I may be misinformed about some fundamentals of Labview, I recognize this.  I played around with some DAQmx functions and was confused because the Create virtual channel DAQmx that I assume has to come first in a sequence of DAQmx's still required an external signal source: "lines".  This seems counter-intuitive for my purposes!.  Can there be an input that is genuinely from within the DAQ?  If I create a DAQ assistant to generate counter output, I see how it can be timed using the 10MHz reference clock but somehow I also feel like this is an incorrect strategy.
    I am still an amateur but I haven't found very good resourses that actually explain how to generate timing, only that you can do it.  Besides, isn't the 'timing' of any signal I generate in the program dependent on how fast the while loop surrounding the whole program cycles?  And can this be controlled?
    Any starting point or advice you can provide is greatly appreciated.

    Hi twitchell,
    Are you trying to synchronize analog input? If so, this should be a good starting point: Synchronizing DSA, S Series, and X Series Devices With a Single NI-DAQmx Task
    Otherwise, please post more details about what you are trying to do: channel type, sample rate (same on each device or not?), triggering, etc.
    Brad
    Brad Keryan
    NI R&D

  • Synchroniz​ation of M-Series cards via RTSI and ANSI C?

    Hi!
    This is my first post and I'm happy to be here. I tried to search as thoroughly as possible, but if this has been answered elsewhere, I'd be grateful for a hint/link nevertheless.
    System:
    Win 2000 Pro with NI-DAQmx (part of NI-DAQ 7)
    2x PCI-6220M, 1x PCI-6221M
    RTSI Cable
    all components are registered in MAX
    Problem:
    I want to synchronize the cards over the RTSI bus. I am using the ANSI C library. There's an example SharedClk10-FiniteAcq_main.c, but it is designed for PXI and uses the undocumented (at least in the C reference?) DAQmxSetTimingAttribute function. I tried to pass '/Dev1/RTSI7' as the clock source, but it did not work.
    Then, after reading the C reference a bit more, it seemed as if I needed to use DAQmxExportSignal. But it gives me an error DAQmxErrorInvalidRoutingSourceTerminalName_Routing = -89120 when I try to route DAQmx_Val_20MHzTimebaseClock to '/Dev1/RTSI7'
    I'd like to know what C functions I have to call in which order to enable synchronized sampling with the three M-Series cards.
    So far I do:
    DAQmxCreateTask (primary & driven)
    DAQmxCreateAIVoltageChan (p & d)
    DAQmxExportSignal (p)
    DAQmxCfgDigEdgeStartTrig (d - trying to import the failed export of /Dev1/RTSI7)
    DAQmxStartTask (d & p)
    DAQmxReadAnalogF64 (p & d)
    DAQmxStopTask(p & d)
    This is my first time using M-Cards or the ANSI C functions, so I might have missed something essential.
    Can anyone give a hint as to what I need to do?
    Jens

    First, if you haven't, you should explicitly create a RTSI cable in MAX. This can be done by right-clicking on Devices and Interfaces -> NI-DAQmx Devices and choosing Create New NI-DAQmx Device -> RTSI Cable. Then, for each device that is connected to the RTSI cable, use MAX to edit its properties and in the "RTSI Configuration" tab, specify the RTSI cable. This will allow NI-DAQmx to automatically route signals of the RTSI cable.
    Now that a RTSI cable is configured, you don't need to explicitly export signals from the task. You can use the DAQmxGetMasterTimebaseSrc function to retrieve the master timebase terminal name from the primary task and the DAQmxSetMasterTimebaseSrc function to set the master timebase terminal name for the driven task. The DAQmxGetMasterTimebaseRate and DAQmxSetMasterTimebaseRate functions can be used in a similar manner. Configuring these properties will result in NI-DAQmx automatically routing the master timebase signal from the primary task to the driven task using the RTSI cable. To ensure the driven device starts at the same time, invoke the DAQmsxCfgDigEdgeStartTrip function passing a triggerSource parameter of "/ai/StartTrigger" which will result in NI-DAQmx automatically exporting the start trigger signal for the primary task over the RTSI bus and using it as a digital start trigger for the driven task.
    I assume that you will also want to invoke the DAQmxCfgSampClkTiming function for each task to specify the acquisition rate and number of samples to acquire. Note that since the master timebase signal and the start trigger signal are already routed using the RTSI cable, the sample clock itself does not need to be shared between the two tasks.
    geoff
    Geoffrey Schmit
    Fermi National Accelerator Laborary

Maybe you are looking for

  • Using a Mac Mini with my Panasonic CT-30WC14J

    Please excuse the length of this question, but theres a lot of info that may be relevant. I have a Widescreen HDTV, Panasonic CRT 30 inch Model CT-30WC14J, and have been using it connected to my iMac for a while to watch TV shows etc. For Christmas I

  • Installation error phase "import ABAP" - ERP2005 IDES - mssql2005

    Hi. I've problems installing <b>ERP2005 IDES</b> with <b>microsoft sql server 2005</b> at <b>windows 2003server x64</b>. I've installed solution manager 4.0 succesfylly at the same host. I've read about simular problems at this forum (with oracle). B

  • [SOLVED] Gdb shared libraries issue

    Hi, I'm working on ARM system with gdb 7.1 (i've tried 7.5 too). I'm using this tool to debug an application composed by several shared libraries. If I debug this application on the ARM side, with gdb 7.1 i can see the shared loaded libraries (digiti

  • Is it possible to  laod navigation options after querry is displayed

    Hi I have a question concerning the display of a query. Us ut possible to display a query and load the navigation options after the query has been displayed (in other words in the background)? [I am talking about the query property on how to load a q

  • Computer responding very slowly

    I purchased my iMac G5 about 3 years ago but I'm not very computer saavy - sorry. It used to respond quickly (the internet, itunes, iphoto, etc.). Over time I feel that my computer has gotten slower. I seems that I am wait longer and longer for it to