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

Similar Messages

  • Can I change the output voltage

    I am using NI Elvis board.
    I measured the digital output voltage and it was approximately 2.3 volt.
    can I increase the output voltage to ,for example, 5 volt.

    GDE [DE]
    thank you for your replay.
    I mentioned this problem to one of my instructors. he told that the needed current to operate the relays is larger than the borad can supply. therefore, the output voltage droped from 5 volt to 2.3 volt.
    he suggested a buffer and the relays worked.

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

  • Digital output NI 9474

    Hello,
    I am trying to learn labVIEW DAQ, and right now I am trying to figure out how to use NI 9474 with labview. NI 9474 is a device with digital outputs. I have attached a (poorly drawn) schematic of how I have my real circuit wired. For some reason, the voltage across the resistor is 9v instead of whatever the digital output should be when i set daq assistant to be 1 sample on demand. When I change daq assistant to continuous samples, it reads 4.6v. So I am wondering what am I doing wrong and what should my digital output be?
    I have attached my vi file, so can someone please help me figure out how to use NI 9474 with labview?
    Solved!
    Go to Solution.
    Attachments:
    DO example.vi ‏44 KB
    schematic.png ‏16 KB

    You are supplying 9V, so you should have 9V going across the resistor.  I'm thinking what is happening with the Continuous Samples is that it is toggling between High and Low.  If you measured that with a DMM, you will get around 4.5V.  Measure with an oscilloscope to make sure what is happening here.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • 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

  • PID Control - analog input, digital outputs

    Hello everyone,
    I am trying to use the PID toolkit to convert my existing feedback control system to one using PID or just PI whatever works best. Problem is that the tutorials out there discuss in detail about obtaining Analog inputs and using the PID output to control an analog output. Are there any tutorials that show how I can control my process variable which is an analog input by using the PID output to generate digital outputs?
    Basically, what I am doing is controlling the incline of my device with two digital outputs that control two solenoid valves. The angle is calculated from a calibration curve that plots distance sensor voltage with Angle. Any help would be immensely apprecitated. I want to try this out on my own before I post some vi's. Thanks!
    V
    I may not be perfect, but I'm all I got!

    That is exactly what I am doing currently. I have error bands specified around the target to make sure that it doesn't oscillate. But, under load conditions such as pulsed load conditions, the device goes out of bounds and the values trigger to correct for it. But, what I need is seemless or atleast seemless correction. Currently what I see is sudden adjustments to the incline. Please find attached what I am currently using. I am trying to get a more finer solution if at all possible.
    Note: Within 5% of the target = NO action
              Between 5% and 15% = Pulsed ACtion ( DO On for Pulse width time)
              Greater than 15% = continuous action until it reaches Pulse band
    I may not be perfect, but I'm all I got!
    Attachments:
    TDML_subElevationControl.vi ‏41 KB
    TDML_subPulsedValveFuntion.vi ‏16 KB

  • 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

  • Digital outputs while sampling analog inputs

    I am currently developing a program using LabView 2012 SP1.  I am interfacing with a NI USB-6009 DAQ using NI-DAQmx 9.5.5f4.  I am attempting to acquire a voltage reading on three analog inputs (AI0, AI3, and AI4) at 1 second from startup and at 20 seconds from startup.  The three digital ports: P0.0, P0.1 and P0.2 are used to turn on transistors for the signals in question and must remain high during the ~20 seconds the readings will take place.  I have figured out how to acquire 20 samples over 20 seconds on the analog inputs but have trouble with the digital outputs.  The DAQ assistant is not a good option and the USB 6009 has limitations that are not necessarily covered in the example code im finding.  Basically I need to turn on (write hex 7) to port P0.0-2, acquire my analog samples for 20 seconds, then bring port P0.0-2 low and end the program.  Can anyone help walk me through this?  Thank you in advance.
    RJ
    I surf therefore I am....

    Solved it.  See attached vi.  
    I surf therefore I am....
    Attachments:
    Level.vi ‏69 KB

  • NI DAQmx Digital Output Trigger To Start Analog Input Task

    Hi everyone.  I am using the NI DAQmx VIs to set a digital output line low (boolean '0').  I want to begin reading an Analog Input voltage (Start Analog Input Voltage reading task) right after the digital output line is set low.  I am using the DAQmx Start Trigger (Digital Edge).vi to try and do this.  I have the digital edge to trigger off a falling edge since the digital output line is being set low.  I am using "do/SampleClock" as the source into the DAQmx Start Trigger (Digital Edge).vi.  
    I don't have the DAQ card (PXI 6229) since someone else is using it but I wanted to write up the SW so that when it becomes available I can have SW to try out.
    I have attached the VI.  Am I setting up this VI correctly?
    Thanks!
    Attachments:
    Trigger AI Task Off DO Edge.vi ‏32 KB

    I think you are going to have to wire that Digital Output to a PFI line on the card with the Analog Input(s).  You then trigger on that PFI line.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • 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

  • AT-MIO-16D Digital Output wiring

    I need to drive a relay coil from one of the outputs of an AT-MIO-16D module.
    From the AT-MIO-16D User Manual (p. 2-35) it remains unclear for me
    how to do it. It seems that the Digital outputs are of "sinking" type, i.e.
    they
    connect to either ground or to a high resistance, however the electrical
    specifications
    considers both output "source" and "sink" currents.
    Assuming "sink" type, I think the wiring should be as follows:
    +5Vdc to relay coil (flyback diode in parallel)
    relay coil to DAQ module output point
    -5Vdc common to DAQ Dig Gnd point
    My questions are:
    1. Is my suggested wiring right?
    2. Do I need some resistor to limit the current through the DAQ board or
    is the coil resistance enough?
    3. How do I protect t
    he module against the reverse voltage generated in the
    coil once
    disconnected? With the flyback diode suggested I am protecting the power
    supply
    output but not the DAQ module.
    Please attach a suggested wiring diagram to your answer.
    Thanks in advance for your support.

    We use a MOSFET (2N7000) switch in our systems to isolate the DIO ports from the relay drive. The attached schematic shows the circuit.
    One problem we have with this is when the board powers up the DIO ports are configured as inputs, and the circuit sees enough voltage to turn on. The 47k resistors were recently reduced to this from 100k, which seemed to help.
    Attachments:
    DIO_Relay_Drive.bmp ‏1440 KB

  • NI PXI 6229 DAQ Card Digital Output High/Low Levels

    Hi everyone, I can't seem to find in the NI PXI 6229 DAQ spec what the Digital Output high voltage and low voltage is when I set a digital signal high and low.  What is the voltage when I set a Digital Output "HIGH" and what is the voltage when I set a Digital Output "LOW"?
    Thanks! 

    See the digital I/O characteristics section of the specs. Typical ttl levels.

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

  • Error -200279 with simultaneous analog input (different devices) and digital output.

    Hi guys,
    I am a beginner in Labview and have been dealing with this problem for a couple of weeks now and just can't seem to get it completely right, I have a feeling there are a few small bugs in my code/hardware setup.
    I am running an scxi-1000 chassis with a 1600 module and 1302C along with a 1303 accesory for temperature measurements, this is connected to four thermoucouples. Unfortunately I have a limited number of modules available so I am also using a PCI-6221 DAQ card with an scb-68 breakout box used for a digital output and analog input voltage channel. Attached is my labview program. When I run the code at a 50 Hz sampling rate it runs with no errors but the data file comes out extremely wrong, this is also attached. When I run the code at 100 Hz I get error-200279 after a few loops. I used to have 2 daqmx timing VIs (one for each input), but the same error would eventually happen, I have also tried increasing the buffer size on said timing VI. I am also using an old computer (Pentium IV) could this effect the program?
    I have learned a lot going through forms for similar problems to mine but I just can't get it to for an extended period of time, I have posted my simplest code.
    Thanks in advance,
    Luca
    Attachments:
    tc_2.txt ‏1102 KB
    FinalCombined_2.vi ‏128 KB

    Ok this makes sense. I have made the suggested modifications but still getting the same error with sampling rates of 100 Hz or higher. Could you check that I have implemented the queue VIs properly (new file attached)? Also when running at 50 Hz in debug mode it does not look like the second while loop (with the dequeue element) comes into play until I hit the stop button, once I hit the stop button I get the following error:
    Error 1 occurred at Dequeue Element in FinalCombined_2.vi
    Possible reason(s):
    LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    =========================
    NI-488: Command requires GPIB Controller to be Controller-In-Charge.
    This leads me to believe I have programmed the queue elements incorrectly.
    Thanks for your help, any suggestions are greatly appreciated.
    Luca
    Attachments:
    FinalCombined_2.vi ‏102 KB

  • MyDAQ, Increase Digital Output?

    Hi y'all,
    I'm currently working with a myDAQ trying to trigger three 3V relays through the digital outputs. My main problem is instead of giving me 5V when triggered, the digital outputs are only giving me ~2V since they can turn on an LED, but they don't switch my relays. Is there any way to increase the voltage coming from the digital outputs?
    I've tried using the analog outputs instead (since they can put out 10V), but can't seem to get those to work the same as the digital outputs. I essentially just want to press a button and the output to send a steady voltage >3V and then turn off once I press the button again. I got this to work with the digital outputs, but the analog outputs throw me buffer errors and other input errors I can't seem to fix.
    I'm a beginner to LabVIEW and myDAQ and would appreciate any help! Thanks!

    Hello SNorrell,
    According to the myDAQ's specifications, each DI/O line can source a maximum of 4mA, which won't be enough to drive your coils unless you use multiple outputs to drive each.  I don't recommend attempting that. 
    Depending on how many relays you need to use, however, it's likely that you can get a few to work without additional hardware by using the built-in 5V supply line to drive the lines and grounding them at the DO.  Invert the logic on your digital lines so that they go low to turn on the relays. You'll need to account for power-up conditions and ensure your hardware doesn't toggle on or off unexpectedly when powering on the DAQ or the PC. You'll also want to ensure you're not driving too much current to the digital pins, refer to the documentation for current and voltage limits.
    Regards,
    Tom L.

Maybe you are looking for

  • How do I delete pics/videos from my iPhone 4

    How do I delete pics/videos from my iPhone 4 if it is not even able to do a restore/backup? A couple days ago I received an alert on my phone that said something like, "You cannot make or receive calls. Connect to iTunes to restore." I connected to i

  • After Effects CC (2014) not updating (Mac)

    Having issues trying to update After Effects 2014 as mentioned in the title. Gets about 50% and then quits. Here is a log file in case anyone can she light on this. 10/20/14 10:18:28:310 | [INFO] |  | OOBE | DE |  |  |  | 531331 | *=*=*=*=*=*=*=*=*=*

  • Issue Using C# to Get RTF Text From Clipboard to Outlook With Formatting and Without Encoding Tags

    I have created a little application that gathers data from various text boxes and then combines the data into a formatted richTextBox.  A person using the tool asked if I could then add a button that would allow that text (with formatting) to be copi

  • Mainstage 2 crashes only when playing live

    Hey guys, I was hoping somebody out there might have some help on this.  My mainstage rig works perfectly during practices, but has recently been crashing every single live show, randomly during songs.  I use EXS24, some built in organs and synths, K

  • Error log in VL10a background mode

    Hi, We are using the BADI  - LE_SHP_DELIVERY_PROC ->DELIVERY_FINAL_CHECK to populate messages in the log. The messages are populated in the CHANGING parameter (ct_finchdel ) of the method and once an error is inserted in this table, the delivery crea