AnsweredAssumed Answered

N5242a, "SOUR:POW:CORR:COLL:TABL:FREQ ", Freq" command error.

Question asked by samx on Oct 15, 2014
Latest reply on Oct 17, 2014 by ningchen
I have a calibration program for N5242A, i found below command work for other pna but one not work, 

x = visa_io.ag_send_binBlock64("SOUR:POW:CORR:COLL:TABL:FREQ ", Freq)
it call

Function ag_send_binBlock64(send_str As String, binData)

    Dim msg As New FormattedIO488
    Set msg.IO = rm_pnax.Open(PNAX_visa_address)
    msg_pnax.writeString "FORM:DATA REAL, 64" & vbLf
    
    msg.WriteIEEEBlock send_str, binData
    
    msg_pnax.writeString "FORM:DATA ASC" & vbLf
    msg.IO.Close
End Function

the Freq is a array store the frequency values up to 418 quantity. it show the error "invalid seperator" when run to the msg.WriteIEEEBlock send_str, binData.

Can someone tell me what caused this error? which IO library caused this error?  

Outcomes