Agilent Technologies B1500A Guide de l'utilisateur Page 106

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 208
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 105
3-12 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Programming Examples for Visual Basic Users
Multi Channel Spot Measurement
ret = agb1500_resetTimestamp(vi) ’34
check_err vi, ret
ret = agb1500_force(vi, pins(0), agb1500_VF_MODE, 0, ve, iecomp,
0)
ret = agb1500_force(vi, pins(1), agb1500_VF_MODE, 0, vb, ibcomp,
0)
ret = agb1500_force(vi, pins(2), agb1500_VF_MODE, 0, vc, iccomp,
0)
check_err vi, ret ’40
ret = agb1500_measureM(vi, mch(0), mode(0), range(0), md(0),
st(0), tm(0))
check_err vi, ret ’43
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL)
check_err vi, ret ’46
display_data md(), st(), tm(), vi, ret, pins()
End Sub
Line Description
34 Resets time stamp.
37 to 39 Applies voltage to device.
42 Performs the multi channel spot measurement.
45 Sets the specified port to the zero output state.
35, 40, 43,
and 46
Calls the check_err subprogram (shown in Table 3-1) to check if
an error status is returned for the previous line.
48 Calls the display_data subprogram (next page) to display
measurement data.
50 End of the mspot_meas subprogram.
Vue de la page 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 207 208

Commentaires sur ces manuels

Pas de commentaire