Transmit/Receive Manchester signals using digital output of PCI 6224

How can a manchester signal be transmitted and received using the DIO of the pci 6224 board?
I want to create a NRZ manchester signal on a digital ouput channel and then have the ability to receive and interpret the same type of signal on a digital input channel.
Any assistance would be greatly appreciated.
Solved!
Go to Solution.

Hi VJohnson,
You might find this discussion forum post useful.
Looks like LabVIEW does not have Manchester coding/decoding built in, but it should be do able in your VI by replacing every element with the corresponding two elements, and using double the baud rate as your clock rate.
Thanks
Scott M.
Applications Engineer
National Instruments

Similar Messages

  • Measure rpm and PWM signals using digital input of NI9401 module

    Hi, is there a simple way how measure rpm (to 5000 rpm) and PWM (about f=3kHz) signals using digital input of NI9401 (ultrahigh-speed digital I/O)  module plugged in NI 9172 ?  I will wellcome any suggestions and VI examples (bether still). I'm begginer using LView 8.2. I apologize for my poor English. Many thanks.

    Hi CUA,
    Since you have already the right tools, you just need to get started with the software. The NI-9401 will give you access to the counters that are inside the cDAQ chassis 9172.
    You need to place the module in slots 5 or 6. You can read in how they work and how to configure them in the counters section of the user guide found here.
    Now to measure rpm, you can either measure the period of the signal (seconds) and multiply by 60 to have minutes and the number of ticks per revolution. You can find a shipped example to read period called “Meas Dig Freq-Buffered-Cont-Large Range 2 Ctr.vi” found under Hardware Input and Output » DAQmx » Counter Mesurements
    To measure PWM, it is similar procedure and you can read the semiperiod (high time or low time). There is also a shipped example called “Meas Semi-Period.vi” found under the same location.
    There is great information for these kind of task at this page or just post back if you need to.
    Hope this helps.
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • Is it save to use digital output as a digital input signal for another channel

    Hi all,
    I know this is a stupid question, but I do not have other signal generator by hand. So what I want to know is, can I use the digital output signal of my USB-6001 as an input signal for the same device but on other digital port? I did not try out directly because I do not want to burn the device down......
    Thanks
    Solved!
    Go to Solution.

    I do loop backs all the time, especially in my test systems as a way of making sure my signal is making it to the UUT pin.  I typically throw in a 10k resistor just in case, but I have never had an issue.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • CFP-2220 using digital output for status to another cFP-2220

    I have two cfp-2220 that I want to connect with each other using the DIO's of 5V that they have.
    The problem that I have is that I don't know the impedance to connect the CFP2220-1 Digital Output 1 to a relay for switching the CFP2220-2 Digital Input 1.
    I am using a relay for interfacing the signal. This relay needs 34mA 5V to operate. I am not sure if the CFP2220 would have the needed power to turn the relay on and to close the contact that will operate the CFP2220-2 Digital Input 1. In the user manual of the CFP2220 does not mention anything about it.
    Thank you!
    Gilberto Garza
    Solved!
    Go to Solution.

    Hi ggarza:
    Here is the current specification for the digital outputs on the 2220: http://digital.ni.com/public.nsf/allkb/0147137D2442E4A9862572C100758895?OpenDocument. As you can see there, it only supports 3mA, so it would not be possible to use this relay. In addition to this, you should be careful using this outputs, as the manual specifies they are not isolated.
    Greetings,
    Juan Gil
    NI México

  • Horrible feedback using digital output SB0

    Hi,
    I have a Music Xreme SB0460 sound card for my home theater PC to get the digital signal to my A/V center. The card worked fine until I upgrade to Vista and could never get it to work. So I went back and installed XP, but then it updated to XP sp3 and it has been a disaster ever since.
    I downloaded the correct driver and installed it, but now when I use the digital output on DVD's, I get this feedback of about second of audio that jsut keeps looping, it changes every few seconds as the DVD plays. If I pause the DVD, the feedback loop continues so whatever is looping at the time of the pause, keeps on going indefinately.
    I have turned of all functions of the card in the console, except keeping the SPDIF on at 48k and setting it to external Dolby Digitak and DTS decoders. The Dolby Digital light comes turns on on my reciever so I think the signal is getting through but the computer is generating this feedback loop.
    I have played with this for months - with no luck.
    I noticed I have 2 consoles - the old style tabbed, and the newer graphic - is it possible I have 2 console apps running at the same time?
    Any help would be appreciated.
    Thanks
    TedT
    CA

    I have exactly the same problem!
    Someone please help!
    Message Edited by 3LT on 2-5-2008 02:56 PM

  • How to use Digital output to turn on sensor for Analog Input?

    I am trying to use a digital output to turn on an array of sensors that I then wish to read on 16 analog input lines. I have a 6024E DAQ card. I am planning to take data at 10-20 hz, so not terribly fast, but I will be acquiring for long periods of time (days) so I will be streaming data to disk.
    I have a fair bit of experience in Labview basics, but can quickly get out of my depth when I try something new (like this). I have V6.01.
    It looks as though the best way might be to do the DO and then a single AI as individual events, then write to disk and continue through the loop. I am puzzled, however, how to keep this cycle on schedule given that I don't know how long it will take to sample 16 channels
    , write the data to disk and get back to the starting point... perhaps this is so fast that I don't need to worry about it? The actual timing of the samples (be it 10 or 20 hz) isn't too critical, as long as I can record at what time they were taken... it would be frustrating to find that I was several seconds off after days of data.

    Hello,
    Thank you for contacting National Instruments.
    If you are worried about the time of your acquisition being off, then you should associate each voltage measurement with a timestamp. This will allow you to know the exact time at which the sample was taken and you will never be off. You can use the Get Date/Time in Seconds.vi in our while loop with your AI code so that you can read a sample and read the time. You can than log the voltage value and the timestamp to your file.
    Regards,
    Bill B
    Applications Engineer
    National Instruments

  • Play stereo mix using digital output?

    %With this option in console launcher checked and unchecked, what is the difference for you?
    I havent found anything in the documentation, except this plays whatever is coming into your line in jack?
    Thanks for shedding light

    This enables simultaneous audio out on both the analog and the digital outputs. Found it here:
    http://support.creative.com/kb/ShowA...spx?sid=107538

  • Trouble specifying TTL for digital outputs from PCI-6221

    Hi!
    I'm trying to generate TTL output signals using a PCI-6221 daq board - within Labview, I'm using DaqMx to create two digital waveforms and then write these. When I plug in an oscilloscope, the shapes/frequencies of the signals are correct, but the lower value is 0V, and the higher value is 1V, rather than the TTL values. Is there a way to specify these voltage levels to TTL within the software? I see from NI help that "do.logicfamily" exists to specify TLL, but when I add a property node and connect it to the channels, I do not see Logic Family as an option under "digital output." Let me know if you have any ideas!
    Thank you,
    Emily

    Set your oscilloscope to use 1MOhm impedence.  Your problem is that the maximum current for those DIO is 24mA.  1V/50 Ohms = 20mA.  So you are current limiting the digital outputs.  If you need more current, then you need to add in some digital buffer chips that can output more current.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Receive GSM signals using USRP 2920

    Hello every one 
    I'm working on cognitive radio project on the GSM band 890 MHZ–915MHZ uplink 935–960 downlink and I use energy detection technique for spectrum measurement so I'm questioning for the minimum power the usrp can detect note that the power of signals for downlink (-60dbm -100dbm ) and for uplink (-70 dbm to -90 dbm)
    Mohamed Hantera

    Hi Mohamed,
    The USRP's receiver senstivity (i.e. minimum detectable signal) is dependent upon a variety of factors including carrier frequency, modulation, error correction coding, data rate, error rate, and receiver noise bandwidth. Using higher throughput data rates such as 320kb/s versus 32kb/s will negatively affect the sensitivity. Error correction techniques such as Hamming code versus reed-solomon codes for example will also affect the performance and so on. In essence, the only universal measurement that is not dependent on the aforemtentioned factors is the receiver noise figure. The receiver's sensitivity can be derived with the preceding info, and noise figure which, per the specifications, is between 5 to 7 dB for the USRP-2920.
    Regards
    Doug W.
    Applications Engineer
    National Instruments

  • PCI 7342 digital output

    I am using PCI 7342 motion controller and UMI7772. There are 6 relays in my system, which are 24Vdc coil voltage and 37mA coil current for each. Can I use digital output on PCI 7342 through UMI7772 to drive these relays?
    PCI7342's digital output is 0-5V, 24mA, but through UMI7772, I can get 5-30Vdc, 100mA output. Am I right? I am not sure 100mA is total or for each output.
    Thanks for reply.

    Don't forget that a relay is basically an inductor and therefore the inrush current can be somewhat higher than the rated current. But I don't think that this might cause problems in this application.
    In any case you should connect a breakdown diode in parallel with the relay coil to keep off inducted voltage from the 734x outputs, or some other snubber circuitry.

  • 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.

  • Sequential Digital Outputs or Counters

    I am trying to sequentially flash four digital outputs.  I want to run them at a frequency, with 25% duty cycle, one after the other.  To be clear, output one on for 25%, output two for 25-50%, output three for 50-75%, output four 75-100%, then repeat.  I tried using four counters, but they are not synchronized, so the pulses do not stay sequential.  I am using a USB-6143.  This seems really basic, but I am a pretty new user.
    Thank you - 

    Assuming you are using the USB-6343 (there is no USB-6143, although there is a PCI variant), you can either run 4 counter output tasks with triggering and appropriate initial delays, or you can use a single digital output task with the appropriate waveform--for example, using lines 0:3 you could generate {1, 2, 4, 8, 1, 2, 4, 8 ...} to get the desired waveform.  The frequency of each output would be 1/4 of your sample rate (the sample rate is configurable).
    Either method would work, but using digital output seems like a much more straightforward way to go about generating your signals.
    Best Regards,
    John Passiak

  • X-Fi Titanium digital output h

    Hi,?
    I'm using the digital output of my card to output to a Pioneer 5: AV receiver.
    I've used this receiver with many things, and have yet to have a problem with it, but for some reason, I can only get audio when I select 'Play Stereo Mix using Digital Output' in the settings - and in this case, it's obviously only stereo, not multi channel. If I don't have this selected, I have no multi-channel audio what-so-ever not even from the front 2 speakers.
    Can anyone help?

    Is this for games or music? Anyway make sure you have downloaded the latest drivers, there is a brand new set out today. Secondly make sure you have set your sound settings to "speakers" in the vista ( not creative ) sound panel. Finally under the encoder settings make sure you choose dolby digital li've or DTS. I prefer DTS with DTS connect for music as it sounds better than using DDL and CMSS3D which distorts sound.

  • DAQ error on digital output.

    I use a MIO-16E board on my Mac G4. Its analog input and analog output work
    fine. However, whenever I use digital output, I get a error code -10008,
    which means "the group is invalid" (?). This error is generated by "DIO port
    Write".
    Does anyone know what it really means? Even the examples come with LabVIEW
    get the smae error message. Your help is appreciated.

    I believe that the default for digital i/o is that they are configured as
    inputs. If you didn't use DIO Config to set them as ouputs, that might explain
    the error message.
    "Joseph Chao" wrote:
    >>I use a MIO-16E board on my Mac G4. Its analog input and analog output
    work>fine. However, whenever I use digital output, I get a error code -10008,>which
    means "the group is invalid" (?). This error is generated by "DIO port>Write".>>Does
    anyone know what it really means? Even the examples come with LabVIEW>get
    the smae error message. Your help is appreciated.

  • No Center/Sub from Audigy using Klipsch Promedia 5.1 (analog) - NOT a CMSS/digital output qu

    <FONT face=Garamond>I am receiving no center/sub output from my Audigy Platinum card. I have had the card installed on the same system (P4 3.0/ASUS P4800 Mobo/Win XP Pro SP2) for a couple of years with no problems. I recently began experiencing intermittent loss of my center/sub channel. Since I have not changed the connections in quite some time, I was able to rule out an improper output connection. Also, I was able to independently test the speakers themselves and the center and sub are both functioning. Additionally, I switched my Klipsch volume/channel output controller to headphone mode and ran the Creative Speaker diagnostic and I hear four channels (FR/FL/RR/RL) in the headphones (as I do with my front and rear speakers) but I <EM>do not</EM> receive any signal for the center channel (i.e., no "center channel" speech signal). Based on all of the above, I am certain that the speakers are functioning correctly (I am of course using them in analogue mode), there is no "switch" on the rear of the subwoofer for 2/2., all of my Creative and windows software are configured for 5. audio. I have uninstalled and reinstalled all of the creative drivers and software (using Driver Cleaner Pro in Windows Safe Mode) and reinstalled from my original Audigy CD and then performed a complete Auto Update from the Soundblaster.com site. <Still no center/sub even in diagnostic test!!!!
    <FONT face=Garamond color=#ff0000 size=4>
    I want to be clear: I am not confused about CMSS 5. gaming/audio issues; I believe this is purely a soundcard output issue. Despite all the grousing I read about the Creative driver series, I have been most happy with the Audigy Plat card. It has performed extremely well with the Klipsch 5. in gaming, DVD, and audio contexts for several years through numerous driver updates. I know how to configure the settings to get true 5. in any context. However, now I am completely stumped. Is there anything I have overlooked or might try so I do not have to conclude that this great card has just "crapped out" and now needs to be replaced?
    Thanks for listening.
    Message Edited by whander on <SPAN class=date_text>0-23-2005 <SPAN class=time_text>06:26 AM
    Message Edited by whander on 0-23-2005 06:30 AM

    <SPAN>Thank you! I had my digital coax connected there with an adapter, but since that can only carry ac-3 and stereo signals im better of using direct 5 chan ( i don?t watch movies on my PC... that?s what the home theater is for) Most games use EAX or some other direct sound, so ill stick with 5. direct analog. who would have thought the digital jack was also for center/sub heh.
    <SPAN>
    <SPAN>Thanks again man!

Maybe you are looking for