beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 315

background image

F

UNCTION

R

EFERENCE

N

EW

B

ATCH

(

NAME

)

R

EVISION

1

P

AGE

299

N

EW

B

ATCH

(

NAME

)

A

RGUMENT

T

YPE

D

ESCRIPTION

name

cstring

Name of the batch.

D

ESCRIPTION

Starts a batch called

name.

The name must be no more than 8 characters in length and made

up of characters that are valid FAT16 filename. Restarting a batch already on the CF card will
append the data. If a new batch exceeds the maximum number of batches to be kept, the
oldest batch (i.e. The one last changed) will be deleted. If name is empty, the function is
equivalent to

EndBatch()

.

Note: Batch status is retained during a power cycle. Starting a new batch within less than 10
seconds of ending or starting the last one will produce undefined behavior. To go straight
from one batch to another, call

NewBatch()

without an intervening call to

EndBatch()

.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

This function does not return a value.

E

XAMPLE

NewBatch(“ProdA”)