Picotest M3500A User Manual page 180

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

Advertisement

stat = viClose(fList)
Exit Sub
End If
stat = viClose(sesn)
stat = viClose(fList)
stat = viClose(dfltRM)
MsgBox "End of Job."
End Sub
Using CONFigure with a Math Operation
The following example uses CONFigure with the dBm math operation.
The CONFigure command gives you a little more programming
flexibility than the MEASure? command. This allows you to
"incrementally" change the multimeter's configuration. The example is
is shown in Visual Basic.
Creating the Application
Create a new Visual Basic project as follows:
1. Create a new Standar.EXE project.
2. To set the startup object for a Windows Application to Sub Main
3. Add New Module, Declare a Sub Main().
LISTING C.2. THE CONFigure FUNCTION.
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub main()
Rem
#########################################
Rem
Rem
Using NI-VISA library visa32.dll
Rem
Rem
Set sample count 5 configuration and
Rem
read the trigger
Rem
Rem
#########################################
180
180
180
180

Advertisement

Table of Contents
loading

Related Products for Picotest M3500A

Table of Contents