AnsweredAssumed Answered

dcom synchonization

Question asked by szustakk on Feb 9, 2011
Latest reply on Feb 10, 2011 by daras
Hi All,
I have a program controlling pna-x written in VB and COM object (on pna-x). When I move it to a laptop with DCOM, my pna-x works incorrectly. It looks like next pna-x setting command break execution of previous one, so I needed to insert some “sleep” vb action between pna-x command. Is there any command similar to “*OPC?” in the DCOM pna-x. I haven’t found any suggestion in the help file. There is a fragment of code:

        myChan.SweepType = AgilentPNA835x.NASweepTypes.naCWTimeSweep
        Thread.Sleep(100)

        myChan.SweepTime = 0.00003
        Thread.Sleep(100)

        myChan.CWFrequency = 1000000000.0 * CDbl(startFrqTextBox.Text)
        Thread.Sleep(100)

Thanks for any suggestions,

Regards,  

Outcomes