LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Read file and update Global graph parameters

    Employee
    Posted 08-12-2012 23:48

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mwillett

    Hello.

    Is there anyway to read in an external data source (most likely a text file or from an Access DB) and then use the values from that (in a known format) file to populate the values of global graph parameters?

    I am collecting data from a number of users, as parameters (which are each called multiple times by the graph), for use in the same graph, and rather than entering them manually, was hoping to automate this, as much as possible.

    Regards,
    Mike


  • 2.  RE: Read file and update Global graph parameters

    Employee
    Posted 08-13-2012 07:21

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    There a few ways to do this, but none of them are as "clean" as you may wish. And, these are not necessarily "supported".. in other words, your mileage may vary.

    Both methods are going to require that you separate your graph into two peices.. a "parent" and a "child", where the parent graph collects the parameter values and passes them to the child graph.

    One way is to examine the format for the BRP/BRS files that are associated with your graph. If the parent graph can re-write those properly, then when you load the child graph, it will read the parameters.

    The other (and perhaps better) way is to use a node called "ExecuteBRX" -this node can execute a child graph multiple times, passing new parameters each time.


  • 3.  RE: Read file and update Global graph parameters

    Employee
    Posted 08-14-2012 04:50

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mwillett

    Thanks Stony, looks like I have some reading up to do, to make this possible.