AnsweredAssumed Answered

vnauncert.dll in VB6

Question asked by kengshan on Aug 27, 2008
Latest reply on Aug 28, 2008 by Dr_joel
Do anyone know how to use the vnauncert.dll file in VB6? the importance functio that i need to use are the AutoInit and ComputeSparmacc, but i do not know how to call them from VB. Below is the way i'm using but not working.

Private Declare Function ComputeSparmacc Lib "VNAUncert.dll" _
    (parm_select As String, freq As Long, cal_pwr As Long, _
     meas_pwr As Long, s11_mag As Long, s21_mag As Long, _
     s12_mag As Long, s22_mag As Long) As Long

Private Declare Function AutoInit Lib "VNAUncert.dll" (instrument As String, port1_cal_kit As String, port2_cal_kit As String, _
      trans_cal_type As String, omit_isol As Integer, ifbw_avg() As Double) As Integer  

Outcomes