⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pmacutil.h

📁 美国Delta Tau公司PMAC多轴运动控制卡的VC++示例程序
💻 H
字号:
/***************************************************************************
  Title:    pmacutil.h

  Version:  1.00

  Date:   8/29/1995

  Author(s):  Harry Rivera

  Misc. Routines for PMAC-II Setup Program

  Note(s):

----------------------------------------------------------------------------

  Change log:

    Date       Rev   Who      Description
  --------- ----- ----- --------------------------------------------

***************************************************************************/

#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>
#include <math.h>
#include <windows.h>
#include <time.h>

#define _FUNC FAR PASCAL _export

//#define _LOAD_DLL

// Global variables...
extern HINSTANCE hPmacLib;

#define CLEAR_MEM '\x12345'
#define BELL '\x7'
#define ACK  '\x6'
#define CR   '\x13'

// Function prototypes
#ifdef __cplusplus
extern "C" {
#endif

  void msg( const char *fmt, ... );
  long myGetIVariableLong( DWORD pmac, UINT num );
  void myGetResponse( DWORD pmac, char *response, int max_char, const char *fmt, ... );
  void mySendLine( DWORD pmac, const char *fmt, ... );
  void strip_off_extra( char *vbuf );

  void delete_file( char *filename );
  //void copy_file (char *dest,char *source);

  void DownloadPosLimitPLC( DWORD pmac, short motor );

#ifdef __cplusplus
}
#endif



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -