chenkunlong 发表于 2012-12-10 12:06:16

lrs_save_searched_string 的用法

lrs_send("socket0", "buf0", LrsLastArg);
    lrs_receive("socket0", "buf1", LrsLastArg);
    lrs_set_receive_option(EndMarker, EndMarker_None);
    i=lrs_get_last_received_buffer_size ("socket0");
    lrs_save_searched_string("socket0", "buf1","notice","LB/BIN=serialid","RB/BIN=serialid",1,10,80);
          lr_output_message("notice is %s",lr_eval_string("<notice>"));

data.ws里的值为"<serialid>6637</serialid>\n"

无论我怎么修改lrs_save_searched_string的参数,总是提示:
vuser_init.c(27): lrs_save_searched_string(socket0, buf1, notice, LB/BIN=, RB/BIN=, 1, 10, 80)
vuser_init.c(27): lrs_save_searched_string: Can't use both size and right boundary
vuser_init.c(27): Error : lrs_save_searched_string : parameter is invalid. Error code : 9005.

要怎么修改呢?

joe_deng 发表于 2012-12-11 14:14:03

LZ,请确认检查点选项是否开启
页: [1]
查看完整版本: lrs_save_searched_string 的用法