AnsweredAssumed Answered

VBA syntax for INPUCALC , OUTPCALC & OUTPRAW

Question asked by aerocomm on May 26, 2011
Latest reply on May 28, 2011 by Dr_joel

Hi,

 

I want to use VBA excel for Using Raw Data to Create a Calibration (Simmcal)

 

(Example 2F: BASIC)
180   DIM Array01(1:51,1:2) ! forward OPEN measurement

 

920   OUTPUT @Nwa;"OUTPRAW1"
930   ENTER @Nwa;Array08(*)

 

1910  OUTPUT @Nwa;”OPC?;CLASS22B;”
1920  ENTER @Nwa;Reply
1930  OUTPUT @Nwa;”INPUCALC08”,Array08(*)

 

From above I use syntax below for VBA. But I have problem with INPUCALC.

 

Dim RawData As Variant
VNA.Output ("outpraw1")
VNA.Enter RawData

 

VNA.Output ("opc?;class22b;")
VNA.Output ("inpucalc08, rawdata") 'Is this correct syntax?

 

Program seem to run without problem. But how could I prove?

 

Thanks for any assistance!
Pairoj  

Outcomes