Advantech SPC-57 user manual Parameters, HDevice

Page 75

This function sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation.

BOOL DeviceIoControl(

HANDLE hDevice,

DWORD dwIoControlCode,

LPVOID lpInBuffer,

DWORD nInBufferSize,

LPVOID lpOutBuffer,

DWORD nOutBufferSize,

LPDWORD lpBytesReturned,

LPOVERLAPPED lpOverlapped);

- Parameters

hDevice

[in] Handle to the device that is to perform the operation. Call the Create- File function to obtain a device handle.

dwIoControlCode

[in] Specifies the control code for the operation. This value identifies the specific operation to be performed and the type of device on which the operation is to be performed. No specific values are defined for the dwIo- ControlCode parameter. However, the writer of a custom device driver can define IOCTL_XXXX control codes, per the CTL_CODE macro.

These control codes can then be advertised, and an application can use these control codes with DeviceIoControl to perform the driver-specific functions.

lpInBuffer

[in] Long pointer to a buffer that contains the data required to perform the operation.

This parameter can be NULL if the dwIoControlCode parameter specifies an operation that does not require input data.

nInBufferSize

[in] Size, in bytes, of the buffer pointed to by lpInBuffer.

lpOutBuffer

[out] Long pointer to a buffer that receives the operation's output data.

75

Image 75
Contents SPC-57 Acknowledgements CopyrightFCC Class a Additional Information and Assistance Packing ListSafety Instructions Page Wichtige Sicherheishinweise General Information Applications IntroductionDisplay SpecificationsPower System kernelEnvironmental MechanicalPower Touchscreen Specifications LCD SpecificationsI/O Ports Arrangement Mounting Page Dimension and cutout Getting Start Quick Starting Supplying Power to SPC Supplying Power to SPC-57CVcc GND Page Supplying Power to SPC-57E Power Connector Connect to the power source Engine of the SPC-57 PCM-7230 Mainboard for SPC-57 Model PCM-7230 SBC for SPC-57 SpecificationAC’97 Stereo Audio w/ 2W Amp Page Page PCM-7230 for SPC-57 Block Diagram Component side of the PCM-7230 Headers and connectorsLabel Function Solder side of the PCM-7230Pin Number Pin function Headers and connectors pin definitionJP 1 Cpld Jtag port JP 2 CPU PXA255 Jtag portCN 3 multi-function I/O header JP 3 LCD signal voltage level selectJP 4 Power switch header CN 1 Pcmcia accessing status portGND VCC3P3 Spkoutrp CN 8 CRT-out header CN 9 multi-function I/O headerIICircuits CN 12 HotKey function header CN 18 TTL level LCD signal connector CN 26 Inverter signals header CN 29 Power-in connectorCN 20 LAN status LED header CN 31 SM bus port 12 4-wire touch-screen connectorCN9,Pin29~Pin32 LCD inverter connector for 5V inverterCN26, Pin1~Pin4Audio connectorCN3,P25~P36 Battery and DC power status monitor connectorCN31Component Side of Memory Module Backup Battery BT1I/O Board Form factorPosition Description CN 6 RS-232 serial portI/O Board COM1RS-232 serial port CN 4 RS-485 serial portCN 5 RJ-45 for Ethernet port CN 2 Audio Line-out port10 I/O Board RJ-45 for Ethernet port CN 3 USB Client portCN 1 USB Host port CN 9 Power ConnectorCN 7 Multi-function I/O header CN 10 Power source to Main BoardCN 8 Multi-function I/O header Il Power system Software Functionality Windows CE.NET on the SPC Series Windows CE Startup ProcedureUpgrade Procedure Regflash UtilitiesStartup execution RebootSafemode System Configurator GeneralCalibration Display Touch-screen calibrationHotkeys WatchDog timer5.6 DIO 11 Hotkeys settingMiscellaneous 13 Miscellaneous settingsNetwork Networking via EthernetNetworking via USB port Page Networking via PPP 15 Networking via USB portWeb browser 16 Networking via PPPIpsm folder in SPC Series Introduction to Intel Persistent Storage MangerApplication Program Development System requirementsBuilding Windows CE program How to install SDK 17 Flow-chart of Building Windows CE.NET runtimePage Page Tap Install button to install SDK Install SDK…… Finish installing Running your application programs WDT ModulesDeviceIoControl HDevice ParametersWDT Control Codes Return ValuesIoctlgetwdtperiod Ioctlsetscreenofftime Handle mhWDT=NULL Tchar szClassName60 Applications End User Feature Default Selection Core OS Services FeatureWindows CE.NET 4.2 Require Components File Systems and Data Store Feature Default SelectionInternet Client Services Shell and User Interface Feature Appendix a Boot & Registry Searching Sequence

SPC-57 specifications

The Advantech SPC-57 is a versatile and robust industrial computer designed for a wide range of applications in demanding environments. This system integrates advanced technologies and features to ensure high performance and reliability, making it ideal for automation, control, and data processing tasks across various industries.

One of the standout characteristics of the SPC-57 is its compact form factor. Despite its small size, it is equipped with powerful processing capabilities, utilizing the latest Intel processors to deliver exceptional computing power. This enables users to handle complex tasks efficiently, making it suitable for real-time data acquisition and processing.

The SPC-57 features a modular design that allows for easy customization and expansion. Users can select various I/O modules to tailor the system to their specific needs, whether it involves adding additional communication ports, analog inputs, or other specialized interfaces. This flexibility ensures that the SPC-57 can adapt to changing requirements over time.

Connectivity is another key advantage of the SPC-57. It offers multiple communication options, including Ethernet, serial ports, and USB interfaces. This extensive range of connectivity options makes it easy to integrate the SPC-57 into existing industrial networks, facilitating seamless communication with other devices and systems.

For enhanced reliability, the SPC-57 is built to withstand harsh environmental conditions. It is designed with a wide operating temperature range, shock and vibration resistance, and protection against dust and moisture. This rugged construction ensures that the system can operate effectively in factories, outdoor locations, and other challenging settings.

In terms of power efficiency, the SPC-57 employs advanced power management technologies. This not only reduces energy consumption but also prolongs the system's operational lifespan, making it a cost-effective solution for long-term use in industrial applications.

The user-friendly design of the SPC-57, combined with its robust features, makes it an excellent choice for industries such as manufacturing, transportation, and energy. With its ability to function reliably in various scenarios, the Advantech SPC-57 is a forward-thinking solution that meets the demands of modern industrial automation and control systems.