variables of user-defined data transfer

Hello

I use the etherCAT 9144 chassis and is only supported by this hardware FIFO range target. After a search, I realized that the only way to transfer data from FPGA to the host by using user-defined variables. But these variables do not support the notion of FIFO. So which is the best practice to transfer data after measures (provable 10 Hz measurement of 15 values) to host VI?

Thank you

As mentioned, the 9144 only supports the analytical engine.

In regards to what you do, it really depends on the entire application. For example, what is the master? Are there other systems at issue here? Etc. It's a good read, in general, although it might not help this second right: http://www.ni.com/white-paper/14151/en/

A high level, you need to decide what you need. If you have need for deterministic communication, low-latency over long distances from a RT controller, the 9144 is probably the right choice. If you need low latency + streaming over short distances to a RT controller, you should look into the RIO MXI chassis. If you need mainly not deterministic low speed (10 hz) data mixed with low flow continuous over long distances to a windows or host RT, then ethernet expansion rio (9146,7,8,9) is probably the right choice. If you need high speed continuous with low control latency over long distances to a windows or RT host, you need a full cRIO controller. Based on what you've posted so far, its uncertain is the right person.

Lets say you're stuck with the 9144 for now. As you can easily hit 1 kHz scanning cycles, it should be perfectly possible to data 'stream' to 10 Hz. If you run the scan at 1 kHz engine, then you are 100 x oversampling. Where it gets complicated is this requirement of sync. By default, acquisition input/output is synchronized to the clock of the scan (and you can see when the clock of scan is set by a knot of e/s FPGA). However, you can take complete control of a module in the FPGA and read inputs and outputs at any time if you please. In other words, you can set up so when DIO0 goes high you immediately enjoy all the values of AI 15. You can then transfer these values HAVE switched to the host using the user-defined variables.

Tags: NI Software

Similar Questions

  • Querying the user-defined types

    I have a chart in which one of the columns is a user-defined data type:
    SQL> describe my_table
    ...
    USER_DATA    MYTYPE
    The type 'MYTYPE' is a simple object that contains a field: a CLOB called MESSAGE:
    SQL> describe mytype
    Name       Null?    Type
    ------     -----    ----
    MESSAGE          CLOB
    When I do a "select *...» "in this table, the USER_DATA column appears as"MYTYPE (oracle.sql.CLOB@898c2d).

    I know that for CLOB and BLOB fields, Developer SQL let me double click on the value and display the content. But for type like this defined by the user that contains a field, I can't navigate the data members of type. I find myself wanting to do something like a 'select user_data.message from my_table", but this is not a valid syntax. Is there a way to query a given specific member of this type defined by the user with the rest of the columns in the table, I can display the CLOB member instead of a representation of the object? If not, is it possible to configure SQL Developer to allow me to browse the data members of types defined by the user? TOAD has a feature like that but I would only use SQL Developer and it is a table that I work with on a regular basis.

    csimons,

    Try this:

    select  t1.user_data.message
    from    eimgr.aq_rtv_docs_out_table t1
    where   rownum = 1;
    

    See you soon

    Edited by: Frenchwood on September 22, 2009 22:38

  • 9144 with FPGA and SGL EtherCAT custom user-defined Variables?

    Hello

    I currently have a small instrument driver (rs485) running on a chassis of 9144. The output values are communicated to the master EtherCAT using FXP numbers. I would like to pass these FXP to SGL, since I've upgraded to SP1 2012 LV with FPGA now supports numbers of SGL.

    Is this possible? I tried several times to create the Variables defined by the user of SGL in the project, but the date type is gray.

    Greetings from Munich,

    Götz

    Unfortunately, SGL is not a data type supported for communication to and from a 9144. The types of data available for the I/O user-defined variables are:

    * Fixed point
    * Signed integers (Int8, Int16, Int32, Int64)
    * Integers (UInt8, UInt16, UInt32, UInt64)
    * 32 bit field
    * Boolean

    More information on I/O user-defined variables can be found at:

    Programming EtherCAT i/o with FPGA Intelligence to: Differences in LabVIEW FPGA programming API
    http://www.NI.com/white-paper/10618/en#toc4

  • What are user defined variables (UDV)?

    I'm trying to debug an application in real time and have worked on known issues for LabVIEW Real-time 2011. There is a term called "user defined Variables (UDV)" that opens occationally document known issues with other documents. It seems that UDVs can be created under target FPGA but I am unable to find any useful information on them. I know only local, global, shared, single, variable IO process.

    Hi Lucie,.

    The /o Variables using the help documentation gives a pretty good explanation of what a user-defined variable is in the section "data i/o Variables for Custom FPGA of e/s". I hope that this documentation helps!

    Best,

    tannerite

  • Extracts & user defined Variables

    After ~ 5 years not working not with any what HAT, I started a new post on 28/03/2016 and put back the trial HR 2015 a spin. I'm very excited by what I see and were able to do so far.

    I have 3 'entities' to write and I created 3 pages, one page per entity.

    Each of these presentation pages, I have this first line:

    |

    This section describes how to enter and manage [entity].

    |

    I set each [entity] as a user-defined variable. Each page with this sentence I hard-coded and added a reference to the user defined Variable and then produced output. Works great.

    Now, I'm going 'down' a level. What I want to know is how to

    |

    "This section describes how enter and manage."

    |

    be a code snippet. I want it to be an excerpt because when I write a sentence better, I don't have to make the same change on each of these presentation pages. Finally, there are 19 pages of presentation.


    Anyone who structure their content like this?


    What I want to avoid doing several manual changes. For example, if the following examples have been in a RoboHelp project, on https://support.assessment.pearson.com/x/N4Dy, there is this sentence:


    This section shows you how to manage user accounts.


    On this page - support to manage test paper - next to PearsonAccess online User Guide - Pearson Assessment - it is this sentence:


    This section covers all the unique aspects of the test paper.


    What I'm trying to do, is to have an extract which is defined as:


    This section tells you how to


    and refer to it on both pages.

    On the first page, it looks like

    from <>this section tells you how to< / endSnippet >

    user accounts < beginUserDefinedVariable >< / endUserDefinedVariable >.

    Then on the second page, I would say this:

    extract < code > This section tells you how to < / endSnippet >

    < beginUserDefinedVariable > manage paper test < / endUserDefinedVariable >.

    |

    The reason why I want it as a snippet of code is because I don't want to have to maintain "this section tells you how to" text hardcoded on each of these presentation pages. I would like to take advantage of the functionality of content reuse to avoid a bunch of copy / paste or even find / replace.

    Thanks for any help!

    Paul Hanson

    RoboHelp MVP of looonnngggg a long time ago...

    But what you might want to consider, is another variable to contain the desired text in the code snippet. This could be inserted inline. Then update you only in the variable.

    Just thinking out loud a bit.

    See you soon... Rick

  • Variable user defined appear as not defined in CHM and webhelp

    I have my RoboHelp files to source code control. Recently, our administrator made a copy of my help topics and places in a different folder in TFS. Now when I create webhelp or compiled MS HTML help, the user defined variables appear as being undefined in aid. When I visualize in RoboHelp well, they look like they do in the Viewer. It's only when aid is being built that these variables are somehow lost. Is there some required files that maybe did not move in the source code control? I supported my previous files and these work very well.

    I corrected sort myself, but I will post the solution in case anyone else runs into this error.

    I added a new variable that I named 'Test '. I added a new text and each of my variables defined by the user inserted in this text, including the new. I saved the topic and recompiled. The variables now appear correctly. Go figure.

  • Create a user defined storage capacity - apply to the storage of data / profile

    Nice day

    Im hoping that I don't need to re - invent the wheel here.

    Someone has already written a script or scripts that perform the following steps

    (1) create a user-defined storage capacity

    (2) create a storage with the capacity of the newly created profile

    (3) assign this new capacity to a data store.

    If anyone has created a script to do this, anyone happen to know what API objects would be involved, I can't find in the browser of the API.

    Hello

    Check this thread for a few examples around groups of data store: http://communities.vmware.com/message/2147437#2147437

    In addition, unfortunately the other necessary methods and objects to use with StorageProfiles not available in the public API for vCenter, and so there is also no appearance of them in vCO :-(

    You can check with Onyx...

    I recommend you file a feature request for this. (You are not first)...

    See you soon,.

    Joerg

  • Flash Wrapper and access user-defined variables

    I'm working on creating a Flash AS3 wrapper to combine several files cpativate.  I am able to retrieve system variables, but I'm not able to recover the user-defined variables.  I have a variable that is defined by the user in my Captivate called passedScore, in my Flash script, I have the following...

    var mcLesson1:MovieClip;

    btnHit.addEventListener (MouseEvent.CLICK, test);

    var vLoader:Loader = new Loader();

    vLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, swfLoaded);

    vLoader.load (new URLRequest ("untitled1.swf"));

    function swfLoaded(e:Event):void {}

    mcLesson1 = MovieClip (vLoader.contentLoaderInfo.content);

    vLoader.contentLoaderInfo.removeEventListener (Event.COMPLETE, swfLoaded);

    addChild (mcLesson1);

    }

    function test(event:MouseEvent):void

    {

    feedback1. Text = mcLesson1.cpInfoCourseName;

    feedback2. Text = mcLesson1.m_VarHandle.passedScore;

    }

    retroaction1 correctly displays the name of the course, however, for feedback2 it errors saying a term are indefinite (referring to m_VarHandle)

    try to use mcLesson1.cpEIGetValue ('m_VarHandle.passedScore');

  • RH6: User Defined Variable: how to change?

    QUESTION
    Is it possible to change the value of a variable that is defined by the user in RoboHelp 6? If so, please describe.

    QUESTION
    After you change a RoboHelp project, I want to update the value of a user-defined variable, but I don't see any way to do this.

    BACKGROUND
    My PC is under Win XP SP2. I use RoboHelp 6 to create a HTML Manual. I have several subjects; each topic has its own model. A common feature of each model is a version number. I inserted a variable defined by the user to the version number in each model. RoboHelp pushed successfully this version number to all my subjects.

    If you double-click on the user defined Variable in the project manager, you can change the default value here. I think what you want but is a different value for different generations. In the first page of the wizard when you build there is a button of Variables, you can change it there is for this build.

    You can create different configurations for different versions and each will retain its own value. Craig Clarke wrote an article on what will soon be published on the Adobe site. Hope this helps until then as I know that Craig, who has more knowledge of this area, is currently on holiday.

  • retrieving data from columns of user defined type

    Abstract types, I learned the other day. So I created an abstract type and a table.

    Create the student_ty as an object type
    (name varchar2 (20), number of roll);

    create table result)
    Student student_ty,
    (total);



    I also inserted data. But I'm having some trouble with the rretrieval of data. Suppose I want to choose only the roller and the name of the student as described in the type of studen. So I used the follwing query: -.

    Select result student.name;

    But it's not working. But when I use something like this: -.
    Select r.total, r.student.name in result r;


    This works perfectly. My question is that it is a rule that oracle needed to use an alias, whenever retrieve values for a user defined type data?. Help, please.
    Thanks in advance.

    Yes, you can use an alias when the type of object in a table like this.

    select r.student.name, r.student.roll, r.total
      from result r
    
  • Addition of registered symbols and TM for user-defined Variables

    Is it possible to add nurses or symbols marks to the value of the User Defined variable? All our help files are single originating in 2 or more brands of products, so I'm excited about this new feature RH7 (I upgraded x 5). But if I can't add these symbols, then this function is also useful for me as the new logo of HR.

    Hi Eilan

    I just tried a unicode character and it seems to work both webhelp and CHMS very well.

    I went to start. Run and enter "charmap". Selected a symbol and it is entered as the value of the variable. In the variable dialog box, it appeared like a square, but HR, it displays correctly in the WYSIWYG editor, preview, webhelp and in a CHM.

    The fact that the symbol is not correctly displayed in the list of variables can be overcome by a skilful titration of the variable.

    And what is the problem with the logo? :-)

  • User Defined functions in the Mapper

    I have user-defined functions that work in BPEL but I can't make them work in the Mapper. They appear when expected for jDeveloper but throw "function not found" errors

    Can someone look at my config files and see if the error comes out? Thank you bunches!

    BPEL file:

    " < soa-xpath-functions xmlns =" http://xmlns.Oracle.com/SOA/config/XPath "" "

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    version = "11.1.1.

    resourceBundle = "oracle.tip.tools.ide.common.resource.IDEMessageBundle"

    >

    < name of the function = "f17:editCaseNumber" >

    com.F17.CustomFunction.editCaseNumber < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < param name = "order" type = "string" / >

    < / params >

    number of valid cases and formats < desc > < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:editCaseNumber(string,string) < br / >

    Channel 1 is the data < br / >

    Channel 2 is the command. Valid commands are: < br / >

    1 = number of control check and come back as nnnnnnnnnn < br / >

    2 = number of control check and come back as nnn-nnnnnnn < br / >

    3 = Append check digit and return under nnnnnnnnnn < br / >

    4 = Append check digit and return under nnn-nnnnnnn

    < br / > < br / >

    Returns XML document fragment: < br / >

    Import of f17userDefinedFusnctions.xsd space variable prototype. < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:compressFile" >

    com.F17.CustomFunction.compressFile < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < / params >

    < desc > compress long strings by DB storage < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:compresFile (string)

    < br / > < br / >

    Returns XML document fragment: < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:sortList" >

    com.F17.CustomFunction.sortList < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "listIn" type = "string" / >

    < / params >

    lists of kinds of < desc > < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:sortList (String) < br / >

    Build the string as: & lt; list & gt; & lt; point & gt; [data] & lt; / point & gt;... & lt; / list & gt; < br / >

    Returns XML document fragment: < br / >

    Import of f17userDefinedFusnctions.xsd space variable prototype. < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "f17:replaceString" >

    com.F17.CustomFunction.replaceString < className > < / className >

    < return type = "string" / >

    < params >

    < param name = "StringToFix" type = "string" / >

    < param name = "RegX" type = "string" / >

    < param name = "replaceString" type = "string" / >

    < param name = "mode" type = "string" / >

    < / params >

    Sets < desc > replaceFirst and replaceAll functions java < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:replaceString(String,String,String,String) < br / >

    Chain change, regular expression, mode [optional] replace the string - 1 = all, 2 = first by default all the < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < / soa-xpath-functions >

    file Mapper:

    < soa-xpath-functions

    " xmlns =" http://xmlns.Oracle.com/SOA/config/XPath "" "

    ' xmlns:repl = ' http://www.Oracle.com/xsl/transform/Java/COM.F17.CustomFunction.replaceString "" "

    ' xmlns:comp = ' http://www.Oracle.com/xsl/transform/Java/COM.F17.CustomFunction.compressFile "" "

    version = "11.1.1.

    resourceBundle = "oracle.tip.tools.ide.common.resource.IDEMessageBundle"

    >

    < name of the function = ' model: compressFile ">

    com.F17.CustomFunction.compressFile < className > < / className >

    < return type = "tree" / >

    < params >

    < param name = "stringToFormat" type = "string" / >

    < / params >

    < desc > compress long strings by DB storage < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:compresFile (string)

    < br / > < br / >

    Returns XML document fragment: < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < name of the function = "repl:replaceString" >

    com.F17.CustomFunction.replaceString < className > < / className >

    < return type = "string" / >

    < params >

    < param name = "StringToFix" type = "string" / >

    < param name = "RegX" type = "string" / >

    < param name = "replaceString" type = "string" / >

    < param name = "mode" type = "string" / >

    < / params >

    Sets < desc > replaceFirst and replaceAll functions java < / desc >

    < detail >

    <! [CDATA [this is a custom function.] If you use it, you must include the

    Following namespace declaration in your BPEL file.

    < br / > < br / >

    ' xmlns:f17 = ' http://ENTP.HUD.gov/customxpath/functions "" "

    < br / > < br / >

    USE: f17:replaceString(String,String,String,String) < br / >

    Chain change, regular expression, mode [optional] replace the string - 1 = all, 2 = first by default all the < br / >

    See documentation for more details.]] >

    < / details >

    < / feature >

    < / soa-xpath-functions >

    None of the answers was * exactly * correct, but they gave me enough information to solve the problem.

    To implement what I have to code the functions a bit differently.

    • BPEL functions are all the IXpathFunction extension classes.
    • Mapper functions are not.
    • BPEL functions are each separate classes.
    • A single class with a method for each desired function mapper functions.
    • BPEL classes outcrop in the config file ext-bpel-xpath-functions-config. XML
    • The Mapper class is exposed in the config file ext-Mapper-xpath-functions - config.xml

    A BPEL class looks like:

    public class editCaseNumber implements IXPathFunction {
        public Object call(IXPathContext context, List args) throws XPathFunctionException {
           return docOut;
        }
    }
    

    A class to map looks like:

    public class mapperFunctions {
        public static String replaceString(String sIn,String sMat,String sRep,String mode){
            return finalString;
        }
        public static XMLDocumentFragment compressFile(String indoc){
            return docOut;
        }
    }
    

    (I deleted the code of these to avoid confusion.)


    My ext-Mapper-xpath-functions file - config.xml looks like:

    soa-xpath-functions
            xmlns="http://xmlns.oracle.com/soa/config/xpath"
            xmlns:map="http://www.oracle.com/XSL/Transform/java/com.f17.customfunction.mapperFunctions"
            version="11.1.1"
            resourceBundle="oracle.tip.tools.ide.common.resource.IDEMessageBundle"
            >
      
      com.f17.customfunction.mapperFunctions.compressFile
      
      
      
      
      Compresses large strings for DB storage
      
                    
    USE: map:compresFile(string)

    Returns XML document fragment containing HEX binary string:
    <compressedFile$gt;[outPut]</compressedFile> See documentation for details.]]>
    com.f17.customfunction.mapperFunctions.replaceString Exposes replaceFirst and replaceAll java functions
    USE: map:replaceString(String,String,String,String)
    String to edit,
    regular expression,
    replacement string mode
    1 = all
    2 = first occurance
    See documentation for details.]]>


  • Define apex execution context when it is called from user-defined form.

    I have a very (too) page complex to build. The page is built dynamically by the pl/sql in a pl/sql area. The procedure generates a form that is displayed to a user defined tag accepts function.

    I defined a procedure given to the public that receives as parameters (< entries... >) items published by the form's action property (< do action = "pkg.accept" > for example "") and manage the thing to (insert/update) based on the complexity and the way the form is built (like most of the people who coded pl/sql web have already done once in their life). Everything works very well.

    Now that 95% I need to work properly, I would need to access the data in the session of the apex which is not accessible because the execution context (the proc accept in the package pkg above) are not called by apex but directly. I have many other ways to do but the easiest would be a api, I can call with parameters, for example, user, session, app and page that set the environment variables and who would do the v() function would kick out me the required information.

    What makes this work (with the exception of the internal API)...

    Yes, but you can retrieve only items on level application (not those who belong to the pages). First of all, in addition to these steps, I have already mentioned, the overall application ID value with:

    apex_application.g_flow_id: = ;

    Then call the function (return varchar2) apex_util.fetch_app_item ('');

    Scott

  • Use of user defined function in mathscript containing a structure

    Hi, I am a novice user of LabView MathScript module,

    I have the following problem when integrating my code MATLAB, LabView, for HMM: in my program, I tried to call a MATLAB called "mixgaussinit.m" user-defined function, it shows this error...

    "

    I just noticed that these files appear to be copyrighted. My first question is do you have author permissions to post them in a public forum? If this isn't the case, then you can remove them. That being said, I have reviewed the code and it seems easy enough to work around your problems (provided that you have the copyright permissions). How to bypass the problems is to replace the fields of the struct with variables. There is of course allows you to change some definitions of functions for input and output the necessary variables which I think was the best 5 variables. You will also need to redo the code that uses a table of error checking cell. In total, I estimated about 30 minutes of work. I would have given you work around these files had not been protected by copyright. So, unfortunately, you will need to implement the work around you.

  • Subvi in an another Subvi data transfer

    Hi all

    I have a question,

    -Does anyone know how it is possible to transfer data as a double of a Subvi to another sub - VI on the same project file with arthemetrical calculations and encodings in the screws.

    I don't want to use local or global variables. How to use refnum? Can someone help me?

    Thank you

    Alan.

    Hi Alan,

    It's very simple. Just wire the data on an indicator in your first Subvi, then make an exit using the connector pane. Call the two SubVIs in your main program to where you want that data transfer and output of wire to an entry in the other Subvi.

    Another option is to call the second Subvi in the first and just wire the data entry.

Maybe you are looking for