B&B Electronics VFG3000 - Manual User Manual
Page 233

F
UNCTION
R
EFERENCE
C
OMPACT
F
LASH
S
TATUS
()
R
EVISION
1
P
AGE
217
C
OMPACT
F
LASH
S
TATUS
()
A
RGUMENT
T
YPE
D
ESCRIPTION
none
D
ESCRIPTION
Returns the current status of the CompactFlash slot as an integer.
V
ALUE
S
TATE
D
ESCRIPTION
0
Empty
Either no card is installed or the card has been ejected via a call to the
CompactFlashEject function.
1
Invalid
The card is damaged, incorrectly formatted or not formatted at all.
Remember only FAT16 is supported.
2
Checking
The Gateway is checking the status of the card. This state occurs when
a card is first inserted into the Gateway.
3
Formatting The Gateway is formatting the card. This state occurs when a format
operation is requested by the programming PC.
4
Locked
The Gateway is either writing to the card, or the card is mounted and
Windows is accessing the card.
5
Mounted
A valid card is installed, but it is not locked by either the Gateway or
Windows.
F
UNCTION
T
YPE
This function is passive.
R
ETURN
T
YPE
int
.
E
XAMPLE
d := CompactFlashStatus()