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

Similar Messages

  • How do I keep a digital output from SCC DO01 from fluctuating states?

    Background: Hooking an ohm-meter across a digital output from a SCC DO01 isolated optical switch shows that the resistance fluctuates and at times goes open circuit. It appears directly related to the LabView code where I'm writing to this digital line within a WHILE loop. The loop has a variety of other operations going on. These other operations, I believe, are causing this problem due to timing or something.
    How can I improve the reliability of this digital output? There must be some method of establishing priority within a WHILE loop.
    Really appreciate the help.
    Hunter

    Howdy, Justin
    Thanks for your reply.
    I've actually been connecting the meter across Vss and Vout. Actuating the digital output, I can see the state of the switch. Attached is the VI which involves this DO01, specifically, it's associated with the VFD RUN/STOP.
    Since I sent this question out, I've actually gotten some help from Andy Watchorn of NI. This switch holds state much better.
    All the best,
    Hunter
    Attachments:
    VFD_ControlVIs.zip ‏120 KB

  • HT4009 having trouble getting purchases for candy crush from the iTunes Store, any suggestions ?

    I am having trouble getting purchases for candy crush from the iTunes Store, any suggestions ?

    The problems being ? Does the 'buy' button not work, do you get any error messages ... ?
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (on these forums we won't know why the message is appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • Audigy 2 value where is the option for digital output? Help

    i have the creative inspire 5700 and the audigy 2 value but i cant find the checkbox for "digital output only"
    where can i find it's Pls help me !!!

    That is not the problem however it is located in the speaker setup window and all it does is disable the line outs, digital is always turned on and cannot be turned off. I suggest you re-read the 5700 manual. Tell me which lights you have on.

  • Error 200141 when trying to measure motor encoder's speed from PCI 6221 card,

    Hi,
             I was trying to measure angular speed of a motor from its encoder signal. I'm using Ctr pin from PCI 6221 card take signals from the encoders. The problem comes when I've got an Error-200141 saying "data was overwritten before it could be read". I have tried a few ways as follows to overcome this problem.
         - Use DMA
         - Get rid of the noise from the signal by shielding the wire from encoder to DAQ card and using a capacitor.
            None of those seemed to solve the problem completely. Even though the noise from the signal was removed, I could still see the mechanical glitter at the edge of all the pulses from the oscilloscope. Is that a possible cause of this problem (my technician told me we can do nothing with this glitter. In other words, we can't remove it)?
            Please suggest me how to solve this Error-200141. With this message, I have also attached VI.
            Thank you very much.
       Regards,
       Suksun
    Attachments:
    Meas Dig Period-Buffered-Continuous-Low Freq 1 Ctr_Angular speed from encoder.vi ‏72 KB

    Hi Suksun,
    Only had a quick glance at your code, but can you drop the samples to read to 100.
    I think what the problem is from what I can make of your code, is that
    you have a low frequency counter, that you measure on the rising edge,
    however if you don't get a 1000 pulses within 100 seconds, DAQmx will
    report an error. So by lowering the number of samples to read you
    should be able to get 100 samples in 100 seconds, you should not
    overwrite data as the buffer will be sized correctly.
    Hope this help
    Regards
    JamesC
    NIUK AE

  • No digital output from 6 year old Sound Blaster C

    Hey Everyone, I'm new to this board and have a question. I recently purchased a custom-built computer with an ASRock PCI Express motherboard with
    onboard speaker and mic inputs. I have Boston Acoustic BA735 digtal speakers. I can only get
    analog from the onboard sound. I removed and installed my 6 year old Sound Blaster Li've
    Value card (Model # M48309403265) from my old Gateway PC into my new one, and installed
    the Li'veDrvUni-Pack update for Windows XP. I can't get any digital or analog output from the
    card. I tried my mic on the onboard input, but kept getting pulses at regular intervals on
    my WAVforms or sonographs. I plugged the mic into my old Sound Blaster card and the pulses
    disappeared, so I know the mic is working. With all the info I've provided, is there a patch
    or update or anything for my old Sound Blaster Li've card to get digital output?
    I tried the Sound Blaster Li've 24 Bit card, but returned it because the same input for the
    speakers is the same for the mic. Also, there's no gameport on it.

    Yo, BadBoy! Phew! Man, you helped me out a bunch. I had to do some tinkerin' between the drivers from Gateway and the Li'veDrvUni-Pack. I had to install it without the windows drivers from Li'veDrv... and start clean. I'm now getting digital output and my mic is working on my old card. I can't get the Creative Surround Mixer from my old card's software, or from Li'veDrv.. but I can use Windows' Volume Control. If you want to see why sound is so important to me ya' can check out my site at http://www.ramseybotelho.com. Thanks again, Dude.

  • How to read back the output state for digital output or anlog output ?

    I use NI-pci 6221(68PIN) Accquistion card to do measurmet,after i do digital output ,or anlog output ,I find that the output will be maitained by the card.even after i exit my accquistion program.But if i reset the card ,the ouptut also will be reset.
    Now if i don't reset the card ,how can i read back the output state,?

    Hi Mike,
    There is no way for you to internally route an analog output to an analog input. The only solution is to physically connect the two lines together with a wire.
    I came to this conclusion through the following steps:
    1- Start MAX and select the DAQmx device under "Devices and Interfaces>>NI-DAQmx Devices" that you want to internally route signals through.
    2- Click on the "Device Routes" tab on the bottom of the right hand window (It defaults to the "Attributes" tab)
    3- Line up the Source with the Destination to see if the connection can be internally routed (either direct or indirect)
    I came to the above conclusion by following these steps for a PCI-6251 DAQ device (the analog output & input do not exist in the "Device Routes" tab therefore they do not support internal routing), but you should verify this for your specific hardware. Let me know if you have any other questions/concerns.
    Cheers,
    Jonah Paul
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval

  • LrLogger - any simple way to specify directory for logfile output?

    I realize one can rewrite the log function to do whatever, but is there a way to simply specify a different directory for log output than the Lr default (documents), when using default implementation of LrLogger. - maybe config.lua?

    John R. Ellis wrote:
    The "Lightroom 4 SDK Programmers Guide", page 32, describes how to make an entry into config.lua for finding deprecated API calls.  (That's the only reference to config.lua in the Guide.)
    I'll be danged - that's new in Lr4 (or at least the documentation of it is new), and a very good idea, and one I requested but assumed had been ignored. - I'm stoked. - thanks for bringing it to my attention.
    And, just for the sake of completeness, this is from the api doc:
    Configure loggers using the config.lua file as follows:
    Create an entry for each logger of interest by specifying loggers.loggerName = {...}
    Arguments in the table include logLevel and a string "fatal", "error", "warn", "info", "debug", or "trace".
    For each valid log level, you can add an entry to modify the behavior of log messages for that level. For example, to log to a file, add the entry trace = 'logfile',
    To specify an action for all log levels, add the entry action = 'logfile',
    PS - I just solved the problem in my own plugins by using a custom log function (like in the debugging toolkit's Debug.lua).
    UPDATE: sdkDeprecation.action = "{whatev}" -- needs the quotes.

  • What's the smallest sine wave output from PCI-5401(50&60Hz)

    Want to know the minimal sine wave output from the PCI-5401. Primary use for tests with 50 & 60Hz, with different loads.

    Hello,
    Are you talking with respect to frequency? Using the DDS mode, the frequency resolution is 9.31mHz. You can find more in the appendix B of the manual. I am providing the link below. Please do let me know if you have any questions.
    5401 Manual
    Sincerely,
    Sastry V
    Applications Engineer
    National Instruments

  • Process code for IDOC Output from MIRO

    Hi,
    We need to find the Process code for IDOC output to assign Output type in ECC. We need the IDOC output to some other system like PR while doing the invoice Posting (Transaction code MIRO). We tried Using process code SD09 for the IDOC with IDOC Type INVOIC02. In SD09 we are getting error (Update terminated) when we trigger the output while saving in MIRO transaction.
    Further we understand that process code SD09 is used for SD billing and Invoice process.
    We need your help in
    1.      getting the correct process code for the IDOC generation for Invoice posting thru MIRO.
    2.      If we need to configure one process code, let me know the correct function module for the same.  
    Please Note, we need this as Output Idoc from Invoice Posting MM (MIRO).

    Hi Shankar,
    Thanks for quick for reply. We have tested this process code with IDoc type - GSVERF03 and message type - GSVERF. It worked for us for MIRO transaction.
    we are testing with IDoc type INVOIC02.
    once again thanks for sharing the process code.
    Regards,
    Brahma

  • How to make a ramp for a stepper on PCI-6221

    Hello!
    I'm looking for a solution/example in ANSI-C to make a ramp for a stepper that is connect at PCI-6221 CTR-port.
    The function I'm actually using is:
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "Dev2/ctr1", "", DAQmx_Val_Hz, DAQmx_Val_Low, 0.0, 1000.0, 0.5));
    DAQmxErrChk (DAQmxCfgImplicitTiming (taskHandle, DAQmx_Val_FiniteSamps ,1800));
    So this works fine when the stepper have to run constantly. But for my application I need the use of a ramp. To change the frequency value I have to write in a running Task, but that is (IMHO) not possible? Please correct me, if I'm wrong.
    I don't not know how to change the value unless to stop the task and start it with new value. But this method is not a solution, cause i always stop the motor and start it with a higher frequency from zero. So what I'm actually do is to look after the correct NI-function for my problem.
    If someone has an idea/example/solution, please post it. I'm thankful for all kinds of feedback.
    Best regards,
    Oliver

    Unfortunately, ramping a stepper is not straightforward using the counter hardware.  Under finite generation, the freq cannot be changed on the fly.  And under continuous generation, where freq *can* be changed on the fly, it must be done under software-timed control.  Also,  under continuous generation, it will be pretty tricky to both change the freq on the fly *and* control the exact total # of steps.
    If you need a well-controlled ramp and a well-controlled # of steps, I'd suggest you start figuring out a scheme to use the hardware-timed digital output port (see also "correlated dio").  The big downside is that you'll need to generate a large buffer of digital states to define your pulse train because you'll probably need to output at something approaching a MHz.  Out of those million samples per second, probably only about 0.1% of them represent transitions.
    When these kinds of apps come up, I always put in a good word for one of NI's Alliance partners - Viewpoint Systems, who sells a digital board that works much more sensibly for these situations.  With the DIO-64, you create buffers containing only the timestamps of the transitions and the digital state at those transition times.  So to generate 1000 steps in a second, you'll buffer 2000 states rather than 1,000,000.  You'd also get ~20x better quantization error for your available step rates.
    I've been requesting a buffered counter output capability from NI since before Y2K, so I'm no longer holding my breath...
    -Kevin P.

  • How to get counter values from pci 6221 card?

    Hii
     I am using PCI 6221 card .. In that i am using the ctr o .. In my application i am using Linear encoder to measure the Lift movement.. so from software how to access the counter values i.e how much mm it moves... 

    Measure Angular Position.vi in the LabVIEW examples will be a good starting point. Adapt it to Linear Encoder by clicking on the selector below DAQmx Create Channel.vi.
    You can also create a corresponding DAQmx Global Channel (or task) in MAX and then use it in your code.
    Feel free to post back if you need further help.
    Message Edité par JB le 10-31-2008 02:15 PM

  • How to I connect Sourcing digital output from My Interface Board to NI USB 6501 channel configured as Digital input

    When I connect an input to DI channel of USB 6501 card  from my board which has sourcing Output t, iIn the Off state it is not pulled down properly. The volatge on the port in is 2.1V -2.5V based on the pull down resistor on my board. I suspect that  it acts as a voltage divider.
    The state on the card is still show as "HIGH "state, even my sourcing output driver has a pull down  resister.  when I use this interface board for PCI mseries devices it works fine. Do the pull down resister on my sourcing output is not worth. Is this because of pull up resister 4.7k inside USB card 6501.
    USB 6501 specifications shows the Digital input accepts both source and sink modes. By default the card is in sourcing digital input mode. How do we can convert this in Sinkind digital input mode.
    Could anyone Please give your suggestions to overcome this issue .
    Thanks you.

    You really should not have both a pull up and pull down on the same line.  Really weird things can happen.  If you insist on having a pull down on your board, then I highly recommend putting a digital buffer chip between the DAQ and your board.
    Some boards with DIO have a pull up, while others have pull down.  You just have to watch the specs.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Trouble writing Query for Pivoting data from a table

    I am having a little trouble writing a query for converting the below table data into a pivot data. I am trying to write a query for which if I give a single valid report_week date as input it should give me the data for that week and also provide two extra columns, one which gives the data of last week for the same countries and the second column which gives the difference of numbers in both the columns(i.e. COUNT - COUNT_LAST_WEEK).
    REPORT_WEEK     DIVISION     COUNT
    9/26/2009     country1     81
    9/26/2009     country2     97
    9/26/2009     country3     12
    9/26/2009     country4     26
    9/26/2009     country5     101
    10/3/2009     country1     85
    10/3/2009     country2     98
    10/3/2009     country3     10
    10/3/2009     country4     24
    10/3/2009     country5     101
    10/10/2009     country1     84
    10/10/2009     country2     98
    10/10/2009     country3     10
    10/10/2009     country4     25
    10/10/2009     country5     102
    For example, if I give input as 10/10/2009, the output should be as give below.
    REPORT_WEEK     DIVISION     COUNT     COUNT_LAST_WEEK     DIFFERENCE
    10/10/2009     country1     84     85     -1
    10/10/2009     country2     98     98     0
    10/10/2009     country3     10     10     0
    10/10/2009     country4     25     24     1
    10/10/2009     country5     102     101     1
    For example, if I give input as 10/3/2009, the output should be as give below.
    REPORT_WEEK     DIVISION     COUNT     COUNT_LAST_WEEK     DIFFERENCE
    10/3/2009     country1     85     81     4
    10/3/2009     country2     98     97     1
    10/3/2009     country3     10     12     -2
    10/3/2009     country4     24     26     -2
    10/3/2009     country5     101     101     0
    Can anyone please shed some light on Query building for the above scenarios.
    Thank you
    SKP
    Edited by: user11343284 on Oct 10, 2009 7:53 AM
    Edited by: user11343284 on Oct 10, 2009 8:28 AM

    I assume there is no gap in report weeks. If so:
    SQL> variable report_week varchar2(10)
    SQL> exec :report_week := '10/10/2009'
    PL/SQL procedure successfully completed.
    with t as (
               select to_date('9/26/2009','mm/dd/yyyy') report_week,'country1' division,81 cnt from dual union all
               select to_date('9/26/2009','mm/dd/yyyy'),'country2',97 from dual union all
               select to_date('9/26/2009','mm/dd/yyyy'),'country3',12 from dual union all
               select to_date('9/26/2009','mm/dd/yyyy'),'country4',26 from dual union all
               select to_date('9/26/2009','mm/dd/yyyy'),'country5',101 from dual union all
               select to_date('10/3/2009','mm/dd/yyyy'),'country1',85 from dual union all
               select to_date('10/3/2009','mm/dd/yyyy'),'country2',98 from dual union all
               select to_date('10/3/2009','mm/dd/yyyy'),'country3',10 from dual union all
               select to_date('10/3/2009','mm/dd/yyyy'),'country4',24 from dual union all
               select to_date('10/3/2009','mm/dd/yyyy'),'country5',101 from dual union all
               select to_date('10/10/2009','mm/dd/yyyy'),'country1',84 from dual union all
               select to_date('10/10/2009','mm/dd/yyyy'),'country2',98 from dual union all
               select to_date('10/10/2009','mm/dd/yyyy'),'country3',10 from dual union all
               select to_date('10/10/2009','mm/dd/yyyy'),'country4',25 from dual union all
               select to_date('10/10/2009','mm/dd/yyyy'),'country5',102 from dual
    select  max(report_week) report_week,
            division,
            max(cnt) keep(dense_rank last order by report_week) cnt_this_week,
            max(cnt) keep(dense_rank first order by report_week) cnt_last_week,
            max(cnt) keep(dense_rank last order by report_week) - max(cnt) keep(dense_rank first order by report_week) difference
      from  t
      where report_week in (to_date(:report_week,'mm/dd/yyyy'),to_date(:report_week,'mm/dd/yyyy') - 7)
      group by division
      order by division
    REPORT_WE DIVISION CNT_THIS_WEEK CNT_LAST_WEEK DIFFERENCE
    10-OCT-09 country1            84            85         -1
    10-OCT-09 country2            98            98          0
    10-OCT-09 country3            10            10          0
    10-OCT-09 country4            25            24          1
    10-OCT-09 country5           102           101          1
    SQL> exec :report_week := '10/3/2009'
    PL/SQL procedure successfully completed.
    SQL> /
    REPORT_WE DIVISION CNT_THIS_WEEK CNT_LAST_WEEK DIFFERENCE
    03-OCT-09 country1            85            81          4
    03-OCT-09 country2            98            97          1
    03-OCT-09 country3            10            12         -2
    03-OCT-09 country4            24            26         -2
    03-OCT-09 country5           101           101          0
    SQL> SY.

  • ITunes and Audio Midi settings for digital output sampling frequency

    Most of my music is sampled at the CD standard of 44.1 kHz, but some is 48 kHz.
    I have Audio Midi set to output 48 kHz with 24-bit depth.
    I've been told that to avoid having iTunes up-sample when playing 44.1 kHz music, that I need to quit iTunes, manually reset the setting in Audio Midi to the lower, matching, number, and then re-start iTunes.
    This strikes me as odd. Is it true? If so, is there any less cumbersome way to deal with this?

    Wheat I agree entirely with your last sentiments.
    I had a similar problem to 'Luckydog'.
    I have a Roland HP3 digital piano which itself is a standalone musical instrument (synthesiser if you like) but also has midi in/out and audio in/out.
    I made the mistake of connecting my Mac PBG4/GB2 setup to my HP3 via the Edirol UM2 USB interface, expecting to hear my piano's sounds recorded in GB2. Of course GB2 did not record anything when I selected real instrument track beacuse the Roland, I think, was sending audio not midi data to GB2. What I have since realised is that to record a real instrument whether it be a digital piano (or acoustic piano via microphone) is to set the GB2 input to audio and feed the signal from the Roland via its audio outputs to my Mac via audio interface. (I have a USB Grifin iMic).
    Of course I could use the Roland purely as a midi controler and select a software instrument track in GB2, but I also have a Radium 49 simple midi controller keyboard for that.
    One thing that does puzzle me though is, that if I hook up my Roland via the UM2 to a WindowsXP laptop running an app. called Cakewalk Music Creator, the Roland sounds are recorded in the timeline and can be viewed, edited and printed as conventional music scores(great for composers!!) Also the Roland track recorded in CMC can be played back through the Roland's on-board sound generator.
    In this scenario there is no audio feed between the Roland and the PC only two way midi via the UM2 USB/midi interface.
    This is seems to be a fundamental difference between GB2 and the Cakewalk product. Can you explain what's going on hear Wheat?.
    Sorrry such a long post !!
    Rgds
    Mac PowerBook G4   Mac OS X (10.4.3)   2gb ram/1.5Ghz

Maybe you are looking for

  • In J1IJ we r not able to get excise invoice which was captured earlier

    Dear experts, while doing depot sales, In J1IJ we r not able to get excise invoice which was captured earlier through J1IG at depot. please suggest me what are the possible causes for the same. Regards, Balu R.V

  • Shared mailbox and personal mailbox showing identical content in Outlook

    I have one user on Outlook 2010 who has Full Access permissions to a shared mailbox. In OWA, everything looks fine, but in Outlook, the shared mailbox shows the contents of her personal mailbox instead of the content of the shared mailbox. If she vie

  • Eclipse don't schow me the add Methods from IPage and IiView

    Hello Together I'm developing a WebDynpro that should add and remove iViews to/from a page. The Server we use is J2EE 7.01 (Portal 7 EHP1) For this I want to use the following code. Which is shown in the Developerguide NW2004s: Hashtable env = new Ha

  • Newb in desperate need of help!

    Hello, please excuse my ignorance on this issue. What I'm trying to do is make a website but I want it to have a more simple URL (www.riverkfarm.com) rather than http://web.me.com/travisgkirby/travisgkirby/Home.html Is this possible to do this using

  • Finder and harddrive disappear...??? ("Hot-Plugging"?)

    Hi there, I just installed and connect my new My Book Home 500 gb harddrive, and have been having some issues. First, I partitioned the drive into three equal sizes, on FAT32, and Two Mac OS extended journal ed, one for time machine, and one for the