Relations between Matlab structures and LabVIEW clusters

I have a DLL created with Mathworks COM Builder, used as an ActiveX component in LabVIEW. Thus, I am able to have my Matlab functions inside LabVIEW. However, I have a problem regarding the pass of parameters between Matlab and LabVIEW.
When the Matlab functions parameters are simple -DBL, DBL arrays, strings-, there is no problem. LabVIEW does the right translation. But I have not been able to pass a Matlab structure to LabVIEW, which counterpart I think it would have to be a cluster. To solve this situation I need to split the structure components and pass them separately.
Does anyone know how to do it without the workaround?
Thanks in advance and have a good day,
spj

Hello Tishu,
1)       Can we use nested for loop in Mathscript node?
1) Yes you can. Remember that loops should be avoided as much as possible in m-scrips. Most of the times you can use vectorization to represent same task.
2)       Which one of these is feasible: 1) Matlab script node
                                                          2) Mathscript node
2) What exactly is the "Feasable" question? Real time (see below) or nested loops (see above)
      3)  Is there any other way to interface between matlab and LV for real time signal processing?
3) Real time is different depending the application. Some applications need ns or ps real time (RF appls) others need seconds delay. Real time means "determinism". That a task will execute in a know time with little jitter. Windows is not a real time OS therefore nothing in it will operate in real time. Can you tell us something about the signal your are processing (Audio, Image fps, Radar)?
      4)  Suppose X is 1D array (DBL) in Labview. And Mathscript code is as below:
For i=1:inf,  4) Is this vector a valid one? inf = Inf which is different from 1/eps.
Y= X-1;
end
Here X is input and Y is output.
Such code does not produce output (Y variable) in real time processing.
Does it wait till the FOR LOOP ends?  Is there any solution to such problem? 5) What is this suppose to produce?
Let me know,
yardov
Gerardo O.
RF Systems Engineering
National Instruments

Similar Messages

  • Relation between Organisation Structure and Business Partner

    Dear All ,
    My Requirement is to pass any child node to get the corresponding parent node in the organisation structure created by T.Code : PPOMA_CRM.
    I found in HRP1001 table if you pass the BP in SOBID  field you will get the Parent field at OBJID in the same record . again you have to pass the OBJID as SOBID to get the next parent . Here my problem is the Business partner (SOBID) assigned in to two Org .Structure , So it is giving two records in the HRP1001 table . But i want to get the parent node comes under a particular Org Stucture .
    how it is related .
    Can any one help me on this,pls ?

    Hello,
    I don't know what your problem is, but try some of these fm. to help you to understand how hrp1001 table works. To find related objects you need to
    pass sobid into objid changing otype, ralat and sclas fields depending of what you are looking for.
    CRM_CENTRALPERSON_GET
    CRM_BUPA_GET_HROBJECT
    CRM_ORGUNIT_GETEMPLOYEES
    CRM_ORGUNIT_GETBUPA
    CRM_EMPLOYEE_GETORGUNIT
    CRM_CP_GET_POSITION
    CRM_IS_ORGUNIT_CONSISTENT
    Regards, Robert

  • Relation between RV61A structure and VBRP,VBRK,KONV

    Hi Gurus,
    My requirement is i need to get RV61A -KOEIN values.Currently i have tables VBRP,VBRK and KONV which i have connected . Now i need a relation to connect RV61A with either of these tables.
    Also i need to connect tables KOMP-NETWR , KOMK-WAERK with these tables.
    How to connect these tables.

    Hi Abhishek,
    Just see my post in this thread. Hope it will be helpful for you.
    Re: Determining relationships between tables
    Thanks
    Nitesh

  • Relation between GL Account and Invoice?

    Hi Experts,
    I am working with the FI reports for the first time and I do not have any idea on FI functional flow. I have some basic questions like
    What is the Relation between GL Account and Invoice?
    When will an Invoice be posted into BKPF, BSEG, BSAD, BSID, BSAK and BSIK? Is there any field in these tables which gives the Invoice number against which a GL Account is created?
    For example if I want to calculate " no of vendor invoices without PO how can I do that"? How can I know what are vendor invoices created against a PO or without PO?
    Thanks for any help in advance and I am bound to reward points.
    Sri

    <b>What is the Relation between GL Account and Invoice?</b>
    SAP's Glossary for GL Account is
    "A structure that records value movements in a company code and represents the G/L account items in a chart of accounts.
    A G/L account has transaction figures that record changes to the account during a posting period. These figures are totals that are used for G/L reporting."
    In accountancy, an account is a label used for recording and reporting a quantity of almost anything. For example when a company pays salary to its staff, They debit Salary account. This is to identify what is the nature of an expense.
    An invoice is a message to the buyer of goods or services that contains, among other things, Name of the goods or services, Quantity sent, & Remuneration due.
    Invoice is also a SD document used to charge a customer for a delivery of goods or for services rendered.
    <b>When will an Invoice be posted into BKPF, BSEG, BSAD, BSID, BSAK and BSIK? Is there any field in these tables which gives the Invoice number against which a GL Account is created?</b>
    If it were a vendor invoice. (i.e you purchase items or service and recieve invoice)
    Invoice get posted to the tables once someone makes a Logistics Invoice verification through t-code MIRO etc. The teble RBKP gets the first posting.
    If it were your own invoice to your customers, then VBAK and VBAP get the posting.  The connectivity of tables are available in http://www.erpgenie.com/abap/tables.htm As far as SAP is concerned an invoice is a document, so you can only trace invoice as a document number, field name is usually BELNR. Even if a vendor invoice arrive, an internal invoice number is generated where the vendor invoice is entered only as a reference field. This is because, each vendor can have inovices of different size and pattern.
    <b>How can I know what are vendor invoices created against a PO or without PO?</b>
    For a purchase order you can find in table EKBE for BEWTP = Q any invoice document.

  • Difference between Append structure and include structure

    hi can anyone tell me the difference between include structure and append structure with respect to tables defined in ABAP dictionary?
    Also how to create them in ABAP dictionary?

    HI
    INCLUDE:
    Includes are used to group fields and insert them together in a table or structure.
    An include program has two main functions:
    It contains code which can be used by several different programs.
    It helps you to modularize programs, which consist of many different logically related parts. Each of these parts is stored as a separate include program.
    Include programs improve the readability of programs and make maintenance easier.
    Include reports contain rolled out parts of reports. They are called by the main report, and can only be run in conjunction with the main report.
    APPEND:
    Append structures are used for enhancements that are not included in the standard. This includes special developments, country versions and adding customer fields to any tables or structures.
    An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure.
    The following enhancements can be made to a table or structure TAB with an append structure:
    Insert new fields in TAB,
    Define foreign keys for fields of TAB that already exist,
    Attach search helps to fields of TAB that already exist
    Just have a look at this link:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ebd6446011d189700000e8322d00/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ebd6446011d189700000e8322d00/frameset.htm</a>
    Rsgards,
    Gunasree.
    Award marks to helpful answers

  • What's the difference/relation between a topic and a page?

    Hello all,
    I'm not sure about the relation between a new page and a topic: it seems that a topic can be composed of pages, but when I look at the topic's HTML, there's no new section (DIV) for the added page.
    Also, am not sure about the relation between the book and the topics/pages.
    Would be grateful if somebody could either point to reference material or provide a few clarifying words on this.
    Many thanks, Donna

    Hello again
    Okay, I'm interpreting that as meaning it really didn't make much better sense to you. I'll take another stab at it.
    When we create content in RoboHelp, we create what most of the world would know as HTML Pages. These are simple files that contain HTML code. And on the World Wide Web, they would be generically called Web Pages.
    But remember, RoboHelp is a Help Authoring application. Not a Web building tool. So while the tool (RoboHelp) actually creates different HTML Pages, in Help Authoring speak, we just call them Topics. Because we are typically describing something helpful. So this Topic is about clearing a paper jam from a printer while this other Topic is about How to Fill Out an Expense Report.
    So generically speaking, each of our HTML Pages in our project is known as a different Topic. Sometimes we mix the terms can call them Topic Pages. So they are sort of synonomous in that respect. HTML Page = Topic
    Now, part of building any respectable help system is the fact that you are able to create a Table of Contents (TOC). Each node (or entry) that is part of your TOC structure likely points to a different Topic in your project. But when we edit the TOC, we generically say we are creating a Page. (This is typically because the TOC most often uses icons that look like Open or Closed Books, with Pages inside each Book that individually point to Topics.)
    Hopefully that makes better sense... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Where can I find the relation between company code and plant?

    where can I find the relation between company code and plant?
    I need to the list of plants under a company code.
    Which table?

    yes,wayne weng   .What you said is right.
    Thank you very much!
    My MSN:[email protected]

  • Relation between MSEG table and movement types in 2lis_03_bf

    Hi all,
    May i know the relation between MSEG table and 2lis_03 _bf xtractor stock type/stockcategory where we see the informarion in r/3 side for this, you answers gets rewarded.
    regards,
    Dan.

    Hi,
    Most of the data for IM comes from the tables MSEG andd MKPF. You can go to MSEG contents and see the data there. You will find all the movement types, stock types and stock categories there. You can also use the transactions MB5B, MB51 etc.. to see the related info in R/3. As I said most of the data comes from these tables but not all the data. It uses some internal programming to get the data.
    Hope it helps...

  • What is the difference between (SEPA Structured) and (SEPA Unstructured)?

    Hi,
    Could you please teach me about "Format Payments (SEPA Structured)"
    and "Format Payments (SEPA Unstructured)"?
    1.What is Format Payments (SEPA Structured)?
    Is (SEPA Structured) used with which case?
    2.What is Format Payments (SEPA Unstructured)?
    Is (SEPA Unstructured) used with which case?
    3.What is the difference between (SEPA Structured) and (SEPA Unstructured)?
    The customer is checking Note.791226.1.
    However, he says that he cannot understand these two differences.
    Please teach me.
    Thanks.

    From the European Payments Council website:
    Remittance information: structure the unstructured
    The SEPA Credit Transfer Scheme permits the end-to-end carrying of remittance data on a structured or unstructured basis appropriate to the nature of the payment (the remittance information usually contains details of the contract underlying the transaction such as an invoice number, for example). The length of the remittance information in the SCT Scheme is fixed at a standard length of 140 characters and banks are obliged to pass on the full remittance information.
    The EPC supports a proposal developed by the European Association of Corporate Treasurers (EACT), which allows companies to agree on a structure for the remittance information. The EACT suggestion on how to structure the "unstructured" remittance fields allows companies exchanging a credit transfer to agree, among other, on information to be transmitted in a specific manner. Banks will carry remittance information structured in such an agreed way unaltered throughout the process chain.

  • Relation between different GUID and tables in RPM

    Hi All,
    can you tell me the relation between different GUID and tables in RPM. Many thanks.
    Regards,
    J B

    Hi Deepesh,
    Try the foll. join :
        SELECT  fragment_guid  INTO  (some internal Table)
             FROM  comm_pr_frg_rod
             WHERE  product_guid  = (your product guid list)
    This should give u a complete match of the products.
    Hope this helps.
    Regards,
    Raviraj

  • Is there any table for relation between batch number and valuation type ?

    hi,
    I would like to know where i can find relation between batch number and valuation type ?
    thank you and Best regards
    Fernand

    Hello
    MCHA

  • Relation between Sales org and Shipping Point

    Hai all,
           Can any one tell me wt is the relation between Sales Org and Shipping point?
    Ravi
    < PLEASE DONT USE SMS LANGUAGE AND PLEASE SEARCH THE FORUMS.  >

    Hi Ravi,
    There is no direct relation.
    Sales organisation in broader level, it is responsible for selling a product in a company.
    It is liable to the customer interms of service of the product or service and confirmation of the sale order, delivery and invoicing.
    Shipping Point is a logical point from where the shipment / dispatch begins.
    Both Sales organisation & Shipping point wil be linked to plant (one or more).
    In case of sale order, sales org will decide the delivering plant.
    Shipping point will be picked based on delivery plant, sh.conditions (cmr) & loading grp (mmr).
    hope this is clear to you now!

  • Relation between sales organization and company

    HI,
    What is the relation between sales organization and company
    codes?
    ANY BODY SUGGEST THIS MATTER.

    hI,
    Kindly search in this forum before posting
    Re: Can you assign one sales organization to multiple company codes?
    see the above link
    Thanking you,

  • Relation between Ibots,Delivers and BI Publisher

    Hi,
    I would like to know the relation between Ibots,Delivers and BI Publisher.
    Any one help Please.
    Thanks,
    Lakshmipathi.

    Tim,
    Please in Contracts forums look for "Need to change OKCTERMSDS Data Source "
    The third reply says
    "The XML for the documents are generated by the product code using BC4J XML generation. No concurrent program is involved in it.
    As regards to including additional fields from Sourcing documents into the XML generated, you can use the BC4J extension fwk to extend the ViewObject that generates XML and modify the query to include any additional fields as needed.
    All the above assumes knowledge of Oracle Application Framework and the customization fwk. There is a Metalink Note (dont know the exact id) which explains how to extend BC4J objects and deploy them.
    Thanks.
    Juanje

  • Relation between business process and functional area during the role search

    Hi Experts,
    We have 2 functional areas in which we have different business process involved.
    During the Access request, if the user selects  one functional area then business process related to that functional area should come.
    Is there any functionality in GRC, where the mapping between functional are and business process to be done?
    Thanks,
    Sriram

    Hi Sri,
    there is relationship between 'Business process' and 'Sub-business' process as in configuration parameter you can setup that once business process is selected only relevant sub-process will be selected.
    There is no such a relation between functional area and business process.
    Filip

Maybe you are looking for