06.01.2015 Views

INfinity 510 Protocol Reference Guide - Sirit

INfinity 510 Protocol Reference Guide - Sirit

INfinity 510 Protocol Reference Guide - Sirit

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 7 - Reader Namespace<br />

reader.apps.stop<br />

This function stops the user script or java application previously started with<br />

the reader.apps.start_python or reader.apps.start_java<br />

function.<br />

The following example stops a previously started application with a PID of<br />

8537:<br />

>>> reader.apps.stop(8537)<br />

ok<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=-,admin=x<br />

pid (int)<br />

reader.apps.view_log<br />

This function displays an application log file. If the file is greater than 10K<br />

bytes in size, the last 10K bytes of the file are displayed.<br />

The following example views an application's log file:<br />

>>> reader.apps.view_log(pid = 8537)<br />

ok<br />

dio 1 went high, starting scan for tags<br />

dio 1 went low, stop scan for tags<br />

scan found 196 tags<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=-,admin=x<br />

pid (int)<br />

<strong>INfinity</strong> <strong>510</strong> <strong>Protocol</strong> <strong>Reference</strong> <strong>Guide</strong> 57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!