Pull-Up DIO Lines to 5V

Hello, I'm using the NI PCIe FPGA 7852R card. When configured for output the DIO lines go from low, zero volts, to high, 3.3V. My application requires going from 0 to 5V. The manual for this card says an external pull-up resistor can be used to achieve 5V output from the card. I'm not sure how this is done, can any one recommend how to do this? Or, can anyone point me to documentation that details how to do this?
Thanks,
Ed

All kidding aside, here's a more detailed link then my original one if you want to know more about the workings of a pullup/pulldown resistor
CLA, LabVIEW Versions 2010-2013

Similar Messages

  • Obtaining a TTL input signal via DIO lines of 7334

    Hi
    How can I obtain a TTl input signal from a source via the DIO lines of the 7334 .
    Thanks
    Mal

    I do not quite understand your question.
    If you want to know what kind of signal a DIO line will detect properly: the signal has to be less than 0.8V to detect a low state and more than 2.0V to detect a high state. This is compatible with outputs of all TTL logic circuits.
    If you have some other circuitry (source) with different specifications for the digital signal you can simply connect a switching transistor in open collector circuit. The DIO lines have pull-up resistors, and when the transistor is switched the DIO input will be tied to less than 0.8V (low level).
    Anyhow, if the high output level of your source is more than 5V (there are many control systems with 24V output level) it is better to use galvanic isolation to avoid damage of the motor controller. You can use a relay, or better an opto-isolator. You have to design the series resistor of the opto-isolator such that the input gets proper current to drive the LED (usually 10mA will be sufficient for most optocouplers). If the opto-isolator has an open collector output configuration it can be connected directly to the 7344 DIO line.
    Of course you always have to provide a common GND connection between the 7344 board and your signal source (or the open-collector transistor in case you use this configuration or an opto-isolator).

  • How can I use 4 DIO lines as digital input in a E series-SC 2050-ER8 set up ?

    I have a DAQ system with an E series DAQ card that is connected to SC-2050 and ER8. I want to use 4 DIO lines (out of 8) for digital input. How can I do this?

    Hello Suresh,
    There are a variety of ways to accomplish this. If you are using LabVIEW, you will use the DIO Port Config VI and the DIO Port Read VI. You will use the line direction map input of the DIO Port Config VI to setup which 4 lines you want to be the input lines. The LabVIEW shipping example entitled 'Dig Multi-line Direction (E) VI' shows how to use the lines of the digital port on an E-Series device for input and output.
    If you are using NI-DAQ function calls, you can use the Dig_Line_Config and Dig_In_Line calls to configure a digital line for input and then read from that line.
    I hope this helps.
    Regards,
    Todd D.
    NI Applications Engineer

  • Output signal high at DIO lines of 7330

    Hi
    I am using Labview 7.1 with Ni motion controller. I am trying to detect the output signals at the auxiliary DIOports of the card using the attached programme in the NI example finder. My board ID is 1 (thats what was allowed by the programme) and I put port 1 , to check the DIO lines of it. I checked pin 10 (port 1-bit 0) and pin 44 (port1-bit 1) using an oscilloscope. The output is high at 5volts.
    I changed the DIO pin polarity switches to active low status but the output remains the same.I fiddled with the set and reset buttons of the programme, initialize the card but nothing changes.  Any idea on how to figure whats wrong? 
    Thanks
    Mal
    Attachments:
    Auxilliary Digital Output.vi ‏57 KB

    Hi
    Thanks for the reply. Sorry for the delay in response as I was on vacation. I tried your programme but the result remains the same. The output is always high.
    Max shows the card is working properly. It also shows the board type as 63. But the programme only takes in board ID as 1. How can set the direction using MAX and save the settings?
    I tried the write 1 point example programme on axis 1 ,line 1 and tested the signal on pin 44 and 42 (oscilloscope ground), and toggled the line but the output is high. But when I stopped the programme with the STOP button it gave an error message 70102 with a possible cause the setting doesn't match the line direction?
    The oscilloscope ground was firmly connected to pin 43 or 42 of the board for all tests.
    I appreciate your help.
    Thanks
    Mal

  • Pull all GL Lines for specific period

    I am in need of pulling all GL Lines for a specific period. However, the query I built is also pulling in Project Account Lines. What I want are lines that posted to an account. I've posted my query below but can someone shed light onto how I can pull al GL Lines that posted to an account for a specific period?
    thanks,
    select distinct
    cb.segment1
    ,cb.segment2
    ,cb.segment3
    ,cb.segment4
    ,cb.segment5
    ,cb.segment6
    ,cb.code_combination_id
    , fv.description acct_desc
    ,jh.posted_date
    ,jh.je_category category
    ,jh.name entry
    ,jh.description reference
    ,jh.external_reference
    ,jb.name batch
    ,jl.accounted_dr debit
    ,jl.accounted_cr credit
    ,usr.user_name last_updated_by_username
    ,usr.description last_updated_by_user
    ,cusr.user_name created_by_username
    ,cusr.description created_by_user
    ,jl.EFFECTIVE_DATE
    ,jl.je_header_id je_unique_id
    from gl_je_headers jh
    , gl_je_lines jl
    , gl_je_batches jb
    , gl_code_combinations cb
    , FND_ID_FLEX_SEGMENTS fs
    , FND_FLEX_VALUES_VL fv
    , fnd_user usr
    , fnd_user cusr
    where
    jh.je_header_id = jl.je_header_id
    and jh.je_batch_id = jb.je_batch_id
    and jl.code_combination_id = cb.code_combination_id
    and fs.flex_value_set_id = fv.flex_value_set_id
    and fv.flex_value = cb.segment1
    and jb.last_updated_by=usr.user_id
    and jb.CREATED_BY = cusr.user_id
    and jl.EFFECTIVE_DATE between '01-APR-10' and '5-APR-10'

    hi friend
    u have specify ur account segments so it will only retrive the account code u want
    u can also limit Source_Name for specifying the source of journals
    but for limiting post date u have to write the posted date u want by putting condition on "Posted_Date" in GL_JE_Headers
    bests

  • DIO lines and counters on NI 6036E

    Hi my name is Gestur. I'am trying to generate a finite pulse train with the counters on my E serie 6036E DAQ board - which works fine - but at the same time, reading and writing to and from DIO lines. This has been giving me problems. I've building a test program which works with cases, where like case0 writes a low level to a DIO line. In case1 i start the counters, generating my finite pulse train. Then i notice that the same DIO line that earlier was lowered, is high again.
    Another problem is making a analog input sampling, which is supposed to enables on every rising edge of my pulse train. I have on the I/O connector linked the output from the counter, to the EXTCONV pin. This works fine, but not! Because the analo
    g input sample seems to block actions in my pulse train vi where i'm tryin to read from DIO. This is a bit difficult to explain, but i will attach a vi which might explain this.
    I hope this is something to understand and i hope that you are able to help me.
    Thank you for your time
    Kind regards Gestur
    Attachments:
    SamlingPRO.vi ‏236 KB
    SamlingPRO#2.vi ‏170 KB

    HI,
    The attached VI's have some missing sub-VI's. Can you use the VI Library manager and gather all the components together into one .llb?
    mike

  • One control to 2 different DIO lines

    Hi there:
       I am using PXI 7833R card and Labview 8.0 for windows. FPGA 1.1 version.
    I have a problem about the DIO. In a previous program I use one boolean number to control one PXI 7833R digital output line. Everything works. Then I want to use the same boolean number to control two different Digital output lines. I did not change anything else, Just add a Digital output line to the node A(the circled one is added). The program does not work any more.
    I used the oscilloscope to measure the output and got the signal I want for both output!!!
    Anybody knows why?
    Message Edited by lightmiddle on 03-06-2006 04:57 PM
    Attachments:
    twodio.jpg ‏1042 KB

    lightmiddle,
    I am still confused as to what you mean by "the result is far away from what I expect".  What is actually happening? In your previous post you said "I used the oscilloscope to measure the output and got the signal I want for both output!!!"
    I am still not sure how you can be using the FPGA 1.1 module with LabVIEW 8, this should not work.  To add multiple lines to one I/O node in LabVIEW 8 you can simply drag lower edge of the I/O node downward to create more lines.  See the attached image.  I would also take a look at the shipping examples for LabVIEW FPGA module.
    Message Edited by Doug M on 03-09-2006 06:36 PM
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me
    Attachments:
    two DIO lines FPGA.JPG ‏39 KB

  • Accessing full 32 DIO lines on PCI-6602 in C++

    Hi,
    I have seen a couple of posts on this topic, but none seem to contain an answer to the question, and the documentation in the Register Level Programming Manual appears to be incomplete.
    We need to access the full 32 DIO lines on the PCI-6602 card; however, only the first 8 lines (those driven by the STC) are documented.  Is there any example code or further info that would allow us to use this functionality? 
    We are programming in C++, using the Driver Development Kit, in QNX.
    Any help would be much appreciated.
    Cheers,
    Monte

    The 32-bit digital port registers were not included in the chipobject (by mistake).  The digital intput register is at offset 0x414 and the digital output register is at 0x510.  To access them you can use the tAddressSpace object directly:
    u32 value;
    value = Bar1.readU32(0x414); // read digital 32-bit port
    Bar1.writeU32 (0x510, value); // write digital 32-bit port
    For configuration, use the IO_Pin_x_x_Configuration_Register registers to configure the line for input or output. 
    For example,  to configure line 0 and 1 for input
    tio->IO_Pin_0_1_Configuration_Register.setIO_Filter_0_Select (0); // no filter
    tio->IO_Pin_0_1_Configuration_Register.setIO_Pin_0_Select (0); //input
    tio->IO_Pin_0_1_Configuration_Register.setIO_Filter_1_Select (0); // no filter
    tio->IO_Pin_0_1_Configuration_Register.setIO_Pin_1_Select (0); //input
    tio->IO_Pin_0_1_Configuration_Register.flush (0);
    or lines 29, 30 and 31 for output:
    tio->IO_Pin_28_29_Configuration_Register.setIO_Filter_29_Select (0); //no filter
    tio->IO_Pin_28_29_Configuration_Register.setIO_Pin_29_Select (2); // digital output
    tio->IO_Pin_28_29_Configuration_Register.flush (0);
    tio->IO_Pin_30_31_Configuration_Register.setIO_Filter_30_Select (0); //no filter
    tio->IO_Pin_30_31_Configuration_Register.setIO_Pin_30_Select (2); // digital output
    tio->IO_Pin_30_31_Configuration_Register.setIO_Filter_31_Select (0); //no filter
    tio->IO_Pin_30_31_Configuration_Register.setIO_Pin_31_Select (2); // digital output
    tio->IO_Pin_30_31_Configuration_Register.flush (0);
    valid values for the select field are:
    0 - input
    1 - counter output
    2 - digital output
    I hope this helps.

  • Apparent altered DIO line input state on 4351 when using driver instead of NI MAX

    Hi,
    I'm using an NI4351 PCI DAQ card with the Ni435x driver and LabWindows/CVI v5.5 (on Windows 98) to capture digital logic states on the DIO lines. I first used NI's MAX utility to establish a virtual DAQ input channel from 'Data Neighborhood'. When I tested this channel from the utility by connecting the DIO line to 5V or GND via a 10K resistor, the respective logic levels were registered. In LabWindows, I use the 'NI435X_Init' and 'NI435X_Configure_Digital_Lines' driver functions to respectively initalize the DAQ card and set one of the DIO lines as an input, with the rest being set as outputs. However, I cannot read the input line using 'NI435X_Read_Line' unless I directly connect th
    is channel to 5V or GND (i.e. without a 10K resistor), but 'NI435X_Write_Line' works fine. It would appear that the input state of the DIO line is different to that established by NI MAX. Is there something other than the initialize function that should be called? I tried the following linemask combinations to set the port lines, by using F or 1 to represent an output and 0 to represent an input:
    NI435X_Configure_Digital_Lines(DAQ_session, 0x0FFFFFFF) // DIO 0 set as input, the rest as outputs
    NI435X_Configure_Digital_Lines(DAQ_session, 0x01111111) // DIO 0 set as input, the rest as outputs
    I am unsure which format, if either, is correct and would be grateful for any help on this anomaly. Thanks.

    Hi Kevin,
    Yes, if I connect an input channel directly to 5V, the software reads a logic high and continues to read this level even when I disconnect the channel and leave it "floating". The state changes to logic low only when I connect the channel directly to GND and then it stays at this level, even if I disconnect it from GND. In other words, the states seem to 'latch'. Nothing happens if I connect via the 10K resistor - the channel simply remains at the logic level it was last set to after I momentarily connected it directly to 5V or GND.

  • DIO lines of NI PCI 7334

    Hi
    I have a NI PCI 7334 motion controller from which I hope to controll 4 stepper motors through a MID 7604 stepper motor driver. In addition to this I require to drive 6 relays from TTL signals (generated from commands from labview) through the digital IO lines of the device.Can this controller provide 6 digital out puts ( each giving a TTL signal) and one ground like in the case of DAQ device. I only have the cable connecting the controller to the MID 7604 stepper driver. What else is required to get the digital output lines and the ground similar to a DAQ device?
    Thanks
    Mal

    The PCI-7334 provides two connectors. One (1) for the motion control signals (which you are using) andanother one (2)for the additional 32 digital lines.
    On connector 1 there are also 4 digital output lines available that can be used as general purpose digital outputs for the case that you don't need the breakpoint feature of the board. These are open collector DOs pulled up to +5 V with a 5.5 kOhm resistor and they can sink up to 64 mA. You can place a parallel resistor between each DO and +5 V in order to increase the current. Please note that the resulting resistance (3.3 kOhm in parallel with your resistor + load resistance) shouldn't be below 78 Ohm.
    As there are only 4 breakpoint outputs available this solution will probably not work for you so you should use the additional digital lines on connector 2 instead which will require a cable (e. g. 186381-01) and a connector block. These DIOs provide a 0 to 5 V voltage range and can sink and source 24 mA. The current range can be extended with external SSR modules. For more information please refer to the NI 7330 user manual.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Usin Ps CC 2014   trying to adjust curves   chose    layer - new adustment layer -curves    the last verion of Ps I used I got a hand and could pull the curve line   now I have a pen or pencil and I can not pull the curve line . I tried closing and re ope

    any one know how to get back the ability to push and pull the curves adjustment line
    Thank you
    SD

    Susan, when I am learning new apps nowadays, I have to take notes of useful keyboard shortcuts and operations, because by the time I get to chapter five, I am struggling to remember half of chapter 1 :-).  Best advice I can give is to concentrate learning those aspects of PS that you will use in the short term, and add new skills further down the road after you have consolidated the first stuff.
    Are you using Adobe TV?
    Adobe TV — Photoshop CC (the link appears to be down as I type this) But the CS6 page is working Learn Photoshop CS6 | Adobe TV
    It really is a wonderful resource, and one I'd love to have had when I started using Photoshop, but we barely had a World Wide Web back then.  Although there were some wonderful people on the Usenet Groups.  The lady behind MyJanee helped so many of us early adopters of Photoshop, and had what — as far as I know — was one of the first, if not the very first, Photoshop tutorial site.
    myJanee.com Graphic Creations and Photoshop Resources

  • USB-6008 DIO Lines...

    I have a USB-6008 that I'm using to develop an application with. The development language used is C# (.NET 2003 with Measurement Studio 7.0). Right now, I have the device successfully reading from the counter input. Since this program reads rising edges from the counter input, I can get the frequency of the input signal and cause something to happen should the frequency rise above a certain threshold.
    I'm trying to use the Digital port (port0) to set line 0 high if a condition has been met. I can do this when I select 'Dev1/port0' - I get Port 0 line 0 to go high or low. The problem is that I want to have control over lines 1, 2, 3, 4, 5, 6 and 7 - I only have access to line 0 right now on either Port 0 or Port 1.
    Currently I'm using the following imported functions from the C samples included in the NI-DAQmxBase software:
    int result = DAQmxBaseCreateTask("", out dioTaskHandle); // create the DIO task...
    result = DAQmxBaseCreateDOChan(dioTaskHandle, "Dev1/port0", "", 1); // create DIO channel...
    result = DAQmxBaseWriteDigitalScalarU32(dioTaskHandle, true, 1.0, 0, out reserved); // write a 0 to the channel selected
    Just a note about the third line of code - the documentation states that parameter 2 of the 'DAQmxBaseWriteDigitalScalarU32()' function must be set to false. When I use false as the 2nd parameter, I end up getting a return value of -1073807346. I can't find what that error is in any documentation. So, I set this value to true - and it works (I get a return value of 0 meaning success).
    In my development cycle, I've tested for ways to get access to a single line (other than line 0), and found that when I create a DO channel with the value "Dev1/port0", port 0 line 0 is active. When I create a DO channel with the value "Dev1/port1", port 1 line 0 is active. If I try to create a DO channel with a value of "Dev1/port2" through "Dev1/port7", I get a return value of -200170 (Physical Channel Does Not Exist). The documentation isn't very clear on the ports and single lines for digital output.
    My question is - how can I gain access to ALL of the lines of a particular port?
    Thanks,
    tsc

    I just figured out the lines of the port - of course this will happen once I've posted a question. If others run into the same type of problem, here's how to access each individual line of a selected digital port:
    line 0 - 0x01 (binary: 0000 0001)
    line 1 - 0x02 (binary: 0000 0010)
    line 2 - 0x04 (binary: 0000 0100)
    line 3 - 0x08 (binary: 0000 1000)
    line 4 - 0x10 (binary: 0001 0000)
    line 5 - 0x20 (binary: 0010 0000)
    line 6 - 0x40 (binary: 0100 0000)
    line 7 - 0x80 (binary: 1000 0000)
    all lines off - 0x00 (binary: 0000 0000)
    all lines on - 0xff (binary: 1111 1111)
    // create a task...
    result = DAQmxBaseCreateTask("DigitalPort0 Task", out dioTaskHandle);
    // create a channel - I'm using Port 0 in this example)...
    result = DAQmxBaseCreateDOChan(dioTaskHandle, "Dev1/port0", "", 1);
    // turn off all digital lines to the port selected (I do this when starting up)...
    result = DAQmxBaseWriteDigitalScalarU32(dioTaskHandle, true, 1.0, 0x00, out reserved);
    // if I want to turn on the first line (P0.0) of port0, then I send 0x01 as the fourth parameter...
    result = DAQmxBaseWriteDigitalScalarU32(dioTaskHandle, true, 1.0, 0x01, out reserved);
    // if I want to turn on the fifth line (P0.5) of port0, then I send 0x20 as the fourth parameter...
    result = DAQmxBaseWriteDigitalScalarU32(dioTaskHandle, true, 1.0, 0x20, out reserved);
    I hope this will help someone else out using this device and Measurement Studio for .NET.

  • Regarding NI PXI-6602 - How to route PFI_33 to a grounded DIO Line.

    The PXI-6602 card with the TIO chip seems to be very robust on counter and DIO pin assignments and routing, but I have found that counter 1 has a pin (PFI_33 -AUX IN (UP/DOWN) ) that has been troublesome.  I need to either route this pin to another pin such as a DIO pin set as an output and pulled LOW or be able to manipulate the pin to a low state when I setup counter 1.  This is to ensure that noise is kept to a minimum due to the PXI-6602 being cabled to a board with a PLD on it.  Any solutions on how to tie PFI_33 low?
    -Tim

    B Spears,
    Looks like I'm heading down that path... We were looking to do it in software, but nothing has come to light.  Interesting enough, DAQmx has a good sub-vi (DAQmx Connect Terminals.vi) but I am dealing with code back from LABView 5 days utilizing Traditional DAQ.  Try writing a snipet utilizing both "Write to DIO.vi" and "DAQmx Connect Terminals.vi" and watch the error codes fly. 
    One option NI has offered was to re-write the DIO tasking in DAQmx instead of traditional... this maybe an option... but, wow!  That's a lot of code.
    Thanks for the reply B Spears,
    -Tim

  • Read digital waveform through single DIO line

    Hi I have currently  purchased NI DAQ USB 6363 to accquire serial digital waveform. I'd like to read serial digital data through one of the digital IOs with data rate of 45 kHz. Please see the attached for the data frame. Could anybody comment one the feasibility of this? Is there any example codes that I can refer to? 
    Attachments:
    digital waveform.jpg ‏49 KB

    Hi tintin
    Thanks for posting, and sorry you've not heard from anybody for a while.
    Have you taken a look at the stock digital read examples? i.e. Find Examples >> Hardware Input and Output >> DAQmx >> Digital Input >> Digital - Continuous Input.vi
    The USB 6363 can do DIO up to 1Mhz so it seems feasible at a glance.
    Kind Regards
    Chris | Applications Engineer NIUK

  • Setting DIO lines to high impedance state

    I would like to programmatically set my digital I/O lines on my DAQCard 6533 to a high impedance state using LabView. The manual states that the line drivers automatically set to high impedance on power-up or computer reset but I would like to change states within the program.

    Hi,
    Unfortunately there are no NI-DAQ driver calls to set your digital lines to high-impedance. You would probably need to use register-level programming to accomplish this.
    DAQ Register-Level Programming Resources
    http://digital.ni.com/public.nsf/websearch/B08F4125A9325B3F862565CC0073E68F?OpenDocument
    Hope that helps. Have a good day.
    Ron

Maybe you are looking for

  • Unable to Find SBOP DATA SERVICES 4

    Hello , I am unable to find the SBOP DATA SERVICES 4.0 software on SMP, does this mean that my S user ID or my company doesn't have a valid license for this version or the product is in ramp up (I have checked  the ramp up release too but unable to f

  • D7000 files not working in Adobe Premiere pro CS6

    I recently took a lot of video on my D7000 DSLR. All of my video I shot though when I import them into Adobe Premiere "breaks" the file plays perfectly on the computer strait from the file but the miniute I try to import them into Premiere the files

  • Sending a picture message

    *Can you send a picture message from the iPhone?*

  • Issue saving files as PDF

    I have Windows 7 on my computer.  I had to recently restore Windows on my computer and since then I can save Word documents as PDFs.  Please assist.

  • Does Final Cut Express HD 3.5 not have (video)rain  effect like iMovie???

    Why doesn't it have it. or does it have it? i loked in all of the sub folders in video effects in the browser thing. and it's not there Macos G5. macos x 10.4.10 And i have fcexpress HD 3.5 just bought it today