Power-On state of digital outputs in 6713 card

The card manual says Power-on state of DIO is Input(high-Z). However after I power up the computer before I ryn my software, I measure DIO outputs as high TTL voltage(about +5V). Similar situation happens with GPCTR0_OUT which I use for a pulse train. Again before any configuration when I expect low TTL output, the high level comes up. When I run my software I have all this configured properly. But this unexpected power-on status does not look right , also it is not compatible with my external hardware and makes it possible damage.

The default state for the DIO and counter out lines is a internal 50 kOhm resistor pulled up to 5V. This is listed in the user manuals. However, you can change the default state of any of these lines by adding a external pull-down resistor. Here is a KB that discusses this in more detail.
http://digital.ni.com/public.nsf/websearch/008995633E33E47486256B5F00034436?OpenDocument
I hope this helps.
Joshua

Similar Messages

  • 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

  • Need help created state machine with timed digital output

    Hello everyone I'm new in LabView especially about how to make a state machine. I want to make simulation about state machine with digital output. In Front Panel there are volt_in as an input slider (0-10 V), two numeric control (upper limit and bottom limit), a waveform chart to plot those 3 value, and three boolean (P0.0, P0.1, P0.2) as an indicator. Boolean indicator will on if input from slider exceed the limit in certain situation. This simulation will work as follow:
    1. Define the upper & bottom limit (ex. 8 & 4V)
    2. Make an input from slider (0-10V)
    3. If input (2) exceed the upper limit but less than 10 second (ex. you have 9V input for 8 second, but after 8 second you change the slider back to normal between 4-8V) then the boolean indicator P0.0 & P0.2 will stay off
    4. If input (2) exceed the upper limit more than 10 second (ex. you have 9V input for 4 second, change to 8.5 V for 3 second, and then change to 10V for 3 second) then the boolean indicator P0.0 will turn on for 5 second, turn off, then follow by indicator P0.2 for 5 second, and turn off
    5. Wait 15 second, then repeat process from (2)
    Same process for input that exceed the bottom limit (P0.1 and P0.2 as indicator).
    Can you help me make the block diagram of this process? I will appreciate any of your help.
    Best Regards
    juventom 
    Attachments:
    State Machine Digital Output.vi ‏28 KB

    I would highly recommend you to open the template in LabVIEW to design state machines. You can the Standard State Machine template if you go to File -> New.. and Browse to VI -> From Template -> Frameworks -> Design Patterns.
    Also, here is a good explanation of one:
    https://decibel.ni.com/content/groups/northeast-oh-labview-users/blog/2009/09/08/state-machines
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Using PWM and digital outputs of myDAQ to power multiple solenoids

    Hello,
    I am attempting to use LabVIEW and myDAQ to power 3 independent solenoids with PWM. I am new to Labview, so I am having trouble grasping the best was to use a digital output to power my solenoids. I have many codes to generate PWM to digital output, but I cannot figure out how to actually power my solenoid from these signals. Any help would be greatly appreciated. 
    Zach

    Google ULN2003 which is a relay/solenoid driver chip. The digital outputs of your card feed to the inputs of the chip, Review the max current/voltage specs of your solenoids and compare to teh driver chip max ratings to ensure the chip can power them.
    How fast do you plan to PWM the solenoids? Can they achieve your PWM rate?
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Digital output daq

    Hi,
    This should be very easy, but for some reason I'm having issues. All I want to do is have a switch control a digital output. I am using an NI 9742 Dsub (link) card, which should be capable of digital output. 
    Attached is my code, with a simulated card. When testing I switch the DAQ assistant properties to the real card.
    Using this code, I cannot get a DC output at all, my scope just hovers around 100mV. Using other cards, I have the Analog I/O working just fine, but for some reason the digital output on this card isn't? Also, if you look at the card, there are 8 green LEDs towards the top. I believe each one specifies when an output is on. When I turn the switch on, the corresponding light does in fact light up, but I cannot measure a voltage? Is there some setting I'm missing?
    Hopefully this makes sense. Thanks!
    -secondary question: Once this works, how do I change the output range. The specs say 6V-30V output, but I do not see where to change this. 
    Solved!
    Go to Solution.
    Attachments:
    digital output help.vi ‏42 KB

    If you dig into the Operating Instructions, you'll notice that you have to supply an external power supply.  The way this card works to by connecting the external supply to the output.  You should also see this on the side of the module.  NI's site doesn't have a good sideways shot, but it looks like a switch.
    So basically, with no power supply you will get no voltage out.  The output range is also adjusted by adjusting the external supply.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • NI 6501/9 - Knowing state of Digital Out pins... (in C#)

    Hi,
    I'm trying to work on a "driver" for an NI 6501 (and down the road, 6509) DIO device.  We've got a method that sets the state of a pin and creates all the necessary digital out channel calls.  It appears that the command works fine, by having LED's connected up to the pins.
    However, when I run this code:
    public virtual byte ReadLineInput(int channel)
    if (IsSimulated)
    return 0;
    var readTask = (Task) taskChannels.GetValue(channel);
    var reader = new DigitalSingleChannelReader(readTask.Stream);
    var data = reader.ReadSingleSamplePortByte();
    CheckForErrors();
    return data;
    where "taskChannels" is where we stored the tasks set up for 3 8 bit ports to be Digital Outputs...
    I don't get the values I'd expect.  I'm reading from a Digital Output, so I'd expect it just to tell me what pins are on and off.  However, I have noticed it's actually switching them to Digital Inputs, and then it is setting all the pins to high (which I'd expect with the pullup resistor and nothing hooked to the pins) except for the pins which are connect via LED's... They go low (because they're connected to ground) and I get 0's.
    How do I view the state of Digital Output pins without storing them in the driver?  For all intents and purposes, this device will be all digital out....  there are no commands to change the channels to Digital In...  so the "read" is doing that on it's own... Is there a "Peek" or "View" on the digital outputs?
    Thanks,
    Rich

    Hey Jonathan - 
    Driver may be a strong word... We're creating a functional "layer" so that we can send in an int value to a channel (8 pins) and the pins would be set appropriately for that value to control a device attached to those 8 pins of the NI-6501/9.
    We're using the 9.8.40.45 version of the NationalInstruments.DAQmx.dll and 13.0.40.190 version of the NationalInstruments.Common.dll.  I realize this puts us a version behind the newest, so we have that on our plate as a possible change to get what we're looking for....
    I looked within the Digital Out Channel functionality and didn't find anything that didn't swap functionality (as I mentioned above)... Doing a read on an output channel acted like it changed the channel into an input channel (due to the LED connections showing values, where it should have been showing what pins it had previously set high..)
    If code was added to the 9.9 version of NationalInstruments.DAQmx.dll, then I can hunt that down...   It just seemed odd you couldn't read what you had set pins to...
    Thanks.
    Rich

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

  • 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

  • 7830R digital output voltage

    Hi,
    I am using a 7830R DAQ card to work with MOSFETs as switches.
    We have a 25-MOSFET array. Each MOSFET is controlled by a DIO line of the 7830R card.
    When the DIO line is at 0V, the MOSFET is off, and when the DIO line is at 5V, the MOSFET is on.
    However, the output voltage automatically drifts to 5V and gradually
    turns on the MOSFET if I do not keep updating the voltage of the line.
    Can I set the default output voltage at 0V once for all?
    Thanks.
    Guang

    Gaung-
    I believe some clearification is in order. Are your DIO lines floating to 5V while your FPGA VI is running or are they floating after the FPGA is reset (usually the cloase FPGA reference resets teh device)? The DIO lines are expected to float when not being explicitly written to. You have a few options:
    1) Set the default power up states via the instruction in this post:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=221423#M221423
    2) Dont reset your FPGA VI when you close it. This will continue to drive the digital lines in thier last state.
    3) Use pull down resistors on the DIO lines in question to force lines to 0V when not being driven
    Xaq
    Applications Engineer
    National Instruments

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

  • How can I send digital Output at faster rate than 1ms period?

    Hi!
    I'm using a PCI-6229 to send digital outputs to a power source and I need to send n different numbers in binary code. I need this to be periodic so I've used a while structure and the diferent numbers as the different components of an array. In this way the while loop writes the "task" repetedly at the period I have set to the loop using "wait until next ms multiple". So, it does what I want. The problem is that I need the loop to work at a higher rate than ms. It would be great if I could make it go at 0.01 ms. I have tried and even when the "wait until next ms multiple" doesn't like doubles it tries to work at this rate but the signal is not 100% periodic and I need it to be much more precise.
    Does anyone have an idea to solve my problem?
    Thanks a lot,
    Júlia

    I think the example you want to look at is Digital - Continuous Output.vi.  You can just use the onboard clock and set the sample rate to whatever you need (100kHz it looks like).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Externally Triggered 6534E Digital Output

    Hi Dear Friends,
    I have get a question on how to do the triggered output for the 6534E card. Right now I am using the 6534E card to output a digital gate pulse, and I want to synchronize the output of this gate pulse to an external source, which is the Sync output of a Angilent 33220A function generator(10 kHz). I want the rising edge of one trigger pulse(the sync output) to start one digital gate pulse output, and when one digital gate pulse if finished it waits for another rising edge of the trigger pulse to start another digital gate pulse.
    For the more detailed description, please have a look at the attached waveform. Hope you can shed some light on the possibility of doing this.
    Thanks a lot for the help.
    Attachments:
    6534 Triggered Digital Output.JPG ‏95 KB

    Hello tiddlycorona,
    From the diagram you provided, you can try the Gen Dig Pulse-Retriggerable.vi. This LabVIEW example demonstrates how to generate a digital pulse from a Counter Output Channel on a digital trigger. The Initial Delay, High Time, Low Time, and Idle State are all configurable. It also shows how to use a Digital Start trigger, so the digital pulse is not started until a trigger signal is received. Though the pulse is configured in terms of ticks, it can easily be modified to generate a pulse in terms of Frequency/Duty Cycle or Time.
    Best regards,
    Ali M
    Applications Engineer
    National Instruments
    www.ni.com/support

  • Trouble with Digital output on Live Value under Windows

    I have a soundblaster li've value card in my system using the digital output in win98se and all works fine. I just upgraded to WinXP. The windows drivers worked fine once i switched them to digital output. However, i lost the Creative mixer and wanted it back. I then downloaded your Unipack driver for the Li've card for winXP and lost the digital output even when i toggled to digital output control. I then downloaded the li've value from the Gateway site since they OEM'd the card in my system and the digital is working again. However, they do not provide the Creative mixer. Is there anyway I can get the Creative Mixer to work in XP wiith the li've value card? Thanks
    Soundblaster FAQ states:
    Some name brand systems shipped with a special Li've! Value card that was made to work with digital speakers. If you system shipped with a Li've! Value and you have digital speakers you will need to use drivers provided by your system manufacturer. If you use the drivers on the Creative website your card will no longer work with your digital speakers.
    Boston Acoustic Digital Speakers or Prebuilt System With a Digital Li've! Card
    If you have a set of Boston Acoustic digital speakers that came with your system and they are not working with your sound card, make sure you have it connected to the digital out on the card. Also make sure that the digital out is enabled.

    I still always get the value 0.0 returned for minA. I
    know that the data is being correctly stored because I
    have a seperate report frame that displays all values
    for all entries.
    Any ideas where the flaw is?
    Thanks!
    Hey, there. It's unlikely that your users are entering negative numbers which are the only numbers that will be less than zero. You need to initialize your minA to be some quite large number.

  • PCI-6023E & digital output

    Hello,
    I have a PCI-6023E and I want to generate a continous pulse train with a digital output line, and I need to know the maximum frequency for this pulse train that I can generate.
    Thanks a lot for your answer.
    Regards, Anacelia

    Hi Anacelia,
    You should not realy on this answer without verifying with NI first. So here goes.
    Page 347 of the catalog indicates the supported data transfer mode is "programed I/O". This indicates that each line state change must be initiated by an operation of the controlling software. Therefore, the upper frequency limit is determined by how often the code that sets or resets the line runs.
    So, the upper limit is determined by the software and the environment it is running in. If you are woring in Windows environment, and your machine is faster than about 400 Mhz then there are two factors to concider when answering your question. How fast does the code run, and how deterministic is it.
    If determinism is not an issue, you could resonably expect to get
    about one update every 10ms if the code is clean. This would give you 100 update per second or about 50Hz.
    If determinism is required, and you are not running in a Real Time environment, the above estimates should be backed off. Anything above 5-10Hz is going to be questionable.
    Like I said, verify what I have said with NI.
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for