<div dir="ltr">Hi,<br>My java application uses RPC to communicate with ACT-R.<br>Mainly uses the evaluate method and is working in many cases.<br>But buffer-chunk command is not working via evaluate eventhough  buffer-read command works.<br><br>For example<br>-----------------------------------------------<br>JSONArray jsonArray3 = new JSONArray();<br>jsonArray3.put("{\"method\":\"evaluate\",");<br>jsonArray3.put("\"params\":");<br>jsonArray3.put("[\"buffer-read\",\"maneuver-left\",\"goal\"],");<br>jsonArray3.put("\"id\":1}");<br><br>Works and I am getting proper out put<br>{"result": ["D-0"], "error": null, "id": 1}<br>--------------------------------------------------<br><br><br>------------------------------------------------------------<br>But when I use buffer-chunk<br> JSONArray jsonArray3 = new JSONArray();<br>    jsonArray3.put("{\"method\":\"evaluate\",");<br>    jsonArray3.put("\"params\":");<br>    jsonArray3.put("[\"buffer-chunk\",\"maneuver-left\",\"goal\"],");<br>    jsonArray3.put("\"id\":1}");<br>        <br>I am getting {"result": [["D-0"]], "error": null, "id": 1} which does not include the contents in the <br>goal buffer.<br><br>When I use the same command via ACT-R command line, buffer-chunk works and gives complete output<br>(buffer-chunk goal)<br>GOAL: D-0<br>D-0<br>   STATE3  "active"<br><br>(D-0)<br>------------------------------------------------------------------<br><br>Can you please let me know how to get the full contents in the goal/retrieval buffer via RPC?<br>(Note: I am using ACT-R\examples\connections\Java\simpleACTRtest.java for testing)<br><br>Thanks & Regards,<br>Arun<br><div><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"Courier New";font-size:7.2pt"><br><br></pre></div><div><br></div></div>