<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    That's just the ticket!  Thanks!<br>
    <div class="moz-signature">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Denmark;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:10.0pt;
        margin-left:0in;
        line-height:115%;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {font-size:11.0pt;}
.MsoPapDefault
        {margin-bottom:10.0pt;
        line-height:115%;}
 /* Page Definitions */
 @page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
      <div class="Section1"><br>
      </div>
    </div>
    <br>
    On 12/20/2010 11:39 AM, <a class="moz-txt-link-abbreviated" href="mailto:db30@andrew.cmu.edu">db30@andrew.cmu.edu</a> wrote:
    <blockquote cite="mid:7C5B437DBC5AE376047FA065@act-r6.psy.cmu.edu"
      type="cite">
      <br>
      <br>
      --On Monday, December 20, 2010 11:09 AM -0500 "Stu @ AGS TechNet"
      <a class="moz-txt-link-rfc2396E" href="mailto:stu@agstechnet.com"><stu@agstechnet.com></a> wrote:
      <br>
      <br>
      <blockquote type="cite">**Sorry for the double post but I
        originally sent this from the wrong (non-member)
        <br>
        email account**
        <br>
        <br>
        ACT-R Users,
        <br>
        <br>
            I would like to print out the contents (chunk slots and
        values) for a specific set
        <br>
        of buffers (about 7 total) at a specific model run time. (For
        example, at 15.4 seconds,
        <br>
        print out the contents of goal, imaginal, retrieval, visual,
        etc)
        <br>
        <br>
            Is there a straightforward approach to do this.
        <br>
            I can't find it in the reference guide.
        <br>
         Thanks in advance!
        <br>
        <br>
      </blockquote>
      <br>
      The buffer-chunk command prints out the details of the chunks in
      buffers for
      <br>
      all the buffers provided (or all buffers if none provided).  Thus,
      this:
      <br>
      <br>
      (buffer-chunk goal imaginal visual)
      <br>
      <br>
      would print out the details of the chunks in the goal, imaginal,
      and visual buffers.
      <br>
      <br>
      If you want something to happen at a particular time in the model
      run then you
      <br>
      need to use one of the scheduling functions described in the
      reference manual.
      <br>
      If you know the exact time then you can use schedule-event.  It
      takes a time
      <br>
      and a function to call (which could be a lambda specified
      inline).  So, if
      <br>
      you wanted to have the details of the goal and retrieval buffers
      printed at
      <br>
      time 15.4 seconds you could add this to the setup code or model
      definition:
      <br>
      <br>
      (schedule-event 15.4 (lambda () (buffer-chunk goal retrieval)))
      <br>
      <br>
      Since that is presumably for debugging purposes you probably also
      want to
      <br>
      specify the :maintenance flag on the event as true:
      <br>
      <br>
      (schedule-event 15.4 (lambda () (buffer-chunk goal retrieval))
      :maintenance t)
      <br>
      <br>
      That will cause the model to ignore that event.  If you don't
      specify that
      <br>
      then the model could behave differently when you have that event
      scheduled
      <br>
      relative to when you don't and that's usually not a good thing.
      <br>
      <br>
      Dan
      <br>
      <br>
      <br>
      <br>
    </blockquote>
  </body>
</html>