Analogue output digital output

Hello,
I managed to create my VI in the proper way I think. I am trying to send a ttl every time my analogue output crosses zero. All whats left now is to transform the analogue data into a digital data and input it into the dammx write for the DO line. I would like to trigger on the zero corssing of the waveform and other intervals which I can select. Attached is the VI, I have created. I have trried to use a loop and find the zeros, but I think its simpler than that. I would also like to add the functionality of triggering eery nth zero corssing since the device I am triggering has a lower max freq then my drive signal
Thank you
Ala
Attachments:
AOTTL.vi ‏209 KB

Hi James,
Thank you for that, Attached is  screen shot of the TTL and the analogue output. As you can see the TTL are not trigerring at a specefic instance with relation to the AO, and the pulse width varies(although this is not critical as I am triggering on the rising edge). I think the best solution would be to generate another simple waveform (WV2) at the same time of the equation waveform with the same frequency (low). Then use that signal to generate the trigger at zero crossing (WV2 labelleb in vi). Then to vary the phase with relation to the AO signal shift the simple waveform by a known phase and still trigger at zero crossing. Attached is the trigger illistration and a VI that shows the generation of the other waveform used for triggering. I have been trying to do this but to no avail.
Thank you
Ala 
Attachments:
AOTTL.vi ‏241 KB
Trigger illustration.jpg ‏145 KB

Similar Messages

  • Question on the optical digital output.

    Can anyone with a new iMac give me some clue as to what the optical digital output looks like?
    As I understand it, its combined with a headphones port, this is where I am confused.
    Does it look like a standard Phono type input (Coaxial) or does it have a little red light shining out?
    I need to know before I order as I want to output to dac.
    Cheers

    The optical Jack is just like the normal mini-jack you use for the headphones.
    You have to look for a "mini-toslink" cable or adapter. Since most receiver have Toslink digital input, you should buy a toslink-toslink cable and a mini-toslink adapter.
    you put the mini-toslink in the headphone output port and the mac automatically switches to digital output.
    If you want to watch to a movie in DVD player, insert the DVD, press play, press stop, go to DVDplayer>preferences>sound output>digital output.
    I have to choose it every time I watch to a DVD...

  • How do I output digital/analogue signals based on a text file

    I have a CSV file with three fields in each record; time, rpm, and a voltage. A sample file is attached. The rpm numbers are generated using 8 counts/revolution. I want to replicate this file somehow. At a trade show this past weekend I was told Labview could possibly read this file and output the signals. How would this work? I develop an app in Labview that reads the txt file and then run the app. The app generates the signals using what device? Any info is greatly appreciated, thanks in advance
    Toby

    Many of the National Instruments hardware cards (or potentially third party manufacturers) can be used by LabVIEW to create analogue and digital I/O signals from a text file.
    The PCI cards often have 2 analogue outputs and 8 analogue input channels (often more), as well as Digital I/O's and counter timers.
    I suggest that you firm up your requirements and contact your local NI sales office for specific hardware advice.
    Message Edité par Conseils le 12-18-2006 03:27 PM

  • Dtt3500 and Audigy Gamer, digital output only 2 channel unless its D

    Ok I recieved a response concerning my last comment but unfortunatly it did not answer my question at all. I have a DTT3500 and a sound blaster Audigy Gamer hooked up with the digital out to the /8 din adapter. I try the advanced 3d demo that came with the Audigy software and I only hear the front 2 channels, no center and no rears. The demo where you move the little icons and sound moves along with it. I have 5. activated in my windows control center along with audioHQ and digital out only is selected. my DTT3500 has 4./5. digital selected along with dolby digital/pcm audio and digital in. I am not getting the effect of multisurround at all. My center works and my rears work because playing music I can use all 5 speakers. When I use the analogue outputs I hear multisurround from the advanced 3d demo but my center doesnt work. The analogue setup sounds better but without a center channel its useless to me. Am I doing something wrong? I am using the adapter and digital DIN, what gives? The only reason I noticed I wasnt getting surround was while playing games nothing comes from behind you even on 5. games. The goldmine demo doesnt even work right, when the bird flys behind you it disappears but there is still sound from the rears. Analogue fixes this without a center but the manual and setup say to use the digital din. Do I just have a setting wrong? I would like to experiance the full capacity of multispeakers in my games.

    Dennis,
    With these speakers the connection that I would suggest would be to use the Digital out on the back of the sound card into the DIN Input on the DTT3500's. This will require a converter cable for /8'' Minidin to standard DIN which can be purchased from here:
    http://us.creative.com/products/prod...0&product=0375
    You will also need a standard DIN cable (one should have shipped with your DTT3500's).
    This should give you 5. with digital output only enabled on the Audigy.
    Jeremy

  • Direct Digital Output through Quicktime?

    I've used iTunes for years (ever since my first iPod) and I've never had a problem with it. However two years ago I got a HiFi receiver. Nothing fancy or anything, but ever since I've been wondering if I could some how bypass my soundcard's DAC and get iTunes (through Quicktime? I'm assuming iTunes uses Quicktime to decode audio. If I'm wrong could someone please move this thread to the iTunes for Windows sub-forum?) to output directly to PCM through S/PDIF? My soundcard has the ports (both coaxial and Toslink), but the only way that I've so far found to do this is either with an Airport Express (which is pretty much $100 to connect my HiFi which is 2m away from my computer, although currently this is pretty much my only option) or through the 3rd party plugin, multi-plugin (and foobar 2000). Unfortunately multi-plugin doesn't support a version of iTunes that will support my iPod.
    Does anybody know of any other way to get iTunes/Quicktime to output PCM directly and bypass my soundcard's DAC? I can get it to pass it to the soundcard, have the soundcard decode it and recode it to PCM/AC3, but that's basically going from digital to analogue to digital again which is a lossy conversion. 3rd party plugins are fine as long as they work with iTunes 7.4 or newer.
    Plugging my iPod into the HiFi is not desirable as I would like to control the music from the computer.
    Thank you for reading.

    Anybody? Are there any 3rd party plugins for iTunes/Quicktime that I haven't heard of?

  • IPod Touch Digital Output to Stereo Digital Input

    Is there a way to connect an iPod touch to the digital input of a stereo amplifier? All the iPod connectors I've seen, including those for the universal dock, connect to stereos using analog RCA plugs. I'm trying to find a true digital to digital connector cable - without spending hundreds of dollars for one of the digital docks I've seen advertised.

    Is there a way to connect an iPod touch to the digital input of a stereo amplifier?
    There is no digital output on any iPod including the iPod Touch. Both outputs (via headphone jack and dock connector) are analogue.

  • No internal speakers | digital output only | red light from audio jack

    I plugged in a stereo through analogue mini jack to the headphone socket of my mac book pro. When i unplugged the stereo, the internal speakers failed to work. There is now a red light coming from the jack as if a "digital output" is plugged into the socket. But no digital output has ever been plugged into the socket - and I have no control of mute or volume settings.
    When I plug headphones in, they work fine and I have control of mute and volume settings. Once the headphones are removed I am automatically set back to "digital output" with no control over mute or volume, and no audio from m internal speakers.
    I have tried changing the settings in system preferences/sound/settings/output ... but there is no option other than "digital output". I suppose I would like to select "internal speakers" but there is no option for this. And like I stated earlier, the jack is lit up red.
    I've tried software updates, restarts, disk utilities (permissions and repairs including repairing with the startup disk), plugging and unplugging, but to no avail.
    When I try to change the volume on the keyboard's volume controls I get the "no entry" sign under the volume bar and have no control (as if it were stuck on mute).
    The only thing I can think of is that I forced a mini jack into the headphone socket too hard so I'm worried that I've damaged the hardware.
    Could this have caused the problem? Or is this a software issue? Any help would be appreciated.
    In short I have no sound from the internal speakers.

    Same here. I don't remember doing anything out of the ordinary. I was working in Parallels on getting a AM station to stream via some web interface. Next time I went to play sound on the internal speakers, no go.
    I've tried zapping the PRAM, toggling the headphone jack and the toothpick thing. Nothing seems to work.
    I've also noticed that I get sound in my headphones in iTunes but not in Garageband (someone had suggested that starting up Garageband would reset things.
    Any other ideas out there?
    Is there a file that could get corrupted that I could switch out of my back up?

  • No sound other than via digital output

    My sound options suddenly have been reduced to digital out with the volume control in the control bar greyed out and inoperable. Opening preferences only gives me a digital out option - therefore no sound via internal speakers or headphones or any other outputs. This problem literally appeared out of nowhere.
    Any suggestions on how to solve it or why it may have happened gratefully received.

    I haven't seen the new Macbook Pro but In understand that the audio socket is both in and out, which you set in System Preferences - have you managed to set it to input? That would disable the analogue output, though whether it would leave the digital output operational I don't know (there wouldn't seem much point, but there apparently isn't a digital in option).

  • Solution to my Audigy 4 Digital Output probs... please make a stic

    I was recently playing Q3TA with my son when my overheat protection kicked in. I exited to windows to see the temp and throttle back my CPU a tad, and when I returned I had no sound from my digital output. Analog was working fine, however.
    Setup:
    Giga-byte GA-MA78GM-S2H w/780g chipset
    Athlon 64 X2 5000+ BE
    Integrated Realtek HD audio (disabled)
    Integrated ATI HD 3200
    2xGB 800MHZ DDR2
    Creative Audigy 4
    Boston acoustics Digital BA735 2. speakers
    I went over every setting in all of my consoles, HQ's and drivers. I played with driver versions, DirectX versions, diagnostic programs and procedures in the knowledge base. In defeat, I even wiped out my XP install and started fresh with the Aud-4 removed, using analog on the integrated card thru headphones. Then I disabled the integrated card and reinstalled the Audigy 4 only to find that there was still no sound from the digital speakers.
    Solution?
    I[color="#ff0000"] unplugged the power to my speakers, and reconnected everything. As soon as the power was back up, the sound started playing (I had a .MP3 on for testing).
    This stumped me for two reasons that occur to me know:
    . These speakers (and possibly many others) don't fully power down when you turn the volume knob off and the light on the satellites goes out. The decoder and subwoofer unit keep their light on.
    2. Apparently, some situations introduce a faulty signal to the digital output that scrambles the speaker units and they refuse to operate any longer.
    Now I know, unplug the power to my speakers. My system works on all three sampling frequencies in "audio console" 44., 48, and 96KHz. None of the troubleshooting procedures touched my problem, because they didn't even mention the speaker setup, let alone doing a hard reset.
    Please please please!
    Make this a sticky for future me!!!

    The Digital output jack on the card isn't of optical signal type.....you will need to get those I/O module mention bt johnston2 for optical connection.

  • USB-6009 Digital Output Current

    You need to have all those grounds connected together - USB-6009 Digital Ground, ULN2003 GND, and the power supply ground. In this case it will not matter how they are connected.  If they are not connected, then one of the devices could be damaged.
    Lynn

    Hi, I'm trying to increase the voltage of the digital outputs of USB-6009 device. I read a couple topics about using a relay but I could not manage it.
    I was thinking to use 5V supply on the card since it has 200mA current on it, but when I use it with open-collector output, it can not switch the relay. When I measure the current between
    5V and ground: 200mA,
    5V and output, I read a value around 30-40 mA.
    Why can't I use that 200mA with an output? This is the relay I'm using.
    If this is not possible, can I use an external 5V supply (with more current) and a digital output to switch the relay without damage the 6009?

  • USB-6009 pulse train generation with digital output....

    Hello!
    I've bought a new USB NI-Card (USB-6009) and now I'm trying to adopt an old vi that uses traditional DAQ drivers. I wrote that vi for a PCI NI-Card (PCI-6024E), which has two counters to generate two pulse trains simultaneously. Now I've only one counter and that's why I'm searching for a good way to create pulse trains using a digital output! The pulse trains are both ranging between 100 Hz and 100 kHz.
    I'm sure somebody has an idea how I can solve the probem in the best way
    Kind regards,
    Peter

    You can't do it with this low cost board. Both digital and analog outputs are software timed only. The analog out is rated at only 150  samples/sec and the digital is about the same. You can't even use one of the counters because it is not a hardware timed counter output. It is an event counter only as an input.

  • HT5783 My MacBook Pro (Mid-2009) digital output has stopped working. It turns on the red light at the other side of the plug, but fails to connect with my receiver. Output from Airport works fine.

    It was working fine until now, and now suddenly, the sound is gone. I've tried PRAM and SMC reset. Nothing works.
    Using the same cable with my airport express, through airplay, the sound comes out fine.
    It wasn't working when on Mavericks, nor now, on Yosemite.

    Hey marcalc,
    Thanks for the question. I understand that you are experiencing issues with the digital output of your MacBook Pro. The following resource may provide a solution:
    OS X Mavericks: If you can’t hear sound from your speakers
    http://support.apple.com/kb/PH13841
    If you’re trying to listen through a digital receiver
    If you’re using your computer’s digital output port (not available on all computers), choose Apple menu > System Preferences, click Sound, then click Output. Make sure Digital Output is selected.
    Make sure your computer is connected to a digital-ready receiver using an optical digital cable, and that your receiver is set up for digital input (see the information that came with your receiver).
    Try adjusting the volume on your receiver. You can’t use the computer’s volume controls to adjust the volume while using digital output.
    Thanks,
    Matt M.

  • How to give delay in switch on digital output lines

    Hello All,
    I am working on PCI-6514 Digital IO card, I am writing a sequence to my application using DAQmax for  Digital input and output lines
    I want to switch on one output line0 and after a delay 5sec switch on line1 output and after a delay of 3sec switch on line2 output and sense input line 0 and line 1 .
    How can we know the status of output ie output is on or off.
    Since i am using the IO card for first time suggest me in this.

    Hi
    I am going to assume that you are using LabVIEW 7.1 for this application.  If you are trying to acquire data from an external device after outputting data to that device, the DAQmx tristate property node will give you this functionality.
    You will then need a DAQmx write.vi to output your digital data followed by a DAQmx channel property node. Select Digital Output>>Tristate on the property node and wire a true constant into it. After the property node, you can use a DAQmx read.vi to read the data coming into the digital lines. By using the tristate property node, you can avoid stopping the digital output task and starting an entirely new task.  I am attaching an example program that will demonstrate this.
    Regards,
    Hal L.
    Attachments:
    digital input and output.vi ‏39 KB

  • Using mathscript to generate multiple digital outputs for switch control

    Hello 
    I am new to this NI LV and a have kind of a basic question. I would like to use Mathscript to generate an array of bolean numbers which will be used to control the Digital I/O lines. I am using NI 6251 USB device and the Mathscript code runs well. But I have a problem using this array to control the Digital output. So I created a simple test programme where I set the DAQ assitant to generate 4 digital outputs(P0.0 ~ P0.3) and it gives error that  ".. number of channels in the data does not match the number of channels in the task..." (see attachment) . How can I solve this problem thank you.
    Attachments:
    K-9.jpg ‏36 KB

    looks like you did not initialize all 4 of the elements in the bool array....

  • No Digital Output available in Playback devices (USB audio device)

    If one has USB audio device with coax/toslink out, with proper drivers (like ie TurtleBeach Micro Advantage) available & installed then Digital Output is available to select in Playback devices. (and one can play AC3/DTS to external amplifier with ie
    VLC or MPC-HT with AC3Filter DS filter)
    But some USB devices (ie Phonic Digitrack -
    http://www.phonic.com/en/digitrack.html ) do NOT come with drivers (as Windows has default build in). Digitrack uses TI
    Burr-Brown USB Audio Codec 2906 -
    http://www.ti.com/product/pcm2906
    Sadly these Windows drivers do NOT have a clue about what the device actually has as inputs/outputs
    So even it had coax digital out & the sound IS send via it, the actual data send is in right way, not recognized/played correctly by Digital Amplifier (AC3/DTS)
    Does anybody know of a hack to make Digital Out available?
    Seb

    Hi,
    Generally speaking, An Audio Device do need more driver besides USB driver to make itself work properly. In terms of your situation, USB driver is not enough to make your Audio Device works properly.  I think S.Sengupta
    is right. Actually it would be better to contact Digitrack support to confirm its product compatibility with Windows 7.
    Roger Lu
    TechNet Community Support

Maybe you are looking for

  • Problem in Stock Transfer

    Problem of Stock Tranfer : Branches not make any STO for transferring any faulty material to Mahape, Because some material which are physically hold to branches not show in SAP Stock Some material are dispatch from one branch to other branch, branch

  • Current Period in material master

    Hi folks, When I create material master in our ECC Dev Server , the current period in accounting Tab shows 01 2008 instead of the present period i.e 03 2008.Why is this? I think some closing of the earlier period is involved which I am missing. Would

  • Progress Bar

    I'm using Illustrator CS3 and I print any large art file and the Printing Progress bar stays up long after my print job has gone through to the printer. Only way to stop is to quit Illustrator help please.

  • Why are my chapters not working?

    I've marked my chapters in FCX in the correct place in the time line. Have ticked the right box while exporting file. They work fine in the preview of iDVD. I have four video files added to my iDVD project. Once burnt, and the disc is played back, wh

  • APPLE SCRIPT HELP! Simple Renaming Script

    I dont have any experience with apple script but desperately needed this for a work issue. I basically have tons of files with all the same type of name and need to send the first two numbers in the file to the end of the file as a suffix... so this.