Last change
on this file since 4 was
4,
checked in by zhangj, 10 years ago
|
Initial import--MML version from SOLEIL@2013
|
File size:
407 bytes
|
Line | |
---|
1 | function tango_print_attribute_list(dev) |
---|
2 | |
---|
3 | %- get attributes info |
---|
4 | attr_info_list = tango_attribute_list_query(dev); |
---|
5 | %- always check error |
---|
6 | if (tango_error == -1) |
---|
7 | %- handle error |
---|
8 | tango_print_error_stack; |
---|
9 | return; |
---|
10 | end |
---|
11 | %- attr_info_list is valid |
---|
12 | %- print info for <operator> attribute |
---|
13 | for i = 1:size(attr_info_list,2) |
---|
14 | if (attr_info_list(i).disp_level == 0) |
---|
15 | disp(attr_info_list(i)); |
---|
16 | end |
---|
17 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.