E.3
LabVIEW
51
% we can use printf notation when sending commands
dev.cmd(’TABLE,APPEND,1,%f,%f,0,0x1’,F(i),P(i));
end
disp(’Done’)
dev.cmd(’TABLE,ARM,1’)
dev.cmd(’TABLE,START,1’)
% close the connection
delete(dev);
E.3
LabVIEW
The
LabVIEW
drivers
provided
make
use of
NI-VISA
to
provide
a
unified interface over both ethernet and
USB
. They perform automatic
error
checking,
and
are
compatible
with
LabVIEW
-2009
and
later
editions.
Figure E.2:
Example
LabVIEW
program that connects to an
QRF
unit, and
performs a number of queries
When using these drivers, it is strongly recommended that the au-
tomatic session close option be enabled, to prevent communications
problems if the VI aborts or is interrupted.
The option is found in
Tools
→
Options
→
Environment
→
Automatically close VISA sessions.
Summary of Contents for QRF041
Page 1: ...Quad RF Synthesizer QRF041 QRF241 Version 0 2 0 Rev 2 hardware ...
Page 4: ...ii ...
Page 10: ...viii Contents ...
Page 12: ...x Getting started ...
Page 16: ...4 Chapter 1 Introduction ...
Page 22: ...10 Chapter 2 Connections and controls ...
Page 28: ...16 Chapter 3 MOGRF host software ...
Page 36: ...24 Chapter 4 External modulation ...
Page 46: ...34 Appendix B Firmware upgrades ...
Page 56: ...44 Appendix C Command language ...
Page 60: ...48 Appendix D Communications ...