Can 7 phase shifted 1kHz digital squarewaves be output using E-series DAQ?

Is it remotely possible, using a PCI-5052E board, to generate seven different 1kHz squarewave digital outputs that are phase shifted (0 to 180 degrees) relative to the first output.

Unfortunately, I wouldn't consider this very likely at all. While there is 8 DIO lines on this boards, you only have immediate software update control over them. (No strobed, hardware-timed output.) So you'd need a program that constantly toggled the state of these lines which would not be very fast or deterministic for that matter.
A PCI-6602 counter-timer board would be a more likely solution and costs much less than a 6052E. However, you'd have to trigger each output at the right time in order to get the phase shift. The most flexible solution would probably be a PCI-DIO-32HS.
-Russell

Similar Messages

  • Can you perform simultaneous timed digital input and output using a PCI-6120?

    Is it possible to do simultaneous timed digital input and output using a PCI-6120? It seems that timed digital operations require using the group read/write commands, which utilize an entire port. Since the PCI-6120 has only 1 digital I/O port, I would like to be able to use 2 lines as outputs and 1 line as input, and do both in a deterministic fashion. i.e. create a digital signal with known pulse widths and read an input line at a known time after the outputs were set. Is this possible to do with only one digital I/O port?

    Hello,
    This can be done in LabVIEW. There is actually an example that installs with NI-DAQ.
    Below is a link to a Knowledge Base that explains how to find the correlated digital I/O examples.
    http://digital.ni.com/public.nsf/websearch/B849664604EB34B886256D12005B5520?OpenDocument
    Just take a look at the example titled �Continuous CDIO with external clock (E).vi�
    Best regards,
    Justin Tipton
    National Instruments

  • Comparing digital input and output from two different DAQs

    I want to create this program where the digital output lights up LEDs at random and push buttons are the digital input part of another DAQ are pushed. When the correct button is pushed, the score will increase by 1. My code doesn't work though. Can someone point my errors to me? Both the DAQs i'm using are USB-6008 DAQs. thanks
    Attachments:
    Untitled 1.vi ‏41 KB

    Let's start with the digital output
    What is this code all about?
    Do you want only one of the 8 led's to lit randomly or are multiple led's also ok?
    The two possible codes are in attached file SNAG-003.jpg
    Connect the output of the "Scale by power of 2" function or the "Multiply" output directly to the Write DAQmx vi
    I don't understand the purpose of the "Boolean Value" and "Replace subset array" thing, so I skipped it
    Attachments:
    SNAG-002.jpg ‏49 KB
    SNAG-003.jpg ‏22 KB

  • How can I create software start and stop trigger in LabView using 6023E series DAQ card? I don't want to use the external trigger.

    I am using 6023E DAQ card to collect the signals, such as AE, Force, Torque from the machine. I want to collect only some part of signal for example between start triger and stop trigger. I'd like to know how I can creat those triggers in LabView from one of the channels that I am acquiring at the same time. I found one or two library file that is only for start trigger. I know that this is availabe in some of DIAdem functions. Please let me know if you have done some example for this requirement.

    If you are wanting to create a software trigger based on an analog input voltage in LabVIEW, there are several options. One suggestion would be to compare the voltage values from one input channel to a number within a loop. If the input voltage crosses that threshold (is greater than the number), have a case statement that will acquire data from the other channels. This would simulate a software start trigger in LabVIEW.

  • Phase shift with filter

    Hi
    is it possible to get a graphic phase shift, for a filter such as butterworth filter with labview (for my own parameters : cut off frequency, and sampling rate)? 
    thanks

    Sure.
    Do you know how to calculate the phase shift of a filter wrs its transfer function (LabVIEW notwithstanding)?
    Have you googled "phase shift of (digital) filter" both with "digital" and without in the search term? Once you've got the math right for your filter, you can calcuate and graph whatever characteristics you want with LabVIEW.
    There's a lot on the web (and at NI.com) on this.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • How can i get the Icons in the output of ALV?

    Hi,
    I am trying to get the Icons in my report output using ALVs.
    i am adding the following line
       line_fieldcat-icon = 'ICON_GREEN_LIGHT'. in my field catalog for getting the respective Icon in the list. but the Icon is not getting displayed?
    May i know whether the above specified line is correct or not? if not, how can i get the Icons in my output using ALVs?
    Thanks and regards,
    Ramesh.

    Hi,
    take idea from this code :
    INCLUDE ICONs.
    WRITE : / icon_green_light AS ICON.
    WRITE : / icon_red_light AS ICON.
    write : / icon_yellow_light AS ICON.
    OR
    add code as per steps below in your ALV report :
    <b>FIRST :</b>
    INCLUDE ICONs.
    <b>Second :</b> in your internal table add : 
    icon type icon-id,
    <b>Third :</b>
    add this value in icon field for green light.
    itab-icon =  '@08@'.
    append itab.
    <b>Fourth :</b> display
    is_fieldcat-tabname     = 'IT_FINAL'.
    is_fieldcat-fieldname   = 'ICON'.
    is_fieldcat-col_pos     = '1'.
    is_fieldcat-outputlen   = '12'.
    is_fieldcat-seltext_l   = 'ICON'.
    APPEND is_fieldcat TO it_fieldcat.
    CLEAR is_fieldcat.
    Reward points, if helpful,
    Sandeep Kaushik
    Message was edited by:
            Sandeep Kaushik
    null

  • How can we change output pin for counter in X series daq

    hello every one...
    If this question is repeated then forgive me and direct me to that.
    I am using X series DAQ USB-6343. In specific instant i want counter output at specific pin and then agian for other requirement i want it to other pin. plz so me some path. i try to find thing but i was not luck...
    thanks & regards,
    Solved!
    Go to Solution.

    Attached is my example (it provides both methods discussed).  I used a text panel with the same device to count edges on PFI0.  Methodology:
    1) Run Example and export to PFI0.
    2) Stop Example
    3) Change output terminal to PFI1
    4) Run Example
    Notes:
    For Method 1, I would continue to see counts until I stopped and started the test panel.  Without digging it to deeply it appears as though the route is not released until the edge count timer is stopped.  Stopping and starting this counter stopped the counter from seeing edges on PFI0.
    For Method 2, I stopped seeing edges immediately after stopping the CO Pulse Freq task.
    Hope that helps,
    Dan
    Attachments:
    DiffCounterOPModified.vi ‏23 KB

  • Determine phase shift ben input & output

    hello guys,
    I want to determine the phase shift between input and output signals. I want to measure the phase difference as lomg as I apply input. And save that to a file for reveiwing it later.Can anyone please help me with that. I am using Labview 7.1.
    Thanks,
      Jinal    

    Hi Jinio,
    Please take a look at the following KnowledgeBase article:
    How Can I Determine Phase Mismatch Between Two Channels?

  • How can I create a phase shift that will cause cross-cancellation?

    I recently recorded something using a USB audio input, and after it was done realized that a cellular device had interfered with the signal and I have a terrible hiss, some clicks, cell noise, etc. in the recording. Setting a noise print and running "Reduce Noise" did more to help this file than I ever would have thought possible (thank you Apple!!), but I think I might be able to do even better.
    The left channel has the audio I need, plus all the noise. The right channel has ONLY THE NOISE! Can anyone think of a way that I can use this right channel to create a cross-cancellation of the noise in the left channel? Theoretically, this should create a perfect (or close enough to it for me) file, should it not?
    The phase shifter doesn't seem to have what I would need to do this, but I'm sure some audio genius out there can think of a way I can either do this manually or with a filter or effect.
    Thanks for any suggestions!

    Hi Glen,
    IF you were to take two +identical signals+, sum them in equal amounts and flip the phase on one of them 180º to the other you will get +complete cancellation+.
    According to the manual on page 221 the Process>Invert will do this.
    Invert
    +Choosing this command inverts the phase of each sample in the audio file or selection.+
    +Each sample’s amplitude is unchanged, but the phase is inverted. In the waveform+
    +display, the wave’s crests become troughs and vice versa.+
    IF your R channel is the exact same noise as the noise in your L Channel then this technique could work for you.
    You can test this out with any track -> put a copy of it on another track and Invert, they resulting playback will be total silence.

  • Can I connect the digital output of flat screen to digital stereo output?

    can I connect the digital output of flat screen to digital stereo output? 

    Hello JRefugio,
    Welcome to the Sony Community.
    Are you referring to a Sony flat screen TV? What is the model number of the device to which you wish to connect the digital output from the flat screen? It is required to know the exact model number of the Sony product so that the appropriate information can be provided.
    Thank you for your post.

  • How do I apply a uniform phase shift to a waveform?

    In LabVIEW 6.0, I am attempting to apply a uniform phase shift to a non-periodic waveform but have run into a problem. Theoretically, if I take the Fourier transform of the signal, apply an offset to the phase and then take the inverse transform of that, the output of this process should be my original waveform with all of its frequency components delayed by the same number of radians (different amounts of time). However, I am not getting this result from LabVIEW. In the attached example code I generate a sine wave burst, take the FFT, convert from cartesian to polar, apply an offset to the phase, convert back to cartesian and take the inverse FFT. However, instead of getting a phase-shifted, same-amplitude versio
    n of the input at the output, I get an amplitude shifted, same-phase signal. What am I doing wrong?
    Attachments:
    phase-shift.vi ‏51 KB

    This only works (partially) if your array size is an integral power of 2 (e.g. 512, 1024, etc.), i.e. in cases where the fast fourier transform can be used.
    You need to use the complex FFT (and the hilbert transform)
    Please see my example posted HERE
    LabVIEW Champion . Do more with less code and in less time .

  • Phase shift, frequency of 2 analog signals, Diadem 9.0 or 9.1

    I have to acquire 2 signals: FORCE (N) and VELOCITY (m/s) for many frequencies parameter in Diadem 9.0 (5 to 150 Hz). This frequency parameter is a analog voltage output signal which is converted in frequency by a frequency vibrator instrument. The measured signals on the vibrator (force and velocity) are considered as SINE Functions. – 1) How do I measure the output frequency of the two signals and how can I save this data ? – 2) How can I estimate the phase shift between FORCE and VELOCITY ? – 3) How can I automate the estimation of the phase shift by the 145 measurement (150-5Hz) ? – 4) Is a continue measurement of Phase Shift depending on the frequency possible ? – Best Regards from Germany and from France.
    Jean-Pierre, Junior Engineer Germany

    Hello KenT. I have test your DIAdem exemple. Your idea with a stop-time was not bad for measuring the phase shift beetween 2 generators by 1Hz. I have used this formula by many phase shift and it works. I had change the 2 generators frequency by 2Hz, and the formula works not anymore and that is normaly because of the reduce of the periode lenght (this problem have I show on Picture 3 of the PDF Data). On the picture 6 and 7 have I try to make another solution. My new solution works only for frequency from 1Hz to 5Hz. What about frequency like 150Hz ? I don't know if you have understood what I realy want to do, but if you have any idea to resolve my problems, please write to me. '[email protected]'
    Jean-Pierre, Junior Engineer Germany
    Attachments:
    DIAdemTexte.pdf ‏435 KB

  • What you hear recording sounds like Phase Shifter!

    Hi, when I record with "What you hear (from youtube, etc.) it sounds like it came through a phase shifter: real bad. I have a dell xps 420 with Vista 32 bit and it'scame bundled with?creator premiere, adobe soundbooth, etc. Intel core tm2 quad cpu, 2.66 Ghz, memory 4GB
    it seems to record ok with line in and mic. Can someone please help?

    Actually, there's discussion about this all over the Internet.
    The problem is your move to Vista and Windows 7
    Under pressure from the record companies, the ability to record the Stereo Mix output of you computer has been disabled or removed from many new computers.
    You may be lucky and find it's only been disabled on your machine.  If so, then do the following:
    To enable:
    ->> go to Control Panel
    ->> Hardware and Sound
    ->> Manage Audio devices
    ->> in the Recording tab window right click in the white area away from any devices and from the menu enable "Show Disabled Devices" and "Show disconnected devices"
    ->> right click on Stereo Mix to get the properties window and in Device usage "Use this device (enable)"
    However, there have been many reports in here (you can do a search) that some computer manufacturers are actually removing this ability entirely, again under pressure from the record companies.
    This being the case, you might try some software called Virtual Audio Cable: http://software.muzychenko.net/eng/vac.htm
    You have to pay for it but at least there's a trial version so you can see if it works for you before laying out your money.
    Bob

  • Distance measurement using Ultrasonic sensors and phase shift method

    Hi, 
    I've recently started a project where the idea is that we have an ultrasonic transmitter and a receiver. The transmitter will send out a signal at 40 kHz that will hit some object, most likely a book, and reflect that signal to the receiver. The received signal should have a phase difference from the outgoing signal. Now, when we vary the outgoing signal, the phase shift should also change. Likewise, if we vary the distance to the object, the number of wavelengths that can fit in between the object and the transducers should also change. We would multiply the incoming and outgoing signals and measure the beat signal, but I'm not sure how we would do this in labVIEW. We can calculate the distance to the object by figuring out what d(phase)/d(frequency) is. So far,when I am having problems with actually getting an incoming signal and figuring what that phase shift is. I'm not sure how I could use simulate signal to accuately and precisely send out a 40 kHz sine wave, and then vary that signal by steps of 1 Hz. I have also tried using a signal generator, and having once BNC cable go to the input of the transmitter and the other going to input of the DAQ. I have another BNC cable going from the output of the receiver to the input of the DAQ. I had multiple channels on my DAQ, and used split signals to see the transmitted and received signal. But this doesn't seem to be working. I also tried to add gain to the received signal, but when adding an Op-Amp LF356 to the receiver, the signal completely disappears. Attached are some of the VI's I have, but none of them seem to be working. Thanks in advance for any help. 
    Attachments:
    Latest version of final.vi ‏64 KB
    Draft for final project.vi ‏89 KB

    Have you done the basic physics and mathematics? For the speed of sound = 343 m/s and the frequency = 40 kHz the wavelength is 8.6 mm. At 40.001 kHz the wavelength is 214 nm shorter.
    So, how do you propose to keep track of the number of wavelegnths if the target moves more than 8.6 mm?
    To measure a phase shift you must have some kind of reference. Typically a fraction of the transmitted signal is used as a reference.  Since you probably do not know how much phase shift occurs in the power amplifier driving the transmitter or between the electrical signal at the transducer and the acoustic signal in air, it is usually best to measure both, ideally with the same receiver and amplifiers.
    The LF356 should be good for modest amounts of gain. The transducers can look like a capacitance to the circuits. Do you have a DC offset which is saturating the amplifier?
    Lynn

  • Fourier analysis on phase shift oscillator skewed by initial buildup to oscillation?

    Is there a way to start a transient analysis at time t=0, but not save simulation results until after the "transients" have died out for subsequent fourier analysis?
    When doing a fourier analysis of the output of a phase shift oscillator, the THD values from simulation are much higher than those from measurements on the same circuit.  I am assuming this occurs because it takes a finite length of time for the oscillator output to reach the expected output voltage magnitude and frequency.  Including this transient regime in the fourier analysis would skew the results. 

    Hello,
    You can find more information about the transient analysis at this tutorial; Configuring a Transient Analysis in Multisim and you can also find information on fourier analysis here; Configuring a Fourier Analysis in Multisim.
    Hope this helps!
    Regards,
    Sharanya R
    Market Development Engineer
    National Instruments

Maybe you are looking for

  • Bootcamp black screen with Windows 7

    Hello forum, This is one of my very first posts. I'm very experienced with computers, but new to Macs. I am currently trying to install a legally downloaded version of Windows 7 x64 Professional. Downloaded from the MSDN-AA program. I burned the imag

  • Save to iCloud from Pages

    Hi all, i saved a file in Pages, it saved as normal into My Documents, but how does it get on my iCloud ?, i was wanting to continue editing it on my iPad, on which i also have Pages, but i immediately came up against another problem, thinking i migh

  • Commerce server 3.1 installshield problem

    Has anybody else had trouble with the commerce server 3.1 installshield? I'm running windows 2000 professional on a brand new micron machine and it hangs on the installation every time.. Also it never allows you to quit the install (before it gets to

  • Does anyone know where I can get some images for use with Titler Pro 3?

    I am really just trying to get some effects like honeycomb or different color washes for reflections.  Maybe explosions.  They are all put to use from a image if I am not mistaken, new to Titler Pro 3.

  • Lightroom Trial won't open

    I've downloaded the Lightroom Trial to my MacBook Pro 10.7.5 but it says it can't open the file. What now?