![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GPIB 自动化测试
宇宙379
C/C++,VC++
展开
-
GPIB_VISA
//GPIB 自动查找设备代码 #include <stdio.h>#include <visa.h>/* include the visa32.lib*/#pragma comment(lib,"visa32.lib")main(){ int retCnt=0; char buf [256] = {0}; char instr...原创 2013-12-21 18:05:23 · 5747 阅读 · 0 评论 -
VC 不用具体地址打开仪器
void CXXXDlg::Init_GPIB(){#ifdef GPIB unsigned long retCnt=0; char instrDesc[100]={0}; ViSession defaultRM; ViStatus status; ViFindList find_list; viOpenDefaultRM (&defaultRM); st原创 2015-04-20 16:34:53 · 1060 阅读 · 0 评论 -
ZVB网分仪远程控制
ZVB远程控制viFindRsrc,viFindNext,viParseRsrc#include"C:\ProgramFiles\IVIFoundation\VISA\WinNT\agvisa\include\visa.h"#pragmacomment(lib,"C:\\ProgramFiles\\IVIFoundation\\VISA\\WinNT\\agvisa\\原创 2014-08-18 21:44:21 · 1922 阅读 · 0 评论 -
功率计远程控制
功率计 Boonton4500B GPIB远程控制viFindRsrc,viFindNext,viParseRsrc#include "C:\Program Files\IVI Foundation\VISA\WinNT\agvisa\include\visa.h"#pragma comment(lib,"C:\\Program Files\\IVI Foundation\\VIS原创 2014-08-18 21:40:36 · 3096 阅读 · 0 评论 -
频谱仪FSP远程控制
代码如下:#include"C:\ProgramFiles\IVIFoundation\VISA\WinNT\agvisa\include\visa.h"#pragmacomment(lib,"C:\\ProgramFiles\\IVIFoundation\\VISA\\WinNT\\agvisa\\lib\\msc\\agvisa32.lib")Charbuf[25原创 2014-08-18 21:39:05 · 4092 阅读 · 2 评论 -
信号源远程控制
代码如下:#include"C:\ProgramFiles\IVIFoundation\VISA\WinNT\agvisa\include\visa.h"#pragmacomment(lib,"C:\\ProgramFiles\\IVIFoundation\\VISA\\WinNT\\agvisa\\lib\\msc\\agvisa32.lib")Charbuf;原创 2014-08-18 21:38:50 · 2812 阅读 · 0 评论 -
VC_GPIB_Demo
#include "stdafx.h"#include "C:\Program Files\IVI Foundation\VISA\WinNT\agvisa\include\visa.h"#pragma comment(lib,"C:\\Program Files\\IVI Foundation\\VISA\\WinNT\\agvisa\\lib\\msc\\agvisa32.li原创 2013-12-21 18:14:42 · 7453 阅读 · 2 评论 -
GPIB_Demo
#include "stdafx.h"/*idn.cThis example program queries a GPIB device for an identification string and prints the results. Note that you must change the address. */#include <visa.h>#incl...原创 2013-12-21 18:14:09 · 6934 阅读 · 0 评论 -
GPIB_Code
Avoid unnecessary use of *RST.Putting Multiple Commands on the Same Line ;*OPC (operation complete) sets bit 0 in the standard event status register whenall operations are complete./*Set the a原创 2013-12-21 18:25:06 · 3718 阅读 · 0 评论 -
GPIB
void fun(){ double fDat[50]; viPrintf(vi,"%,50f",fDat); //viVQueryf ;list pars //, Array Size. The comma operator is a format modifier that allows //you to read or write a comma-...原创 2013-12-21 18:12:14 · 2563 阅读 · 0 评论 -
n5183b 编程控制
freqset:FREQ 100MHz or FREQ:FIX 100MHzread :FREQ?2,AMPlitudePOW 12DBM3,保存用户自定义设置:system:preset:user:save复位为用户设置:system:preset:user复位为系统设置:system:preset(or *RST)4,rfoutput on|off (1 |...原创 2018-11-23 20:40:20 · 780 阅读 · 0 评论