cardVersion

cardVersion — extracts firmware information from a card.

Synopsis

(cardVersion card_id)
  

Parameters

card_id

The target card ID (0..3). If no card ID is specified, the query is repeated for all initialized cards.

Returns

(cardVersion card_id "firmware_name" "firmware_version")

Otherwise, if the specified card has not been initialized:

(error "cardVersion DR_ERR_CARD_INVALID (time) invalid card: card_id")

Example

In the following example,

(cardVersion 0)

returns

(cardVersion 0 "DPM     CIF30DPM" "V01.014 22.11.96")