Basic Rundown of Digitial IO Techniques with Examples.

Hey Folks:
   I seem to be orbing around a solution to what I need, but always run into an error, that it seems nobody else is running into. I think I'm missing something.
   Trying to do digital input with DAQ-mx on a PCIe-6535B   along the following lines.
Data -----  X_BE56_X_78CD_X_FFE2_X .........
Strobe _____----_____-----_____----___  .........
I'm sending the strobe into PFI5 and the data are going into data ports 0 and 1.
I'm getting a errors along the lines of data timeouts etc along the lines of
DAQmxErrorCannotReadRelativeToRefTrigUntilDone (-200281)
 I don't fully understand what DAQ-mx input modes are and I can't find a full write up that goes into depth on all the modes and how they work.
Also it seems that DAQ-mx is self contained. I can't find any write ups or examples on how to size buffers and transfter acquired data into arrays and files so I can actually do something with the data.
I'm using the canned examples, I've attached one, but there's very little explained here. Does anyone have any pointers?
Thanks
Andrew

Hi Blah!
It seems like that error is related to how you are triggering the acquistion. You may want to continously acquire data and then post process or process data based on the Strobe line. The DAQmx Configuring Logging function in the example does log data to file. You will just have to change the Logging Mode control to Log and Read instead of Off. Please take a look at some links for more information on DAQmx.
Timing and Synchronization Features of NI-DAQmx
http://www.ni.com/product-documentation/4322/en/
How Is the DAQmx Buffer Size Allocated for a Finite or Continuous Acquisition?
http://digital.ni.com/public.nsf/allkb/E1E67695E76BA75B86256DB1004E9B07
Retriggerable Analog Voltage Acquisition
https://decibel.ni.com/content/docs/DOC-11757

Similar Messages

  • IDOC with example and T.codes ??

    hii
    Some body explain me about the scenario and steps to be followed in configuration and in front process with transaction codes .
    Jus some experts can explain me about over all procedure of IDOC in SAP with transaction code (Full cycle with examples...??
    In MM , exaplin me with some examples and with transaction codes ..
    Thanks

    Check these links
    [IDOC Configuration|http://sapmm.posterous.com/idoc-configuration]
    [Learn SAP u2014 IDOC basic|http://blogs.moovar.com/sap/learn-sap-idoc-basic/]
    1) What is IDOC?
    IDoc means intermediate document is a standard data structure for electronic data interchange (EDI) between application programs written for the popular SAP business system or between an SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's Application Link Enabling (ALE) system.
    2) Why its is used with SAP?
    IDocs are used for asynchronous transactions: each IDoc generated exists as a self-contained text file that can then be transmitted to the requesting workstation without connecting to the central database. Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for synchronous transactions.
    3) What its advantages & disadvantages?
    a) IDOC - Advantages :
    The target system need not be always online. The IDOC would be created and would send the IDOC once the target
    system is available.
    No additional programming required. Configuration is the only one need to be set up.
    b) IDOC - Disadvantages :
    Receipt/Processing on the target system need not be immediate
    When no standard IDOC is available, then it is very hard to create a custom IDOC when compared to creating a
    standard BAPI
    Unless ALE is used, it is difficult to trace if the IDOC has actually reached the target system
    4) IDOC flow with MM :
    In order to make use of the workflow for IDoc processing, you do not have to go through the cumbersome
    workflow design procedure as it is described in the workflow documentation. For the mentioned purpose, you can
    register the workflow handler from the menu, which says Event Coupling from the BALD transaction.
    Triggering the IDoc from a workflow event has a disadvantage: if the IDoc has to be repeated for some reason, the
    event cannot be repeated easily. This is due to the nature of a workflow event, which is triggered usually from a
    precedent action.
    Edited by: Afshad Irani on Aug 26, 2010 5:48 PM

  • What is activity in SAP CRM  with examples plz?

    Dear All
       What is activity in SAP CRM  with examples plz?
    Thanks
    CRM Newbee

    Activities are explained in CR010 & CR300. It is a transaction type used to record sales activities e.g. telephone call, email or customer visit or a follow up call, request to fill up a questionnaire or request to set the status to complete etc. in customer/partner engagement lifecycle. This has mainly information like: Activity type partner, texts & dates. However it is an order document like opportunity, sales order etc. & extra information can be added by including customer set types like we do in opportunity, quotation, sales order, conttract etc.
    Activities are a central part of SAP CRM & used across application e.g. Interaction Center, Sales, Marketing etc.
    I hope this should be sufficient & helpful.
    If you need to understand more about basic concept of Activities please see the dropdown list for Activity types..this will give you a good idea as to what are the kinds of business transactions which can be activities.
    Regarding Quotation thing...Quotation is not an activity but 'Create Quotation' or 'Create Quotation as follow up to a lead or opportunity' can be an activity.
    Thanks,
    Vivek

  • Website for MM flow With Examples..

    Dear guru's
    Wish a very happy new year 2008.
    Can anybody send me the website related to SAP-MM (a to z process) with examples.
    Please send some other usefull websites links related to SAP-MM .
    I m interested to learn from strong basics in SAP-MM.so pls help me....
    Thanks and regards
    sap-mm

    hi,
    First understand the process flow.
    1.u r purchase manager means that u purchase 1000MT PP material ,this is ur aim
    now u get some information from vendor side (like how much Mt?quality,deleivery time etc)
    fine,u got 10 vendor list then now select best vendor among the list.
    once vendor choosen then send purchase order to that vendor
    (how much material and cost and tax all information)
    after one week u will get goods from vendor.
    u can check the raw material quality is ok or not ok?
    finally u accept the goods againt ur po
    after 3 days  u will get invoice from ur vendor.
    check the invoice amount then pay amt to vendor.
    so this is normal procedure for purchase process flow.but depends upon the concern some infromation added.
    the same flow , we will follow the sap.
    once normal flow clear then come to sap side
    best of luck
    regards
    kavi

  • Explaination for background steps in MRP with example

    Dear SAP Guru's,
      I received the explaination for below steps in MRP.
    But, it wouid be better if i could get the explaination for step 2 with example, step 3 for lot size EX & step 5 also with example.
    1. Check planning File Entry
    2. Net requirements Calculation
    3. Lot size calculation
    4. Scheduling
    5. Source determination
    6. BOM explosion
    1. Check planning File Entry: An entry is made in the planning file as soon as any changes are done to the material which are relevent to MRP. Eg. Changing MRP type, Changing BOM Qty. System checks if there is an entry. chk sample planning file entry in md21.
    2. Net requirements Calculation: It checks the available stock of the materials. Required minus available = net required qty. availability check plays vital role in this.
    3. Lot size calculation: Depending on the lot size maintained in the material master, it groups the materials. eg. If you use lot size as FX(Fixed lot Size) with fixed lot size qty = 100, then system will create pld ord or PR for the material in fixed lot of 100 always.
    4. Scheduling: You can either carry out basic dates scheduling (values taken from MRP 2 view) or Lead time scheduling (values taken from routing) to this the floats are added and scheduling is carried out. By default it is backward scheduling. If the dates are going in past, today scheduling is done.
    5. Source determination: For externally procured materials, you can assign a fixed source (ME01). This vendor is assigned in PR during MRP.
    6. BOM explosion: For dependent requirements calculation, system explodes the BOM and plans the materials.
    Thanks in advance
    Regards
    Kalyan

    Kalyan,
    I do not see a business problem described in your email that I can assist you with.
    I suggest you read the standard SAP online help in this area
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/f4/7d27aa44af11d182b40000e829fbfe/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4c/420d29470a11d1894a0000e8323352/frameset.htm
    and associated topics.
    Rgds,
    DB49

  • Basic Graphic Generator in Carbon Application with Xcode

    Hello everyone.
    I'm a student who just started this year introduction to programming (basic knowledge) I need to build a Carbon application program for a project which is able to generate very simple graphics, such as squares, rectangle, circles and triangles.
    I've got already some code and my interface more or less built but only to make a simple line and only because I set them in the code rather than on the interface user.
    My intention is to build a program which anyone can type on the interface user the "X" and "Y" IN points where the graphic will begin and the "X" and "Y" OUT point where the graphic should finish on. Then once you have type in these coordinates, press a button to generate(draw) the graphic you have previously set.
    I would like to know any source where i can get some more information about how draw graphics (squares, rectangles, circles, triangles) also I would like to know if what I'm trying to do, there is a easier way to do it(rather than type in the interface user the "X" and "Y"coordinates, typing in the interface user the area of the shape I would like to display for example: The square the length, for the rectangle the length and the width and so on...
    Could anyone give a hand?
    Thanks
    the best
    Pokas

    Hi dear,
    Firstly thank you very much for your reply, my application doesn't work yet but I'm still trying he,he.
    I am having some issues to display the graphics.
    Let me explain you in case that you could help me.
    Basically I have 4 radio buttons with the area of different geometry equation shapes in two dimensions such us (square, rectangle, triangle and circle).
    So it means each time the user would like to select to display the a rectangle(for example) what the user is doing is; selecting the rectangle area (lenght x high) which has previously been set in the radio button codes for rectangles.
    Then the user has to type in the lenght and the high in a couple of input boxes respectively to get the rectagle area (in this example) and by pressing a button should display on the HIView the shape of that rectangle that the user is trying to get.
    **So my problem is I don't know what kind of code I need to use when the user type in the lenght on the input box and the high on its respectively input box to press a push button to display those geometry shapes on the HIView.**
    *Do you know what source of code or where I should look at to get a code to trigger the values that the user types in the input boxes, and by clicking on a push button, it displays the geometry shapes in two dimension in my HIView?*
    Thanks
    the best
    POKAS.

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

  • I have a PDF form that I want to pre-fill multiple fields with example text that disappears onFocus. Is there a way to do this?

    Pretty much what my subject line says. My client wants example text in the fields of a PDF form that will disappear when the cursor enters the field. When I try this with show/hide layers, the layer becomes visible as soon as I enter form editing mode, and the action doesn't work properly. Any help? I was able to get it to work with a single field, but multiple fields with example text on multiple layers doesn't work for some reason.
    Thanks for any help.

    Hi Jeffrey ,
    You need to use a custom Format script for the field.
    Regards
    Sukrit Dhingra

  • Step By Step creation of Smartform in ECC6.0 with example program.

    Hi,
    Can anyone give me the steps to create smartforms in ECC6.0 with example program call the function module created by form.
    Regards,
    Chandru

    Hi   Chandra Prakash,
    Go through the following Links, here u can find example with step
    by step.
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    http://sap.niraj.tripod.com/id67.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    Check these links also.
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    Regards,
    Eshwar.

  • What is the use of profiles in oracle apps,could u pls explain with examples

    what is the use of profiles in oracle apps,could u pls explain with examples

    1b5595eb-fcfc-48cc-90d2-43ba913ea79f wrote:
    what is the use of profiles in oracle apps,could u pls explain with examples
    http://www.appspatrols.com/now/blog/understanding-profile-options-in-oracle-apps-oracle-e-business-suite
    http://www.oracle.com/pls/ebs121/search?word=Profile+Options&format=ranked&remark=quick_search
    Thanks,
    Hussein

  • Explain about xml schema with example

    Hi,
    Kindly anybody explain about xml schema with example?
    With Regards,
    L.rajesh

    Maybe this is what you are looking for ??? If not give us more info...
    Re: How it work?

  • Explain me Auth_id  and definer rights in detail with example.

    Explain me Auth_id and definer rights in detail with example.

    ibney wrote:
    Explain me Auth_id and definer rights in detail with example.How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    unwilling or incapable to Read The Fine Manual yourself?
    http://docs.oracle.com/cd/E11882_01/server.112/e25789/toc.htm

  • In Scom,How to add CAC value in given MP (management pack)? Please give me in detail procedure with example if possible.

    In Scom,How to add CAC value in given MP (management pack)? Please give me in detail procedure with example if possible.

    Hi 
    CAC is System.ConsolidatorCondition condition detection module used to consolidate the monitoring i.e. you can generate an alert on multiple occurrence of issues instituted of generating single alert for issue.
    refer below link for more information
    http://msdn.microsoft.com/en-us/library/ee809324.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/20301.how-to-add-consolidation-for-url-monitoring-in-scom-20072012.aspx
    Regards
    sridhar v

  • Standard Match Code for Selection Options with Example

    Hi Guys,
                 Can anybody tell me Standard Match Code or Search help for Selection Options.
             ex: MBEW-MATNR , MBEW-BWKEY and MBEW-BWTAR. can anybody tell how to keep Search Help or Match Code for the Above Fields in ECC 6.0 with Example
              Very Urgent.
    Thanks,
    Gopi.

    Well Gopi.. as per your requirement no need to use collective search help.
    I guess you have three fields in selection-screen,out 3 fields you have two fields contains search help.
    Create your user defined search help BWTAR ..
    Check the below links for creation search help :
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee2b446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Hope you got it.
    Thanks
    Seshu

  • Any one pls send me documentation on blocked and hierachi alv with example

    hi experts,
    any one pls send me documentation on blocked and hierachi alv with example
    rewad points.........

    Hi,
    Check this prg:
    BCALV_TEST_HIERSEQ_LIST
    Regards,
    Subramanian

Maybe you are looking for