GX5642 User’s Guide Trademarks Geotest – MTS Inc. ATEasy® C++ Builder, Borland C++, Pascal and Delphi Borland Corporation Microsoft Developer Studio, Microsoft Visual C++, Microsoft Visual Basic,, .NET, Microsoft Corporation Windows 95, 98, NT, ME, 2000 and XP All other trademarks are the property of their respective owners.
Table of Contents Safety and Handling ..............................i Warranty ..................................i If You Need Help ...............................i Disclaimer ..................................i Copyright ...................................i Trademarks ................................ii Chapter 1 - Introduction ..........................1 Manual Scope and Organization ..........................1 Manual Scope ............................... 1 Manual Organization ............................1 Conventions Used in this Manual ..........................
Page 6
Getting Started ................................ 11 Interfaces and Accessories ............................. 11 Packing List ............................... 11 Unpacking and Inspection ..........................11 System Requirements ............................12 Board Installation ..............................12 Before you Begin ............................... 12 Discharge Static Electricity ..........................12 Installing a Board ............................... 12 Plug &...
Manual Scope and Organization Manual Scope The purpose of this manual is to provide all the necessary information to install, use, and maintain the GX5642 instrument. This manual assumes the reader has a general knowledge of PC based computers, Windows operating systems, and some understanding of digital I/O.
TTL and Differential. Each channel can be individually set to operate in one of two modes: Conversion or Static I/O. In Static I/O mode the GX5642 supports 128 individual digital inputs or outputs, 64 TTL and 64 Differential. In Conversion mode the GX5642 support 64 individual Differential channels. The GX5642 can be configured via jumper to operate in one of two modes: Independent or Software Controlled.
(predefined defaults). In Static I/O mode the GX5642 support 128 individual digital inputs or outputs, 64 TTL and 64 Differential. In this mode each channel TTL port can be set as input TTL port or output TTL port. In this mode the channel Differential port can be set as input Differential port or output Differential port.
Page 13
Chapter 2 - Overview SW1-SW8 Figure 2-1: GX5642 Board Side View J1, J2 TTL I/O Connector Channels J3, J4 Differential I/O Connector Channels Jumper installed sets board to Independent mode, without jumper board is in Software Controlled mode. SW1-SW8 Switches to set conversion direction in independent mode, In software-controlled mode the switches states can be loaded by software command.
Architecture: Software Controlled mode (JP2 not installed) Single I/O channel The GX5642 provides 128 digital Inputs or Outputs with direction control. Figure 2-2 shows a typical I/O channel block diagram when the board is in Software Controlled mode : Output Enable...
Chapter 2 - Overview Architecture: Independent mode (JP2 installed) Single I/O channel The GX5642 provides 128 digital Inputs or Outputs and direction. Figure 2-2 shows a typical I/O channel block diagram when the board is in Independent mode : Direction...
GX5642 User’s Guide DIP-Switches Settings There are eight designated surface mount DIP-Switches, SW1 through SW8, located at the top of the GX5642 board. Each DIP-Switch has eight switches for a total of 64 individual DIP-Switches. When a switch is in the ON position the related channel’s direction is Differential to TTL.
Chapter 2 - Overview Table 2-2: Setting DIP-Switches SW3 and SW4 Setting DIP-Switches SW5 and SW6 DIP-Switch SW5 DIP-Switch SW6 Ch # Switch # Position Conversion Ch # Switch # Position Conversion DIFF to TTL DIFF to TTL TTL to DIFF TTL to DIFF DIFF to TTL DIFF to TTL...
GX5642 User’s Guide Specifications The following table outlines the specifications of the GX5642. Channel Specifications TTL I/O Levels Min. (V) Typ. (V) Max. (V) Input Low Input High Output Low Output High LVDS I/O Levels Min. (V) Max. (V) Positive-going differential input voltage threshold -0.2...
Getting Started This section includes general hardware installation procedures for the GX5642 board and installation instructions for the GX5642 (GXPIO) software. Before proceeding, please refer to the appropriate chapter to become familiar with the board being installed. To Find Information on..
GX5642 User’s Guide System Requirements The GX5642 Instrument board is designed to run on PXI compatible computer running Windows 9x, Windows Me, Windows NT, Windows 2000, XP and above. In addition, Microsoft Windows Explorer version 4.0 or above is required to view the online help.
Chapter 3 - Installation and Connections Figure 3-1: Ejector handle position during module insertion 7. After you feel resistance, push in the ejector handles as shown in Figure 3-2 to secure the module into the frame. Figure 3-2: Ejector handle position after module insertion 8.
GX5642 User’s Guide If the operating system was unable to find the driver (since the GX5642 driver was not installed prior to the board installation), you may click on the Have Disk button and browse to select the HW.INF file. The file should be located in the HW installation directory where the HW.INF is located, c:\program File\Geotest\HW, or the setup...
Note: When installing under Windows NT/2000/XP, you may be required to restart the setup after logging-in as a user with an Administrator privileges. This is required in-order to upgrade your system with newer Windows components and to install kernel-mode device drivers (HW.SYS and HWDEVICE.SYS) required by the GX5642 driver to access resources on your board.
GX5642 User’s Guide Installation Directories The GX5642 driver files are installed in the default directory C:\Program Files\Geotest\GXPIO. You can change the default GXPIO directory to one of your choosing at the time of installation. During the installation, GXPIO Setup creates and copies files to the following directories:...
Setup Maintenance Program You can run Setup again after GX5642 has been installed from the original disk or from the Windows Control Panel – Add Remove Programs applet. Setup will be in the Maintenance mode when running for the second time. The Maintenance window shown below allows you to modify the current GX5642 installation.
GX5642 User’s Guide Connectors and Jumpers Figure 3-5 shows the available GX5642 board connectors and jumpers followed by their description: Figure 3-5: GX5642 Connectors and Jumpers Connector/Jumpers Description J1, J2 TTL I/O Connector Channels J3, J4 Differential I/O Connector Channels Installed Jumper sets the board to Independent mode, without jumper the board is in Software Controlled mode.
Software Controlled mode. When the jumper is installed, the board operates Independent mode. Connectors – Default mode (J1 pins 27 and 28 Logic low) Connections to the GX5642 may be made with 68-pin VHDCI male plug connector. Shielded cables with matching connectors are available from Geotest.
GX5642 User’s Guide J2 – TTL I/O Connector The following are connector pin assignments for J2 TTL I/O Connector with low level in J1 inputs pins 27 and 28: Pin# Signal Type Pin # Signal Type Pin # Signal Type...
Chapter 3 - Installation and Connections J3 – Differential I/O Connector Channels 0-31 The following are connector pin assignments for J3 Differential I/O Channels 0-31 Connector: Signal Type Signal Type Signal Type Signal Type DIO+0 DIO+17 DIO-0 DIO-17 DIO+1 DIO+18 DIO-1 DIO-18 DIO+2...
GX5642 User’s Guide J4 – Differential I/O Connector Channels 32-63 The following are connector pin assignments for J4 Differential I/O Channels 32-63 Connector: Signal Type Signal Type Signal Type Signal Type DIO+32 DIO+49 DIO-32 DIO-49 DIO+33 DIO+50 DIO-33 DIO-50 DIO+34...
Chapter 3 - Installation and Connections Connectors – National Instruments Compatibility mode (J1 pins 27 and 28 Logic High) Whenever J1 pins 27 and 28 are set to Logic High (5V Sense) J1 and J2 connectors signal assignments change. In this mode J1 connector will have an additional eight TTL I/O channels for a total of 40 channels.
GX5642 User’s Guide J2 – TTL I/O Connector The following are connector pin assignments for J2 TTL I/O Connector with high level in J1 inputs pins 27 and 28: Pin# Signal Type Pin # Signal Type Pin # Signal Type...
Chapter 3 - Installation and Connections J3 – Differential I/O Connector Channels 0-31 The following are connector pin assignments for J3 Differential I/O Channels 0-31 Connector with high level in J1 inputs pins 27 and 28: Signal Type Signal Type Signal Type Signal...
GX5642 User’s Guide J4 – Differential I/O Connector Channels 32-63 The following are connector pin assignments for J4 Differential I/O Channels 32-63 Connector with high level in J1 inputs pins 27 and 28: Signal Type Signal Type Signal Type Signal...
Chapter 3 - Installation and Connections Connectors – Independent mode (JP2 installed) Whenever JP2 jumper is installed the board is working in independent mode. When the card is configured to Independent mode the PXI interface is disabled and all 64 channels operate in Conversion mode. In this mode each channel conversion operation is predefined using DIP-Switches.
GX5642 User’s Guide J2 – TTL I/O Connector The following are connector pin assignments for J2 TTL I/O Connector with JP2 installed: Pin# Signal Type Pin # Signal Type Pin # Signal Type Pin # Signal Type TIO49 TIO50 TIO51...
Chapter 3 - Installation and Connections J3 – Differential I/O Connector Channels 0-31 The following are connector pin assignments for J3 Differential I/O Channels 0-31 Connector with JP2 installed:: Signal Type Signal Type Signal Type Signal Type DIO+0 DIO+17 DIO-0 DIO-17 DIO+1 DIO+18...
GX5642 User’s Guide J4 – Differential I/O Connector Channels 32-63 The following are connector pin assignments for J4 Differential I/O Channels 32-63 Connector with JP2 installed: Signal Type Signal Type Signal Type Signal Type DIO+32 DIO+49 DIO-32 DIO-49 DIO+33 DIO+50...
Chapter 4 - Programming the Board Introduction This chapter contains information about how to program the GX5642 board using the GXPIO driver. The GXPIO driver contains functions to initialize, reset, and control the power-supply instruments. A brief description of the functions, as well as how and when to use them, is included in this chapter.
Programming GXPIO Boards Using ATEasy The GXPIO package is supplied with a separate ATEasy driver for each board types. For example, the GX5642 is supplied with GX5642.DRV ATEasy driver. The ATEasy driver uses the GxPio.dll to program the board. In addition, each driver is supplied with an example that contains a program and a system file pre-configured with the ATEasy driver.
Chapter 4 - Programming the Board Figure 4-1: PXI/PCI Explorer Slot numbers are gathered by PXI/PCI Explorer using a PXISYS.INI file located in the Windows directory. Each PCI slot is identified by a unique combination of PCI Bus and Device numbers. If that file does not exist or not complete with all bus/devices assigned slot numbers, you can assign slot numbers to your PCI slots.
GX5642 User’s Guide Error Handling All the GXPIO function returns status - pnStatus - in the last parameter. This parameter can be later used for error handling. The status is zero for success status or less than zero for errors. When the status is error, the program can call the GxPioGetErrorString function to return a string representing the error.
Chapter 5 - Functions Reference Introduction The GX5642 driver functions reference chapter is organized in alphabetical order. Each function is presented starting with the syntax of the function, a short description of the function parameters description and type followed by a Comments, an Example (written in C), and a See Also sections.
GX5642 User’s Guide GX5642 Functions The following list is a summary of functions available for the GX5642: Driver Functions Description General Gx5642Initialize Initializes the GX5642 driver for the specified PXI slot. Opens all the board relays. Gx5642Reset Gx5642GetBoardSummary Returns the board summary.
Page 45
Chapter 5 - Functions Reference Driver Functions Description Sets the specified group conversion mode. Gx5642SetGroupConversionMode Gx5642SetGroupDifferentialPort Sets the specified group differential Port value. Gx5642SetGroupDifferentialPortDirection Sets the specified group differential Port Direction. Gx5642SetGroupMode Sets the specified group mode. Sets the specified group output state. Gx5642SetGroupOutputState Gx5642SetGroupTTLPort Sets the specified group TTL Port value.
Size of the buffer to contain the board info string. pnStatus PSHORT Returned status: 0 on success, negative number on failure. Comments The GX5642 summary string provides the following data from in the order shown: • Instrument Name (e.g., GX5642) • FPGA version (e.g. 0xA002) •...
Returns the specified channel Conversion Mode. Syntax Gx5642GetChannelConversionMode (nHandle, nChannel, pnMode, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pnMode PSHORT Conversion Mode can be as follows: 0. GX5642_CHANNEL_CONVERT_DIFFERENTIAL_TO_TTL – convert differential signal to TTL level.
Returns the specified channel Differential Port value. Syntax Gx5642GetChannelDifferentialPort (nHandle, nChannel, pbData, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pbData PBOOL Differential Port value: 0. Logic low 1.
Syntax Gx5642GetChannelDifferentialPortDirection (nHandle, nChannel, pnDirection, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pnDirection PSHORT The channel Differential Port Direction can be as follows: 0. GX5642_CHANNEL_PORT_INPUT – channel port is set as input.
Syntax Gx5642GetChannelMode (nHandle, nChannel, pnMode, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pnMode PSHORT Channel operating modes are as follows: 0. GX5642_CHANNEL_MODE_CONVERSION – channels is set for conversion mode.
Syntax Gx5642GetChannelOutputState (nHandle, nChannel, pnState, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pnState PSHORT Channel output states are as follows: 0. GX5642_CHANNEL_OUTPUT_DISABLE - channel output is disabled.
Returns the specified channel TTL Port value. Syntax Gx5642GetChannelTTLPort (nHandle, nChannel, pbData, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pbData PBOOL TTL Port value: 0. Logic low 1.
Syntax Gx5642GetChannelTTLPortDirection (nHandle, nChannel, pnDirection, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pnDirection PSHORT The channel TTL Port Direction can be as follows: 0. GX5642_CHANNEL_PORT_INPUT – channel port is set as input.
Syntax Gx5642GetGroupConversionMode (nHandle, nGroup, pdwMode, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pdwMode PDWORD Each of the 32 bits represents a channel in the group, bit 0 is the first channel in the group and bit 31 is the last channel in the group.
Syntax Gx5642GetGroupDifferentialPort (nHandle, nGroup, pdwPortData, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pdwPortData PDWORD Group’s differential ports values.
Syntax Gx5642GetGroupDifferentialPortDirection (nHandle, nGroup, pdwDirection, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pdwDirection PDWORD Group’s differential Port Direction.
Returns the specified group mode. Syntax Gx5642GetGroupMode (nHandle, nGroup, pdwMode, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pdwMode PDWORD Group’s Mode.
Syntax Gx5642GetGroupOutputState (nHandle, nGroup, pdwStates, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pdwStates PDWORD Group’s output state.
Syntax Gx5642GetGroupTTLPort (nHandle, pdwPortData, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pdwPortData PDWORD Group’s differential ports values.
Syntax Gx5642GetGroupTTLPortDirection (nHandle, nGroup, pdwDirection, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pdwDirection PDWORD Group’s TTL Port Direction.
Returned status: 0 on success, negative number on failure. Comments The Gx5642Initialize function verifies whether or not the GX5642 board exists in the specified PXI slot. The function does not change any of the board settings. The returned handle pnHandle is used to identify the specified board with other GX5642 functions.
Syntax Gx5642LoadGroupDirectionFromDIPSwitch (nHandle, nGroup, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pnStatus PSHORT Returned status: 0 on success, negative number on failure.
Comments After calling this function all the channels will be disabled and in conversion mode of differential signal to TTL level. Example The following example initializes and resets the GX5642 board: Gx5642Initialize (1, &nHandle, &nStatus); Gx5642Reset (nHandle, &nStatus); See Also...
Syntax Gx5642ResetGroup (nHandle, nGroup, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) pnStatus PSHORT Returned status: 0 on success, negative number on failure.
Sets the specified channel Conversion Mode. Syntax Gx5642SetChannelConversionMode (nHandle, nChannel, nMode, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). nMode SHORT Conversion Mode can be as follows: 0. GX5642_CHANNEL_CONVERT_DIFFERENTIAL_TO_TTL – convert differential signal to TTL level.
Sets the specified channel Differential Port value. Syntax Gx5642SetChannelDifferentialPort (nHandle, nChannel, bData, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pbData PBOOL Differential Port value: 0. Logic low 1.
Syntax Gx5642SetChannelDifferentialPortDirection (nHandle, nChannel, nDirection, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). nDirection SHORT The channel Differential Port Direction can be as follows: 0. GX5642_CHANNEL_PORT_INPUT – channel port is set as input.
Syntax Gx5642SetChannelMode (nHandle, nChannel, nMode, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). nMode SHORT Channel operating modes are as follows: 0. GX5642_CHANNEL_MODE_CONVERSION – channels is set for conversion mode.
Syntax Gx5642SetChannelOutputState (nHandle, nChannel, nState, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). pnState PSHORT Channel output states are as follows: 0. GX5642_CHANNEL_OUTPUT_DISABLE - channel output is disabled.
Sets the specified channel TTL Port value. Syntax Gx5642SetChannelTTLPort (nHandle, nChannel, bData, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). bData BOOL TTL Port value: 0. Logic low 1.
Syntax Gx5642SetChannelTTLPortDirection (nHandle, nChannel, nDirection, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nChannel SHORT Channel range is: GX5642_FIRST_CHANNEL (0) to GX5642_LAST_CHANNEL (63). nDirection SHORT The channel TTL Port Direction can be as follows: 0. GX5642_CHANNEL_PORT_INPUT – channel port is set as input.
Syntax Gx5642SetGroupConversionMode (nHandle, nGroup, dwMode, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) dwMode DWORD Each of the 32 bits represents a channel in the group, bit 0 is the first channel in the group and bit 31 is the last channel in the group.
Syntax Gx5642SetGroupDifferentialPort (nHandle, nGroup, dwPortData, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) dwPortData DWORD Group’s differential ports values.
Syntax Gx5642SetGroupDifferentialPortDirection (nHandle, nGroup, dwDirection, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) dwDirection DWORD Group’s output state.
Sets the specified group mode. Syntax Gx5642SetGroupMode (nHandle, nGroup, dwMode, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) dwMode DWORD Group’s Mode.
Syntax Gx5642SetGroupOutputState (nHandle, nGroup, dwStates, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) dwStates DWORD Group’s output state.
Syntax Gx5642SetGroupTTLPort (nHandle, nGroup, dwPortData, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) dwPortData DWORD Group’s output state.
Syntax Gx5642SetGroupTTLPortDirection (nHandle, nGroup, dwDirection, pnStatus) Parameters Name Type Comments nHandle SHORT Handle for a GX5642 board. nGroup SHORT Group value is as follows: 0. GX5642_GROUP0 (channels 0 to 31) 1. GX5642_GROUP1(channels 32 to 63) dwDirection DWORD Group’s output state.
GX5642 User’s Guide GxPioGetErrorString Purpose Returns the error string associated with the specified error number. Syntax GxPioGetErrorString (nError , pszMsg, nErrorMaxLen, pnStatus) Parameters Name Type Comments nError SHORT Error number. pszMsg PSTR Buffer to the returned error string. nErrorMaxLen SHORT The size of the error string buffer.
Chapter 5 - Functions Reference Illegal operation mode Parameter is out of the allowed range Parameter Errors Invalid port Invalid word Invalid byte Invalid bit Invalid counter Invalid input load control Invalid counter or all terminal counts and clocks Invalid terminal count mode Invalid clock source Invalid clock internal number Invalid clock internal source...
Need help?
Do you have a question about the GX5642 and is the answer not in the manual?
Questions and answers