1. 首页
  2. 编程语言
  3. C++ 
  4. 电力网信号源控制系统程序

电力网信号源控制系统程序

上传者: 2018-12-07 23:20:22上传 RAR文件 38.99KB 热度 30次
电力网信号源控制系统程序;C++,{ m_dwTimeout = 5000; m_viSession = NULL; m_viDefRM = NULL;}CGpibInstr::~CGpibInstr() { m_viSession = NULL; m_viDefRM = NULL;} UINT CGpibInstr::GpibOpen(CString strIpAddr,UINT nGpibAddr) { ViStatus m_stat = 0; if(m_viSession != VI_NULL) { GpibClose(); } if (m_viSession == VI_NULL) { if (m_viDefRM == VI_NULL) { m_stat = viOpenDefaultRM(&m_viDefRM); if (m_stat != VI_SUCCESS) { TRACE("viOpen Default RM failed:%d\n",m_stat); return m_stat; } } char szResourceName[VI_FIND_BU FLEN];
用户评论