Generating 2 clocks with different phase using PXIe-6674T ??

Hi,
is it possible to generate 2 clocks (same frequency) with different phase using PXIe-6674T ?
regards,
Yan.

hi,
somehow i cant use the daqmx digital counter to generate nice 10MHz pulse train with my pxi 6733.
The option now I can use my timing module pxie 6674T to have base clock 40MHz, and then using divisor 1 and 2  I can generate 2 synchronized clock in PFI0 and PFI1.
Then I use function connect terminal to connect Oscillator and PXI_Clock_10 to get my pxi chassis synchronized with my timing module.
Then I use pxi clock as reference to generate my digital signal with pxie 6544.
Somehow, my generated signals; clock from timing module, pxi clock from backplane and digital signal from pxie 6544 are not synchronized. The phase difference keeps changing.
I dont see any Init.vi while working with pxie 6674T. I'm assuming I can simply connecting clocks and triggers through RTSI bus, then generate my digital signal with 6544.
I need help to have 10Mhz from 6674T and another 10Mhz from 6544 with 1/4 phase difference between them, which should be stable all the time.

Similar Messages

  • Is it possible to share an aperture library with different users using osx server.

    is it possible to share an aperture library with different users using osx server.

    Not really.  You should not be sharing an Aperture library over a network.  It's not designed for that and you'll likely corrupt your library at some point.

  • Generating clock with vivado

    Hi,
    I am using Vivado with a ZedBoard  programming in VHDL (PL). The ZedBoard clock source for PL is 100Mhz. I need two clocks: clkgen1= 100kHz and clkgen2= 350Mhz to clock the FMC.
    How can I generate these clocks in Vivado? I know I can use PLL or Mmcm. Which one would be better?
    Is there any tutorial?
    Thank you.

    ---- Where can i read documentation about this?
    You can find documents about zed board in the following board’s link http://www.xilinx.com/support/university/boards-portfolio/xup-boards/XUPZedBoard.html .
    -------How can i do this in Vivado?
    Check whether the below thread applicable to your issue
    http://forums.xilinx.com/xlnx/board/crawl_message?board.id=GenDis&message.id=18987
    ________________________________________________

  • How can I generate tones with usb 6008 using analog out?... tia sal2

    Greetings All
    I've been looking at the example Sim Phone.vi that comes with labview and would like to generate similar tones out of our usb 6008 device. I can get a very faint sound out of our usb 6008 using the example Gen Multi Volt Updates-SW Timed.vi Does anyone know the best way to alter Sim Phone.vi to have the sound come out of the Analog output of our usb 6008 device. ( I have a small speaker connected to the Analog out on our USB 6008)
    PS: we are using labview 7.1
    Does anyone know the Analog output frequency range of the usb-6008? Is this possible?
    TIA
    Attachments:
    Gen Mult Volt Updates-SW Timed.vi ‏78 KB

    Hi sal2,
    As stated earlier you could most certainly use the USB device to generate sound, but that would be at a max update rate of 150 Hz. While according to Nyquist theorem you could get frequency information for signals below 75 Hz, you may notice that the quality of the data in that spectrum to be very low due to having so few samples.
    While technically possible to produce you really should look for a device with a faster Analog Output update rate. I would look for a device that supports Analog Output at least 10x the maximum frequency that you want the user to hear. Some great, yet lower cost products, would be the M-Series line of products. They would give you the performance that is really needed in the type of application that you are talking about.
    If you still want to use the USB Device, then you would need to use code similar to that found in the example Gen Mult Volt Updates-SW Timed (Found here: C:\Program Files\National Instruments\LabVIEW 7.1\examples\daqmxbase\Dynamic\ao).
    Best of luck getting your system together,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • CAN periodic transmit message with different modes using Frame API's

    I want to transmit a CAN message periodically using Frame API's. I am able to send messages which dont have modes inside the message. For some messages having multiplexer in ".ncd " files and inside that multiplexer having different modes. Now in order to send all the modes of that message periodically by configuring them once by using Frame API's i did not  find a way. I am able to send messages but the last updated mode is only sent periodically. Is there any way that CAN message having different modes can be sent periodically, updating all modes periodically automatically using Frame API's.

    Hello Kpraveen,
    You could set the period for N*Period, N being the number of modes.  You just need to make sure your application changes the modes fast enough to update each periodic frame.
    For example, say you have 2 modes and the frame's period should be 10ms.  That means that you would like that frame to go out twice every 10ms, updating mode 1 and then mode 2.  So, that means that the frames period can be 5ms. 
    1.  It will start by updating mode1
    2.  5ms later, it will update mode2
    3.  5ms later it will update mode1 again
    mode 1 really has a  period of 10ms...
    You just have to make sure that you can update the frame fast enough, or switch between modes fast enough, or you will send the same mode twice.
    Let me know if this helps, or if I an not understanding this properly.  Have a great day.
    O. Proulx
    National Instruments
    www.ni.com/support

  • Sandpit and Dev give Address search with different results using Web UI

    Using the Sandpit system I can perform a BP search on Street and enter the post code, but it still finds the right address. However, in our development sytsem it does not. The FM which performs the search is identical so I assume this would be down to some kind of address related config?. Can anyone enlighten me further as what could possible cause this?.
    Jason
    [RESOLVED]
    Edited by: Jason Stratham on Sep 8, 2009 11:35 AM

    Okay. So, I asked the admin to create a scope for the list, which they did following the steps outlined in Ben Tedders article, and then I followed the steps in the rest of the article setting up the web parts. When I ran a search, it returned the no results
    page. Not sure why, but I removed the scope from the Search Core Results web part, and the search returned usable data from the list.
    Here's my part ii question - - how do I customize the Search Core Results web part to display the data from the search in manner that makes more sense than from a list of nondescript layout of,
    Search Result
         Search Term ... dataField01 ... dataField02 ... dataField03 ... dataField04 ...
         author info
    url info
    to something a tad more informative, such as,
    You search for Search Term, with the following results:
         Search Result
              dataField01 label ... dataField01
              dataField02 label ... dataField02
              dataField03 label ... dataField03
              dataField04 label ... dataField04
    because nobody's really going to care who uploaded the list or want to link to the data pulled from the list in one of those columnar results tables.

  • Measuring signals with different levels using common AI in Fieldpoint

    Hi!,
    I am trying to configure a Fieldpoint system to measure the following (its for a DC motor test station):
    Motor Voltage: 0-240 VDC
    Motor Current: 0-50 ADC
    Generator Voltage and Current: same as for motor
    Options which come to my mind are:
    1) Convert the voltages into 0-10 VDC and use FP-AI-110
    and simultaneously convert currents into 4-20mA and use FP-AI-111.
    2) Convert both voltages and current into 4-20mA and use only FP-AI-111
    My questions:
    1) Which is a smarter config?
    2) Would there be any issues of isolation that I need to consider?
    Note:
    A) There are other measurements like thermocouple and counter and I will be using the signal specific modules for those.
    B
    ) It is important that total system hardware cost be kept to the minimum.
    Platform is Fieldpoint using FP-1601
    OS is Win200
    Coding is in NI-PDS-6.1
    Thanks and best regards,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    Hello Gurdas,
    You could use the FP-AI-110 to measure both your voltage and current signals. However, you will need to create an attenuation circuit so that you can measure your signal in the 0-10VDC range as you have described. You can also use a current shunt resistor to measure the current by running the current through this resistor and then measure the voltage across it. You will most likely need a resistor near 0.01Ohms that can handle up to 50A. (50^2*0.01)= 25W. That is a big resistor.
    It would still be best to convert both to voltages since the modules measure voltage. Even the FP-AI-111 uses current shunts and measures a voltage.
    Another thing to know about taking motor measurements is Flyback voltages generated from the coils. These v
    oltages can reach several thousand volts and could damage your hardware. Check to make sure that you motor or motor drive has circuitry to limit flyback voltages. Zener diodes are commonly used to limit flyback voltages.
    Regards,
    Bill B
    Applications Engineer
    National Instruments

  • Reading a text file with different delimiters using Scanner

    Hello,
    I'm trying to read text from a file using ", " as a delimiter between Strings using a Scanner. I tried reading one line and then using the split() method in the string class, split each string by it's delimiter. I tried using an ArrayList to store each split token and the compiler is giving me some sort of syntax error when I'm pretty sure its right. If help can be given, it would be greatly appreciated. Thank you
    Here's my code
    Scanner input = new Scanner(backupFile);
    input.useDelimiter("[, ]");
    while (input.hasNext()) {
    ArrayList<String> list = new ArrayList<String>();
    String s = input.nextLine();
    String delims = "[, ]";
    list.add(s.split(delims));
    for(int i = 0; i < list.size(); i++)
    System.out.println(list.get(i));
    list.clear();
    }

    s.split(delims) will return an array of strings, not a string. So you need to declare list as an array list of such arrays:ArrayList<String[]> list = new ArrayList<String[]>();(It's a good idea to copy and post compiler messages here, so no-one has to guess. Likewise indicate which line of your code they are referring to.)
    [Edit]If it only the contents of the array you wish to put in the array, then you can just say List list = Arrays.asList(s.split(delims));

  • How to generate and output 3 TTL square waveforms with different pulse widths using counters of NI 6034E

    Hello
    I just have a few questions.
     I am using the NI 6034E DAQ board in order to
    generate simultaneouly 3 different TTL digital signals, with different
    pulse width, and output these TTL signals to an external circuit that I
    am using for this application.
    The following pattern of the TTL pulses will look like this:
    01010101 01010101
    00110011 00110011
    00001111 00001111
    From
    what I understand,  I have to use the 2 counters, Ctr0 and Ctr1, to
    generate the TTL pulses that I desire, because the DIO lines are
    software timed only and I will not be able to produce a deterministic
    output period using these DIO lines.  Am I correct?    Also, do I have
    to use a separate counter to generate a separate TTL digital pulse.  I
    need 3 different TTL pulses and there are only 2 counters for this DAQ
    device.  The three generated TTL signals will be feed to an external
    circuit.  Concerning the hardware connections for my application, I
    assume that the generated TTL signals will be output from
    GPCTR0_OUT(pin 2)  for counter 0 and GPCTR1_OUT(pin 40) for counter 1
    of the NI 6034E. Is this correct?  Is there any way that these TTL
    signals can be output from three DIO lines(DIO0...2). 
    Here is some code that I plan to use in order to do this:
     #include <NIDAQmx.h>
    static TaskHandle gTaskHandle = 0;
    DAQmxCreateTask ("", &gTaskHandle);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "Dev1/ctr0", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 1.0, 2.0, 2.0);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "Dev1/ctr1", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 3.0, 4.0, 4.0);
    DAQmxCreateCOPulseChanTime (gTaskHandle, "?????", "", DAQmx_Val_Seconds, DAQmx_Val_Low, 7.0, 8.0, 8.0);
    DAQmxCfgImplicitTiming (gTaskHandle, DAQmx_Val_FiniteSamps, 5);
    DAQmxStartTask (gTaskHandle);
    DAQmxWaitUntilTaskDone(gTaskHandle)
    DAQmxErrChk DAQmxStopTask(gTaskHandle)
    DAQmxErrChk DAQmxClearTask(gTaskHandle)
    I believe this code should generate the 3 TTL square waveforms that I want for my application.
    Please provide me with some feedback.  It would greatly be appreciated.
    Thank You

     Hi,
    The NI 6034E is a multifuntion DAQ device, this means you have:
      (2) counters
      (8) DIO lines (software timed)
      (16) AI, single ended
      (0) Analog Output
     You have a couple choices here:
       1. Software timed digital output of all three signals, max 1khz loop rate, non-deterministic.
       2. Hardware timed digital output of 2 signals, max 20Mhz.
       3. Hardware timed digital output of 2 signals and software timed digital output of 1 signal.
       4. Find another NI MIO board such as the NI 6251. This board will do 10Mhz pattern generation for (8) DIO lines.
    For the hardware connection, you are correct, the output for the counters will be taken from pin 2 & pin 40.  Here's the pinout for the NI 6034E for reference:
    The output of the Counters can be routed to some of the PFI's or to the RTSI connector. You can see this in MAX
    Message Edited by Matthew W on 11-19-2007 01:24 PM
    Attachments:
    2007-11-19_131609.jpg ‏61 KB
    2007-11-19_132435.jpg ‏86 KB

  • How to generate a delayed retriggerable pulse using only one counter with PXI 6070E card

    Hi
    I have a problem in generating a retriggerable delayed pulse with a single counter(triggered through a signal at gate) using PXI 6070E card. VI was developed in NI LabVIEW traditional DAQ Ver.7.1. I have used the "delayed pulse generator config" VI and a "Start counter" & "Stop counter" VIs for the purpose. But there is no output seen at the out terminal of counter. So I introduced a "wait" VI and set it to 1 sec. Now the pulse output appears but some pulses are missing mometarily after every 1 sec interval. (any solution for this)
    I have gone through a few similar requests in the forum but they suggest either to use two counters or to generate a finite pulse train which does'nt fit my application. Moreover PXI 6070E has only 2 counter timers. I am already using one counter to measure the frequency of a pulse train(signal 1). The application requires to generate a delayed retriggerable pulse for every pulse in signal 1. So I have only one counter left.
    Can I measure the frequency of signal 1 by analog means.? so that I can use two counters for pulse generation. (Signal 1 is a TTL signal).
    Request some help.
    Thanks in Advance
    Regards

    A finite pulse train (N_Pulses >= 2) does require the use of 2 counters on most of our older hardware including your 6070E.  If you're just talking about generating a single retriggerable pulse, you would only need one counter.
    Here's an example in Traditional DAQ that shows you how to set a retriggerable pulse generation (it also allows you to adjust the characteristics of the pulse on-the-fly).
    If you're writing a new program, you might consider switching to DAQmx as it supports NI's latest hardware and recent OSes should you ever need to upgrade.  Traditional NI DAQ is no longer in active development.  Here's an example of how to implement a retriggerable pulse generation in DAQmx.  You should take note that you can't use the two drivers to simultaneously talk to the same piece of hardware, although you should be able to go back and forth by resetting the Traditional DAQ driver before switching to DAQmx.
    Best Regards,
    John Passiak

  • How to structure the DMA buffer for PXie 6341 DAQ card for analog output with different frequencies on each channel

    I'm using the MHDDK for analog out/in with the PXIe 6341 DAQ card.
    The examples, e.g. aoex5, show a single Timer  (outTimerHelper::loadUI method), but the example shows DMA data loaded with the same vector size.
    There is a comment in the outTimerHelper:rogramUpdateCount call which implies that different buffer sizes per channel can be used.
       (the comment is: Switching between different buffer sizes will not be used)
    Does anyone know what the format of the DMA buffer should be for data for multiple channels with different frequencies ?
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?

    Hello Kenstern,
    The data is always interleaved because each card only has a single timing engine for each subsystem.
    For AO you must specify the number of samples that AO will output. You also specify the number of channels. Because there is only one timing engine for AO, each AO will channel will get updated at the same time tick of the update clock. The data will be arranged interleaved exactly as the example shows because each AO channel needs data to output at each tick of the update clock. The data itself can change based on the frequency you want to output.
    kenstern wrote:
    For example, say we want a0 with a 1Khz Sine wave and a1 with a 1.5Khz sine wave.  What does the DMA buffer look like ?
    With the same frequency for each channel, the data is interleaved, e.g.  (ao0#0, ao1#0; ao0#1, ao1#1, ...), but when the frequencies for each channel is different, what does the buffer look like ?
    In your example, you need to come up with an update rate that works for both waveforms (1 KHz and 1.5 KHz sine waves). To get a good representation of a sine wave, you need to update more than 10x as fast as your fastest frequency...I would recommend 100x if possible.
    Update Frequency: 150 KHz
    Channels: 2
    Then you create buffers that include full cycles of each waveform you want to output based on the update frequency. These buffers must also be the same size.
    Buffer 1: Contains data for the 1 KHz sine wave, 300 points, 2 sine wave cycles
    Buffer 2: Contains data for the 1.5 KHz sine wave, 300 points, 3 sine wave cycles
    You then interleave them as before. When the data is run through the ADC, they are outputting different sine waves even though the AO channels are updating at the same rate.

  • How to generate a pulse train with different pulse width and delay?

    How to generate a triggered pulse train with different pulse width. for example, after each trigger signal, let's say 2 ms, then the counter output a pulse with pulsewidth of 1 ms, and then after 3 ms delay after the first pulse, the second pulse was generated with a pulse width of 4 ms.  Next cycle when the trigger signal comes, the same two pulses will be generated and so on. Is it possible to achieve this by using 6601 counter card? and if yes, how to achieve this? Thanks!

    Unfortunately you can not create a hardware timed pulse train with different widths on each pulse from a counter. Whilst it can be changed on the fly using software, since you require a hardware triggered signal getting the software involved will not give a huge amount of accuracy when the pulse will actually change.
    So in short you can't use your 6601 card (or a counter timer) to achieve this
    There are three possible Alternative solutions
    1 You could use a high speed digital IO device such as the (6533/34) to generate your variable signal which would require setting up the pulse train as a series of states based around the burst transmission mode where the clock would give you your specific timing.
    2 A timed analogy output (for example on a MIO card with a clock (PCI-6220 / 62xx), i.e. Not the 6704 style static analogy output cards)
    3 A high speed digital waveform card such as the (, 656x , 655x, 654x, 6534, 6533 (http://www.ni.com/modularinstruments/find_right.ht​m) ) this could then be scripted to work with your triggering and also there is a digital waveform editor which will enable you to set up the pattern you wish to generate (http://sine.ni.com/nips/cds/view/p/lang/en/nid/135​55) 
    Hope that helps
    Tim Matthews
    NI (UK)

  • Using PXI-6682(H) in PXI Express chassis to replace backplane clock

    I have a PXI-6682H in a PXIe-1075 which I use for event timestamping.  I also have a PXIe-6672 card in the timing slot.
    I would like to replace the 10 MHz backplane clock to use the 6682 as a GPS disciplined oscillator and synchronize multiple PXI chasses.  
    I understand from the block diagram in the manual that the PXI-6682H does not possess the connection to directly replace the backplane clock as the PXI-6682 does in a PXI chassis.  
    Is there any way for me to replace this clock? Perhaps using an external connection?  If so could you briefly explain how this would work and what software steps would be required?

    Hello Gregoryng, 
    It might work since the PXIe-6672 and the PXIe-6674T are both timing and synchronization modules, but the best option would be the PXIe-6674T, which is able to work with other protocols such as GPS while the  other cannot. It seems that in the video they use GPS. 
    I think the PXIe-6672 will not work for this with the PXI-6682H, but you can give it a try.
    The one in the video seems to be a PXIe-6674T.
    Regards. 
    Ernesto.

  • Using PXI Star line for Sample CLK with 6551.

    Using PXI Star line for Sample CLK with 6551.
    Im trying to clock 5 6551s in a PXI-1006 chassis and a5404 in slot 2.   I have configured the 6551s to use the start line as the sample clock but I still get the error
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA49B5) DAQmx Error -200586 occurred:
    Hardware clocking error occurred.
    If you are using an external sample clock, make sure it is connected and within specifications.  If you are generating your sample clock internally, please contact National Instruments Technical Support.
    Device:  PXI2Slot17
    Status Code: -200586
    Any ideas why?
    Thanks,
    Brian

    Nevermind...problem solved.  I was exporting the wrong signal to the star line.
    Brian
    Message Edited by BrianPack on 11-28-2005 12:07 PM

  • Generating a sine wave using PXI 5441

    How to generate a sine wave using PXI 5441 (Arbitrary Waveform Generator)?
    Can anybody post a vi that generates a sine wave with frequency at a user defined frequencies.
    Thanks in advance.

    Hi Venki,
     When using an arbitrary waveform or user-defined
    waveform, you provide the actual waveform you want to generate to
    the device, so it is easy to also just connect a graph to the waveform
    and see what it looks like. Unfortunately, when using standard function generation (which is the method used in this example), you are not providing a signal that is created in software. Because the standard function
    generation is happening on the FGEN and not in software, there is
    really no way to display the exact signal without measuring
    it on a scope or some device. You can, however, simulate the signal in
    software such that the parameters which are given to the FGEN functions
    are the same parameters that you use to generate a simulated wave. This
    would be somewhat complex since you can change parameters such as
    frequency and amplitude on-the-fly, and also you would need separate
    functions for each of the different signal types available for the
    FGEN. You would need to place the software waveform generator in your
    inner loop and have a waveform graph connected to it in the loop as
    well to display the signal. The main thing to keep in mind is that this
    will only be a simulated signal and so it may not exactly match what is
    being generated (this also depends on how you program the simulation to
    work). Hope this helps,
    Daniel S.
    National Instruments

Maybe you are looking for

  • Help! Tampered with files-can't open photos in iPhoto any longer

    I was doing some stuff with my Photo folders in the Finder, accidentaly deleted some and even after dragging them out of the trash I can't view my photos in the iPhoto anymore. What do I do? All the pictures are still in the Finder folders but iPhoto

  • Finder not opening new window automatically in Mountain lion 10.8

    I recently upgraded to mountain lion 10.8 from Snow Leopard 10.7. Before when I rebooted the computer the Finder would always open a new window.  Now it does not and I have to open a new window every time. Is that the way it's supposed to be or is th

  • Is there a way to try out a phone for a week or so?

    I am getting a little annoyed with Android. I was wondering if there were a way to try out the windows phones with verizon for a week or so. I currently have a nationwide family share plan (but not data sharing).

  • Webpage opens only on the second attempt

    Hello, I am on MacBook Air OS X 10.9.3. There is a strange and annyoing behaviour with Safari opening www.spiegel.de - a popular german news site - and only this site. It always needs a second attempt to open this address in Safari Browser. On my Mac

  • Very thin white line on iPad Mini

    I am seeing a vertical single very thin whitish line on downward side on my iPad Mini Retina Display.I have purchased it 5 months ago and it has never been fallen or damages.Please tell me what to do?