configure separate lines on a DIO port as input or output

IM using a NOR-DAQmx map (6251) in LabWindows/CVI environment.

My problem is with the EEPROM reading, but both his (output of 6251) clock and data lines (entrance at 6251) are on the same physical channel (Port1 DIO)

How to use CVI to configure individual port lines, so that a single line (say Port1.6) is a release and another (say Port1.7) line is an entry.    And therefore not have to keep starting and collapses of the NIDaq read or write operations across the port only once, but just let each line separate running as a read or write until the operation is complete.

Thank you

Hi Rob,

The map of PCI-6251, you can configure different lines on the same port for the inputs and outputs with CVI.  I've attached an example that does what you are asking here: it uses port1, line6 port1, line7 as input and output.

Also, for others reading this post, more information on this topic are in this post on the forum as well.

Best regards
Erik

Tags: NI Software

Similar Questions

  • is the hdmi port, an input or output set

    I use net flex, I was woundering if I could plug my rj48 cable computer cable and hdmi to my tv?

    HDMI is OUT.

    Vista HOWTO

    Windows 7 howto

  • Synchronization of measurement DI/O with 5 analog in separate lines of various modules mounted on a NIcDAQ-9178

    Hi all

    I have a VI that measures analog 5 separate lines (pressure sensors, thermocouples in temperature, etc.) and 3 lines of DI/O (for a coder angular step phaseB and IndexZ).  I'm having a few problems (as follows);

    1 trying to simultaneously capture the reading encoder and analog playback, I tried setting them up on the same basis of 100 kHz time although the encoder reads at a different rate from that of the lines of I which produces squewed data.  So I tried to make the lines to HAVE it read at each rising edge of the pulse of the encoder, (this had to number 2).  Is there a way to make the lines SO the DI/O on the same clock sampling or better still in the same job for DAQmx?

    2. analog digital converter is too slow (ie the error that the previous conversion was not completed before a new has been tried), when trying to acquire 5 analog in different lines triggered by impulses from a line of digital IO ADC says its too slow, a work around that maybe?  Currently, I have a different task for each analog channel, is the cause of the error? I should concatenate the strings in a single task maybe? (any recommendations on how that would be great).

    I've been watching a lot of messages about the analog triggering from DI/O, although I don't think many of them have the same chassis and modules than me...  I work with a NI 9201 (Analog In), NI 9401, and a NI 9213 all hooked to a NIcDAQ-9178.

    As a plus for the previous post...

    After the validation, I came across this very useful utility provided by NOR.

    http://zone.NI.com/DevZone/CDA/tut/p/ID/11549

    It describes the synchronization between the DAQ hardware.  I guess that it is so a thread lost since the answers to my questions are answered in this website.

    Nick

  • DIO port config.vi: Subvi is not executable

    Hello

    Could you please help me in my problem explained below.

    My problem is when I execute the below attached VI file, I get the error saying "Subvi"DIO port config.vi"': Subvi is not executable '." Same error for port write.vi DIO, DIO port read. VI.

    I went to DIO port config.vi and run it separtately that displays the error "node Interface Code: code for the object is not loaded.

    In fact the program used to work properly and suddenly started showing this error that I couldn't solve.

    Here are my specifications.

    I have LV v4.0.1 running in my Windows 2000 operating system.  I have LAB - PC + DAQ card to control motors. I also have the card PCI-GPIB connected to Lecroy 8901 GPIB interface for data acquisition.

    I have NEITHER-DAQ 6.6, NI-VISA for windows 95 / NT installed in my system.

    I have attached my program with this message file.

    valueble suggestions are greatly apprecited.

    Thank you.

    Looks like your traditional DAQ driver has been corrupted. Have you tried to reinstall?

  • Error 0 x 80070035 "[name of the PC] is not configured to establish a connection on Port"File and Printer sharing (SMB)"on this computer".

    Original title: "home network".

    0 x 80070035 "[name of the PC] is not configured to establish a connection on Port"File and Printer sharing (SMB)"on this computer".

    That's what I get on my ThinkPad when I try to do the networking. I placed all the parameters correctly: all 3 of my computers are set the same. 2 workstations work perfectly. They can even see the laptop but not to open all files. The laptop can, open same network t itself file. But he can see the whole of the network (including a printer, is told by the way). I, ve gone through all parameters twice. I've even set the C drives to share via the menus of context on each computer. I have visited many forums with none even come close to this problem (they all will tell you how to set the network parameters or they get very technical and over my head).

    I tried with & without a firewall.

    No password.

    I use a wired network.

    Laptop & 1 desktop computer running vista - 1 desktop computer running xp.

    They have all the latest service packs ms & udates.

    Any help will be appreciated.

    These files can be opened by norton or lenovo network setting apps. The settings do not work only in the application of network of vista. Nor can I work norton or lenovo from other computers.

    PS how can I ensure these settings effect may just lan and do not extend to the internet?

    Thank you bb

    I tried new drivers & returned through sharing & permissions, according to Jack, but he was not good. At the level of experience of my computer I can miss something obvious, but I doubt it because I've been very careful in following the instructions. I am experencing other problems with this laptop as well and I'll just get all. I am planing to get back anyway, that's why I needed network. I wanted to Exchange files over the network to avoid having to ' wait & swap "usb drives. Thanks anyway. Thank you BB bb

  • Run the query to separate lines

    Hi all

    I have a button with the code "Execute_query", but the table contains duplicate, and I want to retrieve only the separate lines?

    Thank you

    Try this in trigger WBP:

    GO_BLOCK ("dept1");

    CLEAR_FORM;

    SET_BLOCK_PROPERTY ("dept1', QUERY_DATA_SOURCE_NAME, ' (SELECT DISTINCT * FROM dept1)');

    EXECUTE_QUERY;

    Kind regards

    Zlatko

  • I need to convert PDF to Excel, however, the columns and tabs make many merged cells and the number of columns empty. In addition to not separate the columns properly, I see many not separate lines together in the same cell. I think same as Adobe Acrobat

    I need to convert PDF to Excel, however, the columns and tabs make many merged cells and the number of columns empty. In addition to not separate the columns properly, I see many not separate lines together in the same cell. I even think that Adobe Acrobat Pro DC has limits. There is no way to set what points in columns to force the column break? Or create several columns that are unnecessary? How column in Excel, size fixed when import us text and define where breaks have columns of text?

    Google Tradutor para empresas:Google para appsTradutor sitesGlobal market Finder traducao Toolkit

    Acts traducao Instantaneasobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar comments

    PDF does not contain columns, lines, formats, styles or other aspects of word processing or spreadsheet file formats.

    This is because the PDF is decidedly not a file format of word processor or a spreadsheet or something 'like' one of these.

    (see ISO 32000 for what PDF "is")

    Which allows to optimize the export of the content of a page PDF is to start with that tag well formed PDF (ISO 14289-1, PDF/UA-1).

    Without that export is what it is and we performs the cleanup of any necessary content using the native application for the export of files (MS Word or Excel).

    Be well...

  • Loads separate lines into PO_LINES through the interface tables

    Hi gurus

    I need to load a standard PO via the interface. In interface tables there are several lines using a single ITEM_ID, changing only ITEM_DESCRIPTION.
    This ITEM_ID is a service, each line represents a detail of this service.

    After the import process, in PO_LINES, there is a single line with amount total.

    How can I do to load separate lines in PO_LINES?

    Thanks in advance
    Oscar

    Hi Oscar,.

    Unfortunately, there is no way to do it using PDOI... Try to use the private api po_interface_s.create_document. But the problem is that you might not be able to use it as a... have to copy this API and modify as needed.

    Kind regards
    Praveen

  • Selection of separate lines

    Hi all
    I have a requirement where I need to select rows that have distinct values for a particular column.

    SELECT DISTINCT (CHART. COLUMN_X) TABLE.
    Implement the same I used a filter for the column and gave the 'application' to filter as ' DISTINCT (CHART. COLUMN_X).

    But I get a message error "is not valid for the DBMS of Expression".
    java.sql.SQLSyntaxErrorException: ORA-00936: lack of expression

    How to make this work?

    You can do this easily in the IKM.

    On the workflow tab, select your IKM, on the corner, there is a checkbox named "Separate lines", check it out.

    It will add a SEPARATE keyword in select it generated.

    Brice

  • TextField legend on a separate line?

    Hello

    Using LiveCycle when drag the field of text on a page, the legends and the text box are on the same line.

    I want captions and the text on a separate line box, how can I do this?

    Thank you

    Faraz

    We can do it with the propertios of text field.

    Access the properties of the layout of the text field.

    In what the Caption properties select up/down for your needs.

    Hope this will help.

    Kind regards

    Rambeau.

  • Separate lines of two tables related by a third

    Hello

    I need to write a sentence SQL of a group of SEPARATE lines, each line in a shape of: A.X, A.Y, C.IDBOLETA. Tables A and C are related through the table C, as follows:

    Table A: INDUSTRIAGEO

    VARCHAR2 (20) NIT NOT NULL,.
    CORRELAIGEO NUMERIC (2) NOT NULL,
    NOMBREAGENCIA VARCHAR2 (255) NOT NULL,
    DIRECCION VARCHAR2 (255),
    X NUMERIC (12.8) NOT NULL,
    IS NUMERIC (12.8) NOT NULL,
    CONSTRAINT PKGEOINDUST PRIMARY KEY (NIT, CORRELAIGEO),
    CONSTRAINT FKGEOINDUST FOREIGN KEY (NIT) REFERENCES INDUSTRIA (NIT)

    Table B: ANÁLISIS

    IDANALISIS NUMERIC (12) NOT NULL,
    VARCHAR2 (20) NIT NOT NULL,.
    CORRELAIGEO NUMERIC (2) NOT NULL,
    DATE DATE NOT NULL,
    IDINSPECTOR NUMERIC (4) NOT NULL,
    CONSTRAINT PKANALISIS PRIMARY KEY (IDANALISIS).
    CONSTRAINT FKANALGEOI FOREIGN KEY (NIT, CORRELAIGEO) REFERS TO INDUSTRIAGEO (NIT, CORRELAIGEO).
    CONSTRAINT FKANALINSP FOREIGN KEY (IDINSPECTOR) REFERENCES INSPECTOR (IDINSPECTOR)

    Table c: ANALISISBOLETA

    IDANALISIS NUMERIC (12) NOT NULL,
    CORRELAANALISIS NUMERIC (2) NOT NULL,
    IDBOLETA NUMERIC (12) NOT NULL,
    IDCATEGORIAINDUSTRIA NUMERIC (3) NOT NULL,
    CONSTRAINT PKANALBOLE PRIMARY KEY (IDANALISIS, CORRELAANALISIS),
    CONSTRAINT UKANALBOLE UNIQUE (IDBOLETA).
    CONSTRAINT FKANALBOLE FOREIGN KEY (IDANALISIS) REFERENCES COPS. ANÁLISIS (IDANALISIS),
    CONSTRAINT FKANALCATI FOREIGN KEY (IDCATEGORIAINDUSTRIA) REFERENCES COPS. CATEGORIAINDUSTRIA (IDCATEGORIAINDUSTRIA)


    Thanks for your help!

    Mario

    Maybe

    select distinct a.x,a.y,c.idboleta
      from industriaego a,
           cops.analisis b,
           analisisboleta c
     where a.nit = b.nit
       and a.correlaigeo = b.correlaigeo
       and b.idanalisis = c.idanalisis
    

    Concerning

    Etbin

    Edited by: Etbin on 4.5.2010 21:42
    the Elf of copy/paste started: b.correlaigeo instead of b.a.correlaigeo (as in the comment of the OP below)

  • How to remove duplicates in two separate lines in SQL?

    Hello

    I need to identify the data in double with two separate lines. See my below data structure.
    INDEX OF NAMES NAME_1 START_DATE END_DATE FLAG VALUE
    B ON 275 SE 13/12/2005-31/12/2010 1
    SELF 1 375
    SELF 1 475
    ON 275 SE 2 B 13/12/2005-31/12/2010
    SELF 2 375
    SELF 2 475
    ON SE 175 13/12/2006 AND 31/12/2010 B 3
    SELF 3 375
    SE ON 3 475

    This is my sample data. Here, the data is mirrored with different index columns. INDEX 1 and 2 contains the same combination group. I so need to identify one of the combination double (i.e. INDEX 1 or 2). Anyone can come up with the exact solution?

    Thank you

    I thought it had to do with the order of the INDEX field. The query checks only the value of the previous INDEX value.

    I think I found what the problem was.

    Try this:

    with test_table as
    (select 'SUR' NAME, 'SE' NAME_1, '275' VALUE, to_date('13/12/2005','DD/MM/YYYY') START_DATE, to_date('31/12/2010','DD/MM/YYYY') END_DATE, 'B' FLAG, 1 IND from dual union all
    select 'SUR', 'SE', '375', null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', '475', null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', '275', to_date('13/12/2005','DD/MM/YYYY') ,to_date('31/12/2010','DD/MM/YYYY') ,'B', 2 from dual union all
    select 'SUR', 'SE', '375', null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', '475', null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', '175', to_date('13/12/2006','DD/MM/YYYY'), to_date('31/12/2010','DD/MM/YYYY'), 'B', 3 from dual union all
    select 'SUR', 'SE', '375', null, null, 'A', 3 from dual union all
    select 'SUR', 'SE', '475', null, null, 'A', 3 from dual union all
    select 'SUR', 'SE', 'IPT', to_date('13/12/2005','DD/MM/YYYY'), to_date('31/12/2010','DD/MM/YYYY'), 'B', 100 from dual union all
    select 'SUR', 'SE', '375',null, null, 'A', 100 from dual union all
    select 'SUR', 'SE', 'AO', null, null, 'A', 100 from dual union all
    select 'SUR', 'SE', 'IPT', to_date('13/12/2005','DD/MM/YYYY'), to_date('31/12/2010','DD/MM/YYYY'), 'B', 218 from dual union all
    select 'SUR', 'SE', '375' ,null, null,'A' ,218 from dual union all
    select 'SUR', 'SE', 'AM' ,null, null,'A' ,218 from dual union all
    select 'SUR', 'SE', 'IPT' , to_date('13/12/2005','DD/MM/YYYY'), to_date('31/12/2008','DD/MM/YYYY'), 'B', 334 from dual union all
    select 'SUR', 'SE', '375' ,null, null,'A', 334 from dual union all
    select 'SUR', 'SE', 'AP',null, null, 'A', 334 from dual union all
    select 'SUR', 'SE', 'IPT' , to_date('01/01/2009','DD/MM/YYYY'), to_date('31/12/2010','DD/MM/YYYY'), 'B', 335 from dual union all
    select 'SUR', 'SE', '375' ,null, null,'A', 335 from dual union all
    select 'SUR', 'SE', 'AP',null, null, 'A', 335 from dual union all
    select 'SUR', 'SE', 'IPT' , to_date('13/12/2005','DD/MM/YYYY'), to_date('31/12/2010','DD/MM/YYYY'), 'B', 336 from dual union all
    select 'SUR', 'SE', '375' ,null, null,'A', 336 from dual union all
    select 'SUR', 'SE', 'AP',null, null, 'A', 336 from dual)
    SELECT name,
           name_1,
           value,
           start_date,
           end_date,
           flag,
           ind,
           MIN(diff_flag) over(PARTITION BY NAME, NAME_1, IND) min_flag
      FROM (SELECT t3.*,
                   CASE
                     WHEN lag(VALUE, lag_flag)OVER(ORDER BY IND, start_date, VALUE) != VALUE AND flag = 'A' THEN
                      1
                     WHEN (lag(value, lag_flag)OVER(ORDER BY IND, start_date, VALUE) != value
                        OR lag(start_date, lag_flag) OVER(ORDER BY IND, start_date, VALUE) != start_date
                        OR lag(end_date, lag_flag) OVER(ORDER BY IND, start_date, VALUE) != end_date)
                        AND flag = 'B' THEN
                      1
                     WHEN lag_flag = 0 THEN
                      1
                     ELSE
                      2
                     END diff_flag
              FROM (SELECT t2.*,
                           first_value(lag_count_flag) OVER(PARTITION BY NAME, NAME_1, IND
                                                                ORDER BY NAME, NAME_1, start_date) lag_flag
                      FROM (SELECT t1.*,
                                   CASE
                                     WHEN FLAG = 'B' THEN
                                      lag(COUNT, 1, 0)
                                      OVER(ORDER BY IND, start_date, VALUE)
                                   END lag_count_flag
                              FROM (SELECT t.*,
                                           COUNT(*) over(PARTITION BY NAME, NAME_1, IND) COUNT,
                                           row_number() over(PARTITION BY NAME, NAME_1, VALUE,
                                                                          START_DATE, END_DATE, FLAG
                                                                 ORDER BY IND) row_number
                                      FROM test_table t) t1) t2) t3) t4
     ORDER BY ind,
              start_date,
              VALUE;
    

    Published by: Manuel Vidigal on Abr 13, 2009 18:18

  • Individual access to the inputs and outputs on a single port (PXI-6509

    Hello

    I use PXI-6509 and this sentence taken from the Manual:

    "You can use each of the DIO lines as the input to a digital static (DI) or digital output (DO) line"

    leads me to believe that each individual DIO can be defined as input or output (even within ports), but picture:

    shows that these ports can be defined as inputs and outputs in the same port.

    On another card 6284 with DIO, I can put them individually.

    Can someone confirm that the 6509 is correctly?

    Best regards

    Adrian


  • Configure 9401 to buffering of input and output

    I have a compact DAQ (9174) and the module 9401.  I found the example to configure the inputs and outputs separately.  But when I try to apply that to my application, I get the error:

    Device cannot be configured for input or output because the lines and/or the terminals on this device are in use by another job or road. This operation requires temporarily reserving all lines and terminals for communication, which interferes with the other task or the road.

    If possible, use the control task DAQmx to book tasks that use this device before committing to tasks that use this device. Otherwise, uncommit or cancel the other task or disconnect the other lane before attempting to configure the input or output device.

    Feature: 9401-0
    Digital port: 0
    Lines: 0, 1, 2, 3

    Task name: _unnamedTask

    I tried using the example that works and adding just the bits and I think it has something to do with the fact that I use stored sample, but not sure clock output buffer.  I found the sample output correlated and fundamentally changed than to generate a waveform, that I need.  That part worked fine.  But when I then tried to use the entry, which has not worked very well.  The related example, I tried with line0:3 as output and input on the 9401 line7 and using the meter chassis as source is attached.

    Is there something with exits/entries in the buffer that will not allow using both at the same time?  or what am I missing?

    Found my problem.  The RESERVE has to happen just before the start of the task.  If try to change the sample clock or anything after reserve, leads to problems.

  • USB & Firewire audio interface ports still work as input and output?

    I guess everyone has to start somewhere, even if it is borne by almost everyone I would like to know the answer to my questions, perhaps with good reason, what I don't know is so if the USB ports unique connection and firewire on an audio interface function ALWAYS both as input AND output.  In other words, whenever I read the information about the product on audio interfaces, no matter where I go, it is generally accepted that most people buy their audio interface for RECORDING.  And so when most people talk about connecting their Apple computer, iMac or MacBook Pro, it is generally accepted, they turn to the USB as INPUT.  That's all very well and good.  But in my case, I want to use the USB port as output (not the taken mini) and go into an audio interface that gives me as a symmetric output signal that I can plug my amplified studio monitor (which has only a balanced XLR input). All of the examples I see with audio interfaces address registration and involve the use of the USB on the audio input interface.

    So my question is: can one USB port I see on any number of audio interfaces always function both of the inputs and outputs? It takes, but if so, why does any site mention this fact and whey didn't they show in all the diagrams of the audio interface manual hook to studio monitors?  I know what may be obvious to some, but as a user with the intention not to use a piano for a scene while but rather a keyboard/MIDI controller that is attached to the iMac to be able to use the virtual instrument software, I need to go to the controller to the iMac, then the iMac in symmetrical powered monitors. Do the balanced inputs of speakers requires more than a simple adapter to give the President a balanced input.  But nobody talks about audio interfaces usually unless they talk about as a way into the computer to record.  As for my situation? Why don't they include this example?  And why should they assume that novice will automatically KNOW that the usb port, an audio interface will work as an output as if they never EVER mention this example or Setup?  I guess it is to operate in both directions!  But really, I'm crazy to wonder when no one never speaks or shows this configuration? He suggested I buy something similar to a UR22MkII of Steinberg, who has a USB port. Even the Steinberg site speaks only records and so using the USB key as input for use with the recording software. There is no mention of its use out the mac in balanced speaker entries, even in the manual. In fact, it is question is always true for every audio interface manual that I watched, even by other manufacturers! Why they all assume a novice like me (whose money is just as good as money from the experienced user) KNOW that? It's frustrating!

    I know that this is not strictly a matter of logic, but I guess, in my view correctly, that a logic user community could be more appropriate to address my question for others communities. If I'm wrong, please help to re-send-the matter.  Thank you.

    Sound the interface itself that determines it can send and receive Audio or Midi... not the USB or FW port which both are devices of e/s...

    All USB and Midi peripheral FW are inputs and outputs

    All the USB and Audio FW are inputs and outputs...

    All devices USB or external hardware with a USB port... can handle Midi and Audio...  Some do... Most manipulate just Midi... or just Audio

    The Steinberg UR22MkII manages Audio and Midi...

    However, I do not recommend USB 2.0 audio devices... There are simply too many cases, problems and questions after the major updates for OS X with such devices especially when they are class compliant (IE without driver), even if the UR22MkII Steinberg is supposed to be compatible 10.11...

    View the other may vary... because it's just a personal opinion based on my past experiences both in my studio... and based on the many issues presented here and elsewhere.

    I'm sticking with Motu equipment for all my Audio devices... and I use iConnect devices for my Midi needs...

Maybe you are looking for