Programming tips – Crystal nVision Lab Reference User Manual

Page 10

Advertising
background image

Module Queries and Commands

8

nVision Programming Instructions

X

recording error codes

Recording error codes can be broken down as follows:

Form: ABBDDEEE

A

BB

DDEEE

Error/Success

Section

Error/Status Code

On success, a default success response

|00000000

is returned. On error, a default error code format is returned.

Below are the specific error codes that will be seen using REC:STA! and REC:STO!

A

- Error/Success

0

= Success

8

= Error

BB

- Section

04

= Record

DDEEE

- Error/Status Code

First 2 characters denote recording status

01EEE

= Currently recording

02EEE

= Not recording

Last 3 characters denote specific error

DD000

= Unable to Start/Stop recording because of nVision recording status (cannot start recording when already started, or stop recording when already stopped)

DD112

= nVision is currently erasing recordings

DD113

= User needs to complete operation on nVision

DD114

= User needs to wait for nVision to complete current operation

DD115

= nVision memory is full

DD116

= nVision batteries are low

EXAMPLES

|80100100

= Bad command or Run Tag supplied is too long

|80401000

= Cannot start recording; nVision is already recording

|80402112

= Cannot start recording; nVision is currently erasing recordings

|80401113

= Cannot stop recording; user needs to complete operation on nVision

Advertising
This manual is related to the following products: