Announcement

Collapse
No announcement yet.

DataReader - check when data is ready

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DataReader - check when data is ready

    Hi, I have a script where I am using DataReader to load a xml file.
    System.SendCommand("#" &Scene.FindContainer("read_header").VizId & "*FUNCTION*DataReader*load INVOKE")

    In the script I need to know when the data is ready (DataRader has finished loading the xml flile) - before I start to use the data.

    How can I check if all the data is ready?


    Thanks in advance,
    jogvan olsen

  • #2
    Hi
    use the "Post Update Action" to set a DP variable or run a script or a director. I can't see it in the doc but this is called after data is read.
    HTH
    Adi

    Comment


    • #3
      Thank you, I will try later today...

      Comment


      • #4
        Thanks again,
        Just tested and it works perfect.

        Now I call the script - which is processing the data - in the 'Post Update Action' field : 0 $(THIS_SCENE)*TREE*$script_get_data*SCRIPT INVOKE get_tingmenn;

        and all the data is ready when the script start.

        jogvan

        Comment

        Working...
        X