Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (D-F)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
5-16
DEVICE_GETINFOBYNAME_
Obtains the logical and physical attributes of a device.
error := DEVICE_GETINFOBYNAME_ ( devname:length
,[ logical-info ]
,[ logical-info-maxlen ]
,[ logical-info-len ]
,[ primary-info ]
,[ primary-info-maxlen ]
,[ primary-info-len ]
,[ backup-info ]
,[ backup-info-maxlen ]
,[ backup-info-len ]
,[ timeout ]
,[ error-detail ] );
error, INT returned value
1 Reserved.
2 Parameter error; error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
3 Bounds error; error-detail contains the number of the first parameter found
to be in error, where 1 designates the first parameter on the left.
4 Device not found; error-detail contains a file-system error number.
devname:length, STRING .EXT:ref:*,INT:value input:input
logical-info, INT .EXT:ref:* output
logical-info-maxlen, INT:value input
logical-info-len, INT .EXT:ref:1 output
primary-info, INT .EXT:ref:* output
primary-info-maxlen, INT:value input
primary-info-len, INT .EXT:ref:1 output
backup-info, INT .EXT:ref:* output
backup-info-maxlen, INT:value input
backup-info-len, INT .EXT:ref:1 output
timeout, INT(32):value input
error-detail, INT .EXT:ref:1 output