EasyManuals Logo

UEi RACKtangle DNR-12-1G Series User Manual

UEi RACKtangle DNR-12-1G Series
120 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #68 background imageLoading...
Page #68 background image
DNR-X-1G Series RACKtangle and HalfRACK Systems
Chapter 4 60
Installation and Configuration
October 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.
The following standard DAQBIOS commands are accessible on the diagnostics
port whenever one or more I/O boards are in operating mode:
DQCMD_ECHO // echo
DQCMD_RDCFG // read configuration (new)
DQCMD_RDSTS // read status
DQCMD_WRCHNL (selected)//write channel
DQCMD_RDCHNL (selected)// read channel
DQCMD_IOCTL (selected) // ioctl() - low priority command
DQCMD_SETLOCK // set/release port lock
Commands that are capable of changing the state of the running I/O boards will
not execute.
To switch a port into diagnostics mode, use the DqCmdSetLock API, as
described below:
int DAQLIB DqCmdSetLock(int Iom, uint8 Mode,char Password,uint32 *IP)
Parameters:
int Iom // Pointer to the DQIOME structure
uint8 Mode // Function mode (lock/unlock/check/diagnostics)
char *Password // password string; ignored (and can be NULL)
// if Mode is DQSETLOCK_CHECK
uint32 *IP // returns the IP address of the locking host
// if Mode is DQSETLOCK_CHECK
<Mode> can be one of the following:
#define DQSETLOCK_LOCK0 // Lock IOM to host
#define DQSETLOCK_UNLOCK1 // Unlock IOM
#define DQSETLOCK_CHECK2 // Get locking host IP
#define DQSETLOCK_DIAG4 // Switch to diagnostics
To advance a port into diagnostics mode, call this function with the <Mode>
parameter set to DQSETLOCK_DIAG. To return a port to normal mode, use the
same function call with DQSETLOCK_UNLOCK.
The following table describes the possible states of both ports:
DQCMD_ECHO
This command returns information about the board(s) installed. Use of this
command is described in the PowerDNA API Reference Manual.
Table 4-1 Port States
Port LOCK State First Port (NIC1) Second Port (NIC2)
First DQSETLOCK_UNLOCK Full functionality Full functionality
DQSETLOCK_LOCK Full functionality, locked to the
host
All but state change functions
DQSETLOCK_DIAG Diagnostic functionality only Full functionality
Second DQSETLOCK_UNLOCK Full functionality Full functionality
DQSETLOCK_LOCK All but state change functions Full functionality, locked to the
host
DQSETLOCK_DIAG Full functionality Diagnostics functionality only

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the UEi RACKtangle DNR-12-1G Series and is the answer not in the manual?

UEi RACKtangle DNR-12-1G Series Specifications

General IconGeneral
BrandUEi
ModelRACKtangle DNR-12-1G Series
CategoryNetwork Hardware
LanguageEnglish

Related product manuals