Picotest M3500A User Manual page 184

6.5 digit
Hide thumbs Also See for M3500A:
Table of Contents

Advertisement

// devquery.cpp : Defines the entry point for the console application.
//
// Call the NI-VISA library visa32.dll
//
//
#include "stdafx.h"
#include "visa.h"
//standard include for a Microsoft Visual C++ project
#include "stdio.h"
#include "windows.h"
void main(int argc, char* argv[])
{
// TODO: Add your control notification handler code here
HINSTANCE hUSBTMCLIB;
unsigned long m_defaultRM_usbtmc, m_instr_usbtmc;
unsigned long m_findList_usbtmc;
unsigned long m_nCount;
ViStatus status;
int
m_Timeout = 7000;
char
*pStrout;
BYTE
pStrin[64];
int
len;
ULONG
nWritten;
ULONG
nRead = 0;
char
buffer[256];
char
instrDescriptor[256];
// Load the NI-VISA library for USBTMC device
hUSBTMCLIB = LoadLibrary ("visa32.dll");
if (!hUSBTMCLIB)
{
MessageBox(NULL, "NIVISA for USBTMC library not found.", "M3500
// for USBTMC HANDLE
// Write out data buffer
// Read in data buffer
184
184
184
184

Advertisement

Table of Contents
loading

Related Products for Picotest M3500A

Table of Contents