QM1014 LO Synthesizer Distribution Unit
User Manual
2. VISA Descriptors and Configuration
2.1 USBTMC
2.1.1 VISA Descriptors
To communicate with the Quonset Microwave QM1014 LO Synthesizer Distribution Unit as a USBTMC
device, use the following USB VISA descriptor format:
USB[board number]::manufacturer ID::model code::serial number::INSTR
Descriptor Example
USB0::0x2012::0x0027::0001::INSTR
2.1.2 USBTMC VISA Code Example
ViSession rscmng;
ViSession qm1014;
char buf[256] = 0;
viOpenDefaultRM(&rscmng);
viOpen(rscmng,(ViRsrc)"USB0::0x2012::0x0027::0001::INSTR",VI_NULL,VI_NULL,&qm1014);
viPrintf(qm1014,(ViString)"*IDN?\n");
viScanf(qm1014,(ViString)"%t",&buf);
viClose((ViObject)qm1014);
viClose((ViObject)rscmng);
Quonset Microwave
Revision 1.2.1
17