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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7 - Reader Namespace<br />

reader.profile.delete<br />

This function deletes the specified profile from the reader. This is a<br />

destructive operation. Once a profile is deleted, it cannot be recovered.<br />

The following example deletes test_profile from the reader.<br />

>>> reader.profile.delete(test_profile)<br />

ok<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=-,admin=x<br />

filename (string)<br />

reader.profile.list<br />

This function returns a list of all previously saved reader profiles.<br />

The following example lists all profiles on the reader:<br />

>>> reader.profile.list()<br />

ok profiles = isoc_portal isoc_conveyor isob_portal<br />

test_profile<br />

Type<br />

Permissions<br />

function<br />

guest=-,admin=x<br />

reader.profile.load<br />

This function loads the specified profile of reader settings. Once a profile is<br />

loaded, it is the active profile (see reader.profile.active) and it is<br />

the profile loaded at reader startup.<br />

The following example shows the use of this command to load the reader<br />

profile named isoc_portal. Once the isoc_portal profile is loaded, it is the<br />

active profile (see reader.profile.active) and it is the profile that<br />

will be loaded at reader startup.<br />

>>> reader.profile.load(isoc_portal)<br />

ok<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=-,admin=x<br />

filename (string)<br />

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

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

Saved successfully!

Ooh no, something went wrong!