How to generate an interrupt using DI change detection on m-series card

Hi,
I want to generate an interrupt on the positive edge of a digital input signal on the IO connector.
Does anybody know how to configure an m-series card (PXI-6224) for this use through RLP programming?
Thanks in advance,
Richard

Richard vl wrote:
I want to generate an interrupt on the positive edge of a digital input signal on the IO connector.
Does anybody know how to configure an m-series card (PXI-6224) for this use through RLP programming?
RuthC wrote:
I also want to generate an external interrupt on an M- series pci-6229, and on a pci-6602.
1. Is there an exampe how to configure the registers?
2. which external signals can genarate interrupts on those cards?
Hi Richard, hi Ruth,
Let me address your questions together: first for 662x (part of M Series) digital change detection and then for 6602 (part of 660x).
622x (M Series)
Digital change detection has not been released in the DDK for M Series devices. If you must use an M Series device, please ask your field engineer to contact NI support so we can discuss options. On the other hand, digital change detection has been released in the DDK for X Series devices (63xx) [1].
If you can use one from that family, then your programming will be much easier -- the RLP manual discusses change detection as well as interrupts (Chapter 1: Interrupts, beginning on PDF page 48), and the example distribution demonstrates how to configure change detection on the device (dioex3). The last piece is data transfer: the example's data transfer mechanism is DMA, so you would need to supply your own interrupt handler to move data to the host (or alert the host that a DMA transfer has completed).
6602 (660x family)
Moving to the 6602, change detection is not possible. The 660x device family only supports polling for transfering data read on the digital lines [2].
Please let me know if I overlooked anything in your questions.
[1] NI Measurement Hardware Driver Development Kit
http://sine.ni.com/nips/cds/view/p/lang/en/nid/11737
[2] NI 660x Specifications
http://digital.ni.com/manuals.nsf/websearch/57893F11B0C0687F862579330064FF6F
Joe Friedchicken
NI VirtualBench Application Software
Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
Senior Software Engineer :: Multifunction Instruments Applications Group
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)

Similar Messages

  • How to generate Webservices.xml using tool in Sun One App Server?

    How to generate Webservices.xml using tool in Sun One App Server?

    Hi,
    The build.xml file should be in a directory from where
    you are running the asant command.
    To resolve the common.xml file not found error,
    open your build.xml and check from which location the common.xml file is incuded.
    In the sample application it is four directories above
    the directory where build.xml is located.
    You can copy the common.xml in the current directory and then change the following in your build.xml
    <!ENTITY include SYSTEM "../../../../common.xml">
    to <!ENTITY include SYSTEM "common.xml">
    Hope this helps.
    Get back in case you have more issues

  • How to generate addm report using grid

    Hi,
    how to generate addm report using grid, please provide any relevant doc/links etc.
    Thanks in advance.

    how to generate addm report using grid, please provide any relevant doc/links etc.When you start with the wrong question, no matter how good an answer you get, it won't matter very much.
    what is best way to divide board into 2 pieces using a hammer?
    Edited by: sb92075 on Oct 25, 2010 7:22 AM

  • How do I locate information using a changed password?

    How do I locate information using a changed password?  I can not retreive info because couldn't remember my password.  Tried to change password and now I can't retrieve all my info.  Is it still there?

    8009220204 or *611 from your phone

  • How to generate multiple sheets using xml publisher

    Hi,
    how to generate multiple sheets using xml publisher.
    Thanks,
    Nur

    http://lmgtfy.com/?q=how+to+generate+multiple+sheets+using+xml+publisher

  • How to generate pwm pulse using NI DAQ in MATLAB

    hi everyone. please tell me how to generate pwm pulses using Ni DAQ card in MATLAB Simulink. if through coding is possible then post the corresponding code.....reply me 

    Make sure you have installed the Measurement studio support for VB 6.0 then you will be able to find examples in the folder below on win7 and 8.
    C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples
    Narrow down to Analog Output and choose update voltage example for measurement studio.
    You also have the possibility to use DAQ assistant if you have measurement studio installed. This function is a configuration type programming. After going through the configuration Wizard code is automatically scripted for you so that you can output the voltage you need. Read more about DAQ assistant in the blow link.
    http://www.ni.com/white-paper/4652/en/
    Best Regards
    Jonas Mäki
    Applications Engineering
    National Instruments

  • How to generate Java source using clientgen WL8.1?

    Hi, does anybody know how to generate Java source code using clientgen task on WL 8.1 Sp4 or SP5? I know WL 9.0 clientgen can do this, but we are still on SP5. Basically I want to look at the source code (I was wondering why it didn't work if I initialize a service impl by passing the WSDL URL string different than the URL specified in the original WSDL file that the clientgen is run against.)
    Does anybody also know how get web service client developed on Axis work on WebLogic without conficting the web service developed on WebLgoic that is running in the same box?
    Thanks for your help!

    hi ,
    As mentioned in the Question, I am unable to find the "Java Proxy Generattion" link in the Int builder.
    Also the help doc says:
    Java proxy generation is no longer supported in subsequent releases. For new developments or when making significant changes to a service interface, use Java proxy generation in SAP NetWeaver Studio instead. More information: Creating Outside-In Web Services, SAP NetWeaver Developer Studio.
    Does that mean that I can no longer generate java proxy from Int builder?
    regards,
    Piyush

  • How to generate DBMS_RANDOM Timestamp using procedure

    Hi,
    I got a copy from askTom site for the store procedure of creating random numbers in a table:
    create or replace procedure clone( p_tname in
    varchar2, p_records in number )
    authid current_user
    as
    l_insert long;
    l_rows number default 0;
    begin
    execute immediate 'create table clone_' || p_tname ||
    ' as select * from ' || p_tname ||
    ' where 1=0';
    l_insert := 'insert into clone_' || p_tname ||
    ' select ';
    for x in ( select data_type, data_length,
    rpad( '9',data_precision,'9')/power(10,data_scale) maxval
    from user_tab_columns
    where table_name = 'CLONE_' || upper(p_tname)
    order by column_id )
    loop
    if ( x.data_type in ('NUMBER', 'FLOAT' ))
    then
    l_insert := l_insert || 'dbms_random.value(1,' || x.maxval ||
    elsif ( x.data_type = 'DATE' )
    then
    l_insert := l_insert ||
    'sysdate+dbms_random.value+dbms_random.value(1,1000),';
    else
    l_insert := l_insert || 'dbms_random.string(''A'',' ||
    x.data_length || '),';
    end if;
    end loop;
    l_insert := rtrim(l_insert,',') ||
    ' from all_objects where rownum <= :n';
    loop
    execute immediate l_insert using p_records - l_rows;
    l_rows := l_rows + sql%rowcount;
    exit when ( l_rows >= p_records );
    end loop;
    end;
    Can somebody tell me how to generate a random TIMESTAMP?
    I try to change "sysdate" to systimestamp" and it give me an error:
    ERROR at line 1:
    ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    Please help!!
    Message was edited by:
    eecow
    Message was edited by:
    eecow
    null

    Can you give me an example of doing this?
    The other question is:
    Can the store procedure code (above) check other things other than data type?
    For example:
    if attributeName = 'percentage' --> create a random number from 0 to 100
    The reason is because I am trying to generate some more "realistic" data. Some fields can be unrelistic, but fields like "percentage" should be within 0-100 and should not have something like 200 :)
    Please advise.
    Thanks!

  • How to generate localized chars using code point in Solaris 10?

    Hi All,
    Do enybody know how to generate localized chars (for example Japanese) using code points in Solaris 10?
    Like in the following web page:
    http://www.isthisthingon.org/unicode/index.phtml
    Unicode, shift-jis
    U+4e2f 87a3 �N
    U+4e3b 8ee5 ��
    U+4e3c 98a5 �S
    U+4f5c 8dec ��
    Thanks,
    Daniel

    I have found a "Code Point Input Method" tool in the following page:
    http://java.sun.com/products/jfc/tsc/articles/InputMethod/inputmethod.html
    Using this tool user can enter hexadecimal code point and the output is some char.
    But this tool doesn't work. I run this in the follwoing way:
    # java -jar CodePointIM.jar
    After this error message appers:
    Failed to load Main-Class manifest attribute from
    codepointim.jar
    If anybody could help I will be appreciate.
    Regards,
    Daniel

  • How to generate Serial numbers using JAVA SCRIPT

    how to generate serial numbers(incrementing by 1) using JAVA SCRIPT
    thanking you,
    pola pradeep

    i am afraid that whether ur looking for this. bcoz its a simple for loop
    <script language="JavaScript">
    //count = limit value for u
    for(i=0;i<count;++i){
         alert(i);
    </script>
    or if ur looking for something else, pls mention ur requrment precisely
    aleena

  • How to generate idoc  PODRCH02 using out put type

    Hi All,
    I need to generate outbound idoc PORDCH02 and message type PORDCH using out put types (messages).But i unable to generated this idoc using message type. System is giving error as  *No recipient found for message type PORDCH in the ALE model*
    To do this , i have done the following steps.
    1. In BD64 i have configure the business object BUS2012, using add bapi. ( In cust.distn model it doesn't allowing the message type. so i have given BAPI )
    2. In partner profile (WE20), for sending logical sytems
    i have configure the message type in outbound parametes.
    3. In NACE for out put type NEU  i have given medium as Distribution (ALE),  Partner function as LS     
    Could you please help me out , what are the necessary steps i need to take care and what are the steps i missed out.
    Thanks and regards
    Praveen

    In distribution model, you have to configure both the sending system and receiving system. The Tcode of Distribution model is BD64.

  • How to generate .xsd file using jaxb generated java files

    Hi,
    We need to upgrade our applicatio to jdk1.6 which has jaxb2.0 class files in it. Our application has java files generated from .xsd using jaxb1.0.2 version. At present we dont have .xsd or .xml file with us.
    We decide to generate .xsd file by using jaxb1.0.2 generated java files. I tried using schemagen.exe given by jdk1.6 to generate .xsd file. It error out. Is there any other way to generate .xsd file ?
    pls let me know.
    thanks,
    Thiru

    Object-XML mapping is a new feature in JAXB 2.0. Classes generated with JAXB 1.0 won't generate a schema.
    Generate Java classes with JAXB 2.0 xjc.
    http://www.theregister.co.uk/2006/09/22/jaxb2_guide/

  • How to generate two signals using NI myDAQ

    Dear Sir:
    I designed a circuit to generate a sine wave successfully using Labview. What I want is using NI myDAQ to generate another 3V DC signal as a power supply. I can do this seperately but when I add them together there is an error:  NI Platform Services:  The specified resource is reserved. The operation could not be completed as specified.
    I would like to use A01 to generate a sine wave and A02 to generate a DC wave, could you please check my file and tell me how to solve this problem. I found a solution which generates two signals together but what I need is to control these two signals seperately and using two channels.
    Kind Regards
    Jeff 
    Attachments:
    signal gen and acquire.vi ‏126 KB

    Thanks very much for your kind reply.
    No. I tried for a long time, change the samples of each simulate signal to the same but the warning also came out. Could you please check my file and tell me how to solve this kind of problem?
    Kind Regards
    Jeff 

  • How I generate index markers using Applescript and tagged text!

    One of the challenges I've faced in automating the book making process using Applescript with inDesign is that there don't seem to be any AS commands for making new index markers (anyone please correct me I if I'm wrong about this).
    I've tried various js scripts which do an OK job, but they don't make the actual native markers. This means you have to wait until the book (consistiing of multiple ID files) is complete (so that all the page numbers have been established) to generate the index.
    Recently, I read a tweet from someone with a link to a technique which uses tagged text and find and replace with GREP to edit the tags, inserting the tagged text index tags in the text file and then re-placing the text file in the ID page. In itself, this works great. But I'm dealing with literally thousands of separate text frames, none of them connected in a story.
    The books typically consist of around 1200 pages with almost that many people, each of whose names I need to index with "Lastname, Firstname" references. And those particular strings don't (can't) appear anywhere on the pages. There will also be about 50 ID files all combined into one book. So it is imperative that I have ID generate the native index markers. To help keep things straight and efficient, I'm creating separate small text frames to hold the lastname, firstname strings. I created an object style for these frames which sets the attributes to "nonprinting", and I place the frames in the margin.
    Then I realized that I don't actually have to have ID export the tagged text files for each. I exported one prototype and copied its tags to properties in my script, and then I concatenate them with the respective list item values I import from the database.
    At the proper point in the page building script, I tell "textwrangleer" to make a new document, set its contents to the index string for the current record, save it to disk, overwriting the previous one, and then tell ID to "place" it in the index text frame, which generates the ID index mark.
    I actually got an AS error when I first tried this: "file doesn't exist" or some such. Then I realized that the "place" command was happening too soon, so I inserted a .5 sec delay in the script, and it worked.
    This is actually my first major script for actual work, and I'm so excited about it! I promises to cut production time down to about a thenth of what it was.
    I still have to add some logic to branch between handlers with slightly different parameters for five different page formats, but the same page building handler will work on all of them.

    A note on this:
    Daniel Swanson wrote:
    I've tried various js scripts which do an OK job, but they don't make the actual native markers. This means you have to wait until the book (consistiing of multiple ID files) is complete (so that all the page numbers have been established) to generate the index.
    These scripts typically search for words and immediately write out the page numbers they are found on -- one shot indexing.
    The solution is to add both the topic and its page reference to the current document's index:
    if (app.activeDocument.indexes.length == 0)
        app.activeDocument.indexes.add();
    app.activeDocument.indexes[0].topics.add(app.selection[0].contents).pageReferences.add(app.selection[0]);
    The first lines only make sure there is an index to add to (per default, a new document has none).
    The last line adds a selected word to the index (it must be a plain text string, hence the use of its 'contents'), and then adds a reference to the selection in the text itself.
    Adding the same word a second time will for a change (quite untypically for ID's Scripting) not result in an error but simply add another page reference to the existing one.
    When doing this in a loop: remember to work backwards, because the index marker itself gets inserted into the running text, and that will throw off your text indices.

  • How to generate a PDF using a webservice?

    Hi all,
    I've got the following code in a webservice that generates a PDF:
    // Create a ServletOutputStream object
    ServletOutputStream oOutput = objResponse.getOutputStream();
    // Set the HTTPResponse objects content type
    objResponse.setContentType(objMyOutputContext.getContentType());
    // Get the length of the output stream
    int outLength = objMyOutputContext.getOutputContent().length;
    // Create a byte array and allocate outLength bytes
    byte[] cContent = new byte[outLength];
    // Populate the byte array by invoking getOutputContext
    cContent = objMyOutputContext.getOutputContent();
    // Write a byte stream back to the web browser. Pass the byte array
    oOutput.write(cContent);
    The problem is that I don't know how to pass the HttpServletResponse object (objResponse) to the WebService so I can obtain the ServletOutputStream which is needed to create the PDF form in a web browser. When I pass this object there's an error because this type of parameter is not serializable.
    Can anyone help? Does anyone know how to serialize this object? Is there any other possibility to generate a PDF form using a webservice with a serializable parameter?
    Thanks

    Hi,
    It sounds good, maybe you can get more info at http://www.adobe.com/devnet/
    Good luck and regards

Maybe you are looking for

  • Quick question about which 4in1's perform best

    I am using the 4in1's that came with the mobo.  Has anyone tested the newer ones to see which ones perform best in gaming/benching?  With my last setup, which was an NF2 mobo, my card performed much better in a few benchmarks than my current system.

  • JSF, JPF, Struts, SDO小探

    一直对这几个概念不是非常清楚,一直对学习JPF心存疑虑.这几天,花了一点时间,大致上看了一下这几个东西的文档,有了一点收获,和大家探讨一下. Struts:不用多说,大家都非常熟悉了. Service Data Object(SDO)是JSR235讨论的一种简化数据访问的结构.在Web应用中,可以使数据源对开发人员透明. J2EE标准的Java Server Faces(JSF),BEA的JPF,都是基于Struts的,那么有一些什么区别呢? JSF更多的是关注于页面的表现,很多结构和Strut

  • How long does this thing take to restore

    I connected this for the first time to a pc and registerd it and everything-- then my bro put it on his mac - then now i put it back on my pc-- how long will it take to restore so i can finally put songs on it???????????

  • GarageBand output obstacle in 13"

    I'd like to plug my guitar into the unified IO audio jack in the 13" MBP, but I've hit a problem. If audio is going in, I can't find a way to force audio out through the internal speakers. This seems like a design flaw, seeing as how it would appear

  • ProBox23 - no video, no audio, no bios

    Hi, today i received a ProBox23 with an i3-4130T CPU; 2x4gb Corsair (CMSO8GX3M2C1600C11) DDR3L 1600MHZ 1,35V; an 60GB Kingston SSD - I put all together and wanted to boot it. First nothing happened, after a second try it started, the cpu fan turned a