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

Similar Messages

  • How can I use srvctl command line for change "Failover type" and "F method"

    Hi all,
    I am using Oracle One Node (11.2.0.3), and I have a service:
    /u01/11.2.0/grid/bin/srvctl config service -d orcl
    Service name: orcldb
    Service is enabled
    Server pool: orcl
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl_1
    Available instances:
    I would like to change "Failover type" and "Failover method" to:
    Failover type: SELECT
    Failover method: BASIC
    How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
    Thanks in advance.
    Leonardo.

    user10674190 wrote:
    Hi all,
    I am using Oracle One Node (11.2.0.3), and I have a service:
    /u01/11.2.0/grid/bin/srvctl config service -d orcl
    Service name: orcldb
    Service is enabled
    Server pool: orcl
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl_1
    Available instances:
    I would like to change "Failover type" and "Failover method" to:
    Failover type: SELECT
    Failover method: BASIC
    How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
    Thanks in advance.
    Leonardo.srvctl modify service -d database_name -s orcldb -q TRUE -m BASIC -P BASIC -e SELECT -z 180 -w 5 -j LONG
    Also see
    11gR2(11.2) RAC TAF Configuration for Admin and Policy Managed Databases [ID 1312749.1]

  • How can i use the NI USB-6501 digital I/O with matlab?

    I want to use the  NI USB-6501 digital I/O with data acquisition toolbox in matlab?

    The USB-6501 is supported by Data Acquisition Toolbox in MATLAB releases R14SP3+ and later.
    The full list of National Instruments devices supported by Data Acquisition Toolbox is here:
    http://www.mathworks.com/products/daq/supportedio14005.html
    Begin to learn how to use digital input and output here:
    http://www.mathworks.com/access/helpdesk/help/toolbox/daq/f11-17944.html
    Inside MATLAB you can view demos in the documentation.
    To see two digital demos you can type these commands at the MATLAB command line:
    >> showdemo('demodio_intro')
    >> showdemo('demodio_line')
    Best regards,
    Sherryl
    Sherryl Radbil
    Data Acquisition Engineer
    The MathWorks

  • How can I measure time between transitions at digital input

    I am using LabVIEW 6.0 to measure the time duration between 2 transitions in a digital input port. I have a set up including an HP 34970A Data Acquisition unit with the 34907A Multifunction Module plug-in. The LabVIEW program is trying to poll the digital input for level changes and then using the Time function(Tick Count) to check the times at the transitions. However this method doesn't work reliably as I have to measure time periods of 500ms.
    Is there any good way of mesuring time period with the above setup. I don't have a module which connects to the internal multimeter in the 34970A. The other stuff I have are a HP 34903A(Actuator Module) and a HP 33120A(Function/Waveform Generator).
    Any method for m
    ore accurate time measurement with the above setup will be appreciated. If not, what else do I need to make accurate time measurements.

    Frankly I doubt that you're going to be able to measure time interval with much accuracy. You're periidically polling a static digital input and how often you poll is going to vary. You could try polling as fast as possible and eliminate as many background tasks as you can. If your tolerance for the measurement is plus or minus 100 msce, then maybe you'll get a decent measurement most of the time. If it's plus or minus 5/10 msec, then it will never happen. The pc's clock is just not that accurate and a software timed loop on Windows is not deterministic enough. Get a counter/timer board for something really accurate or use a scope to capture the waveform.

  • How can an unconnected indicator read an FP digital input?

    SYSTEM DESCRIPTION:
    A Dell desk top computer with a Field Point system attached. There are a variety of modules including analog input, 2 digital inputs, relay out, Strain gage input, quadrature input. The system is running XP. The Labview program is written in v6.1.
    PROBLEM
    In an application written by others, I have found 4 front panel indicators that react to Field Point digital inputs. On the block diagram, the indicators are not wired to anything. They have no local variables and no global variables associated with them. How can they be reacting to the FP inputs? The problem is that one of the indicators reacts to the wrong input and I need to fix it.  See "In(Rescue)Limit, In(Cargo)Limit, 4067 Out Limit and EStop".
    Also, when the vi is launched, it starts up the FP system and the vi has no FP vi's in it and none of the sub-vi's have any FP vi's in them either. Any clues how this could be working?
    I have attached the vi. There are other vi's in this project, just too many to include unless more information is needed.
    Thanks,
    Chris Dreike
    Advantage Automation, Inc.
    [email protected]
    310-214-2175

    Chris,
    It doesn't look like you attached the VIs.
    You can use front panel DataSocket binding to link an indicator or control to a FieldPoint ethernet item. Right-click on the indicator and choose Data Operations>>DataSocket Connection.
    Regards,
    Aaron

  • How can I use a different driver for audio input and output?

    I did a search of course, and came up with something about an aggregate. I have no idea what this is, how to do it, or if it would even work for me.
    What I am trying to do is:
    1) Record into Logic Express using my Tascam US-122.
    2) Have playback come out of my computer sound system, not the Tascam.
    If I go over to the Audio setup window, I can only record when the driver is set to Tascam US-122. Likewise, I can only listen to sound when my Built-In Audio is selected. It gets rather annoying going between the two.
    So, would this aggregate thing solve my problem? If so, how do I do it? Thanks for any help!
    -allen

    Yes it should do what you want.
    Go to "Audio Midi Setup", and go to the Audio menu and click "Open Aggregate Device Editor". The interface is pretty simple but if you do get stuck, just use the help function in Audio Midi Setup, as it has a step by step guide.
    Then when you return to logic, go to the Preferences>Audio>Drivers section and select Aggregate Device as the new driver rather than either the built in sound or the tascam. Then the inputs and outputs will apply to BOTH devices.

  • How can I use a gating counter and an input counter in countinuous mode

    Hi,
    I have a PXI 6259 with LV 7.1 and I am trying to generate a retriggerable finite pulse train (using Counter 1) in order to gate the input counter (Counter 0).
    For generating I found : Gen Dig Pulse Train-Finite-Retriggerable.vi that works well.
    For Counting: Count Digital Events-Buffered-Continuous-Ext Clk.vi that is OK.
    I am trying to merge these examples to generate and count on the same program, but I don't now how !!!

    So, once every 200 microsec (5 kHz laser pulses), you want to trigger a finite pulse train generation.  That pulse train will pulse 25 times at 10 MHz freq.  You would like to take a PMT count sample on each of these 25 pulses.  Is this correct?  If so, sorry, I mainly have bad news.
    1. (Not hard but costs $)  The speeds you need prevent you from using the AI, AO, or DIO features of your board to compensate for the limited # of counters on the M-series 6259.  You really do need 3 counters here, 2 to generate a retriggerable finite pulse train and 1 to buffer count samples.  A dedicated counter/timer board like the 6602 may be worth considering.
    2. (Hard.)  However, based on various threads here I'm quite doubtful that you'll be able to achieve counter sample rates of 10 MHz.  Most of the discussion seems to set a ceiling in the low 100's of kHz, and reliability will suffer as you approach the limit.
    -Kevin P.

  • How can I use the parallel port as an input channel to communicate with a SPECTROMETER?

    Hello,
    The sensing system we use is called: FieldSpec Pro from www.asdi.com.
    The spectrometer has a LPT terminal. I'd like to use LabVIEW to acquire signals from the spectrometer for further analysis.
    Thank you!

    Dennis,
    I appreciate your time.
    I have asked the copmany for such infos, but it seems to be confidential.
    Do I need an I/O DAQ-Card?
    Dennis Knutson wrote:
    About all that tells me is
    that I'm located in the same town as the manufacturer. You'll need to
    find some specification that describes the parallel port protocol.
    Without that, you're just wasting your time. Even if the instrument is
    constantly sending data, you'll need to know how to interpret the data
    and there's nothing that says it has to be sending constantly. Maybe
    you first have to write something to the port first. Talk to them and
    tell them you want to replace their software with software of your own
    and need to be able to read the data.

  • How can I use more lines to show a field of a row in a report?

    How can I use more lines to show a field of a row in a report? Table A have two columns: (c1 number(5),c2 varchar2(1000)).When I show the table on a report,the column c2 show itself in one row.So the width of html page is very wide.How can I split the field c2 to many lines?
    Thanks for any help.

    I was wondering if an answer was found for this one.
    I have the same problem using the default "Look 4" template for the region. I have found in the CSS file where it is defined and it specifies "nowrap" in the style, which is why the long value is not being split over multiple lines.
    So, my question is, without modifying or creating templates, is there a way to override the "nowrap" attribute from within the item definition? e.g. in the Column Attributes.Column Formatting.CSS Style field. I had some success changing the display properties, such as background colour and font size but I can't seen to override the nowrap attribute!

  • How can i use in the same time input line and mic to recorder in several track whit SONAR

    I have beem recording only input line because SONAR 4 not recognized the mic in, Help me!!!.
    Thank you. Sorry for my english

    LIMACAR wrote:
    How can i use in the same time input line and mic to recorder in several track whit SONAR 4. I have beem recording only input line because SONAR 4 not recognized the mic in, Help me!!!.
    Thank you. Sorry for my english
    Depending on which soundcard you have there, but if your card is capable for
    ASIO -> activate I/O drivers on Sonar/Options/Audio/Drivers -tab (mic/line sources should be listed there --> activate) and select the mic or/and Line sources on tracks "I" - dialog
    WDM/KS -> use the Surround Mixer or windows recording controls for recording source selection (mic should be listed there)
    MME32 - > same w/ WDM/KS
    If you use Asio4All --> same w/ WDM/KS & MME32
    No mic and line source simultaenously w/ WDM/KS and MME32.
    You perhaps be able to do this w/ kX drivers.
    jutapa
    ADDED:
    You can also install modded version of Audigy 2 drivers/software but I have never done this w/ Li've! 5. so I can't be sure if you get ASIO support for your card.
    Here are the instruction --> http://www.tech-pc.co.uk/audigy-2.php
    jutapaMessage Edited by jutapa on 05-25-2006 02:48 PM

  • How can i use PCIe 1433 and basler line camera to construct image and pocess it?

    hello! every one ,I am new to machine vision.i have two problems to ask.First,how can i use line camera and 1433 to acquire 2-D image?second,if i want to pocess the 1-D signal ,how can i do it ?i expect for your answer ,thank you!

    What you are trying to do is not something you can easily do in a forum, but I can give you the basics.
    You have a CameraLink frame Grabber (PCIe 1433) and a LineScan Camera
    The framegrabber needs to be configured to understand how to communicate with the camera.  You need a file from the camera vendor.  This file might already be installed.  You can use MAX to check if it is, under Devices/IMAQ.
    Assuming you can get to the point where you can communicate with the camera, you need to configure your acquisition.
    Since the camera is a line scan camera, it captures image data one pixel ine at a time.  You will need to configure the frame grabber to determine how many lines per image you want.  The low limit is usually 1, and the high limit is either based on the framegrabber's internal memory, or that of the computer.
    If you are using labview, you will need to open a sessing to the camera, acquire the image(s), and then close the session when you are done.
    Once the image(s) are captured, you can performa analysis using the NI Vision Toolkit.
    Sorry, but there is no way to condense years into one post.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • Using `n how can i add two empty line (two carriage return), between these two lines in the output file?

    hi friends
    using `n   how can i add two empty line (two carriage return), between these two lines in the output file?
    PS C:\> $env:COMPUTERNAME | add-content c:\file.txt
    PS C:\> $Env:USERDOMAIN  | add-content c:\file.txt
     i tested "$env:computername`n`n`n$env:userdomain" | add-content c:\file.txt   but it results in 
    myPCMyDomain
    but i wanted the contents of the output file be like this:
    MyPC
    #empty line here 
    #empty line here
    MyDomain
     i tested many other forms but didn't work.
    thanks

    I tried it, as well. The line breaks were respected in the PowerShell console, Programmer's Notepad, and Word; they weren't in Notepad.
    You are using a Unicode file.  Locale is what?
    If you just want notepad compatible line breaks then do this:
    del file.txt ; "$env:computername`r`n`r`n`r`n$env:userdomain" | add-content file.txt ;notepad file.txt
    Look in hex to see that `n is ^L or 0xA and is only one character.  CrLf is 0xD 0xA - two characters.
    My programmers editors and VS all understand a single ^L as a line break so does PowerShell.  Only DOS/Notepad and other utilitis don't understand this..
    ¯\_(ツ)_/¯

  • I need use the line data(basle​r spl2048 camera,NI1​433 board) to perform FFT transform ,how can i use transforme​d data to construct an image

    hello everyone! as what i haved mentioned in the title.In optical coherence tomography system ,i need to perform for every line data whick accquired by NI1433,how can i use
    the transformed data tto construct an depth image .

    This is no longer my main area of expertise, but here is results of brief search:
    Spectral Domain Optical Coherence Tomography System Design: sensitivity fall-off and processing speed enhancement
    look at Chapter 5
    https://circle.ubc.ca/bitstream/id/91474/ubc_2010_​fall_chan_kenny.pdf
    Ultrahigh-resolution, high-speed, Fourier
    domain optical coherence tomography and
    methods for dispersion compensation
    http://www.opticsinfobase.org/oe/abstract.cfm?uri=​OE-12-11-2404
    hope this helps,
    Curt
    Curt Corum, Ph.D.
    Center for Magnetic Resonance Research
    University of Minnesota

  • How can I add a new line item for production order?

    HI all,
    How can I add a new line item for production order through BAPI/FM? Thanks in advance.

    Hi Mil,
      Unfortunetly SAP is not in front of me.
    But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
    Reward if useful!

  • How can i use the airport time capsule as a external hard drive?

    how can i use the airport time capsule as a external hard drive?

    Why do you recommend not place things like iTunes libraries or photo libraries on the drive? It was what I am looking for...
    I suggest that you ask the experts over in the iPhoto Support Community about their opinions on placing an iPhoto or Aperture library on the Time Capsule....even if you plan to use a wired connection for your Mac and the Time Capsule.
    But, if Terrence Devlin answers, be prepared for a lecture about why you should not ever do this.
    If you place the iTunes library on the Time Capsule, be prepared for iTunes to give you messages about not being able to find the library.
    In addtion, LaPastenague has the answer for you in a nutshell......corruption problems.
    Bottom line....the Time Capsule is for your backups.....not "everyday" files and especially not libraries.

Maybe you are looking for

  • Q: Attachment list of Worflow items?

    Hi all, In transaction SBWP, the Business Workplace, we'll find our workspace inbox. In our inbox, we'll find a list of workflow items. Sometimes an attachment list is attached to workflow items. Now I was wondering how to find the link between the w

  • How to Increase the number of string boxes?

    I have attached a VI in which the number of string boxes in "No:, Questions , Ok/not Ok, Remarks " are eight. Can any one help me by changing the number of String/ Numeric boxes from 8 to 50 in all the items? I am very new to labview and i got this V

  • In OS 10.8.4 is there a way to delete unread emails as a batch?

    I have a lot of unread emails. In OS 10.8.4 is there a way to delete unread emails as a batch?

  • Call a local program in Java class on Win

    Hi I'm now working on a Java project. It is needed to call a local program in Java class. Following is the local program's source code: #include <stdio.h> main()     char s[100];     printf("Please input\n");     scanf("%s", s);     printf("Output: %

  • Material master COPA

    Dear All,     I have derived the derivation rule as 1.Material group = Business segment,       2. profit center = Business segment  3.Business segment = business field and maintained rule for all the above derivations.  Now i am facing problem in the