The text of a manual · part 32 of 37
JANUS PSK for Basic, Version 2.1 Reference Manual, pages 311 to 320
Pages 311 to 320 of 362
The original document is the PDF (601 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec J2020, Intermec J2010 and Intermec J2050
Page 311
imViewportSetxy – Visual Basic
3
Example '**************** imViewportSetxy ****************** REM $INCLUDE: 'im20vbas.bi' ' Viewport Set X and Y coordinates ' Prompt for row and col INPUT "Enter row ", dpRow% INPUT "Enter column ", dpColumn% status% = imViewportSetxy (VARPTR(dpRow%), VARSEG(dpRow%), VARPTR(dpColumn%), VARSEG(dpColumn%)) temp$ = INPUT$(1) PRINT "VP Set XY status =" PRINT " ", HEX$(status%) SLEEP 5 END
3-145
Page 312
imViewportToCursor – Visual Basic imViewportToCursor Purpose:
This function centers the viewport around the cursor.
Syntax:
REM $INCLUDE: 'im20vbas.bi' SUB imViewportToCursor ()
IN Parameters:
None.
OUT Parameters:
None.
Return Value:
None.
Notes:
When the cursor is not displayed, use this function to move the viewport to the cursor. This function has no effect on the JANUS 2050.
See Also:
imCursorToViewport, imViewportEnd, imViewportHome, imViewportPageDown, imViewportMove
Example '**************** imViewportToCursor *************** REM $INCLUDE: 'im20vbas.bi' ' Call viewport to cursor imViewportToCursor SLEEP 5 END
3-146
Page 313
A Appendix A: Status Codes
Page 314
Page 315
A
Appendix A: Status Codes
This appendix lists the status code hex values and error messages. Use the tables in this appendix to look up the meaning of a specific status code.
Status Code Bit Values Most of the PSK functions return status codes. You can use the codes to test for error conditions that your application will act upon. Each status code is a 16-bit word structured as follows: 15
14
13
12
10
9
8
7
6
5
4
3
2
1
0 s s f f f f f m m m m m m m m
JPSK.002 where: s is severity code:
00 = Success 10 = Error 01 = Warning 11 = Fatal f is the subsystem code, explained later in this appendix. m is the message code that identifies the error or warning condition. The status codes are IM_USHORT (unsigned short) values. The tables in this appendix list the hex value of the message codes.
A-3
Page 316
JANUS PSK for Basic Reference Manual
Status Codes Listed Numerically The following table lists the return codes and the error message text provided by im_message and imMessage. For each message, there is an associated status return code, subsystem, and severity. Some messages are abbreviated to fit the display and to save memory on the JANUS reader. The table includes an easy-to-read version of the abbreviated messages.
Status Codes and Error Messages Listed in Numerical Order Hex Code
Severity
Subsystem
Reader Message and Description
0000
Good
NO
Request successful
0001
Good
NO
Prohibited
0100
Good
RS
Rservice request success Reader services successful
0103
Good
RS
Rservice resume success Reader services resume successful
0200
Good
CM
Request success Request successful
0201
Good
CM
Read End Of Record End of record reached
0202
Good
CM
Read End Of File End of file reached
0300
Good
SC
Scan success Scan successful
0400
Good
DC
Success Successful command
0401
Good
DC
Symbology already enabled Symbology is already enabled
0402
Good
DC
Symbology not enabled Symbology is not enabled
040A
Good
DC
Good decode Successful decode
040B
Good
DC
Intermediate row re-read Intermediate row reread
A-4
Page 317
Appendix A: Status Codes
A
Status Codes and Error Messages Listed in Numerical Order (continued) Hex Code
Severity
Subsystem
Reader Message and Description
040C
Good
DC
Intermediate decoded Intermediate raw decoded
0421
Good
DC
Default command symbology
0422
Good
DC
Mixed ASCII format
0500
Good
RW
RW success Reader Wedge successful
0505
Good
RW
No rdr cmds parsed No reader commands parsed
0506
Good
RW
Valid rdr cmds parsed Valid reader commands parsed
0509
Good
RW
Accumulating rdr cmd Accumulating reader command
050A
Good
RW
Rdr cmd override Reader command override
050B
Good
RW
Rdr cmd enter accum Reader command enter accumulation
050C
Good
RW
Rdr cmd exit accum Reader command exit accumulation
050D
Good
RW
Accumulate multi-read labels Accumulating multiread labels
0510
Good
RW
ENTER rdr cmd parsed An Enter reader command was parsed
0513
Good
RW
Protected field rdr cmd parsed Protected field was parsed
0517
Good
RW
Keycode label parsed Keycode label was parsed
0518
Good
RW
Isolated ENTER cmd parsed An isolated Enter command was parsed
0519
Good
RW
Good rdr cmd on exit accum A reader command was parsed successfully on exit from accumulation
051A
Good
RW
Good rdr cmd on ENTER A reader command was parsed successfully when Enter was parsed
A-5
Page 318
JANUS PSK for Basic Reference Manual
Status Codes and Error Messages Listed in Numerical Order (continued) Hex Code
Severity
Subsystem
Reader Message and Description
051C
Good
RW
Enter accum parsed An Enter Accumulate has been parsed when accumulating
051D
Good
RW
Exit multi-read A label terminating a multiple-read sequence was scanned
051E
Good
RW
Enter multi-read A label beginning a multiple-read sequence was scanned
0521
Good
RW
No comms status No communications status to report
0525
Good
RW
Rdr cmds parsed Reader commands forwarded to the application were parsed
0600
Good
CU
Comm success Communications operation success
0601
Good
CU
Comm Buff done Communications buffer done
0800
Good
PM
PM success Power management successful
0A00
Good
TM
Timer success Timer operation successful
0B00
Good
BP
Beep success Beeper call successful
0E00
Good
IM
String Extract Complete
0E01
Good
IM
String Append complete
0E02
Good
IM
Search string found
0E03
Good
IM
String Copy complete
0E04
Good
IM
Operation success Successful operation
0F00
Good
LG
Successful operation
1000
Good
KB
Expanded keypad success Expanded keyboard buffer successful
100A
Good
KB
Expanded buffer enabled
100B
Good
KB
Expanded buffer disabled
1100
Good
SS
System Config success System configuration successful
A-6
Page 319
Appendix A: Status Codes
A
Status Codes and Error Messages Listed in Numerical Order (continued) Hex Code
Severity
Subsystem
Reader Message and Description
1200
Good
KP
Keypad success Successful keypad operation
1300
Good
DP
Display success Successful display operation
1A00
Good
EX
Execution success Transaction successful
1A01
Good
EX
ACK received Transaction successful, ACK received
1A10
Good
EX
Data received Received host message on Read operation
4200
Warning
CM
Not all config items copied Not all configuration items copied
4201
Warning
CM
Rdr Cmd terminated config cmd Reader command terminated configuration command string
4202
Warning
CM
Client should not be notified
4502
Warning
RW
Input timeout
4503
Warning
RW
No input data
450E
Warning
RW
The app should be notified The application should be notified
4529
Warning
RW
Input from source other than requested Input from source is other than the ones requested
452A
Warning
RW
RWTSR already loaded
4600
Warning
CU
Warning buff canceled Buffer canceled
4601
Warning
CU
Comm Timeout warning Communication timeout
4602
Warning
CU
Comm had no client to cancel Communication had no client to cancel
4603
Warning
CU
Comm Util no PH for config No protocol handler to configure
4604
Warning
CU
Prot handler not loaded Protocol handler is not yet loaded
4605
Warning
CU
Prot handler already receiving Protocol handler is already receiving
A-7
Page 320
JANUS PSK for Basic Reference Manual
Status Codes and Error Messages Listed in Numerical Order (continued) Hex Code
Severity
Subsystem
Reader Message and Description
4606
Warning
CU
PH not active for link request Protocol handler is not active for link request
4A00
Warning
TM
Timer not active Timer not currently active
5001
Warning
KB
Expanded buffer installed Expanded keyboard buffer installed or disabled
5201
Warning
KP
Backdoor Comms failed Backdoor communications failure
5A02
Warning
EX
NAK received Transaction failed, NAK received
5A07
Warning
EX
No more log records Standby file is empty
5A11
Warning
EX
Received data truncated Data was truncated
5A12
Warning
EX
Fields overflow Too many fields
5A20
Warning
EX
Record logged Record stored in standby file successfully
5A21
Warning
EX
Logged but upload error Record stored in standby file, but upload standby error
8100
Error
RS
Rservice invalid request code Invalid function code received
8101
Error
RS
Rservice not installed Reader services is not installed
8102
Error
RS
Rservice resume failed Reader services resume failed
8103
Error
RS
Rservice or App out of date Reader services or application is out of date
8104
Error
RS
RWTSR not connected Reader Wedge TSR is not installed
8200
Error
CM
Invalid Object
8201
Error
CM
Invalid subfunction
8202
Error
CM
Invalid Param length Invalid parameter length
A-8