Quantcast
Channel: Measurement Studio for VB6 topics
Viewing all articles
Browse latest Browse all 323

Changing to Local mode

$
0
0

Hello,

I am using   Excel VBA for instrumentation with visacomm. I have sissues taking back the instruments to local mode after completeion of the data collection. For example, the bleow code is for  Recalling a state  keysight power meter N1912A and move to local mode. For some reason this is not taking back the power meter to Local mode.

Dim PMO As VisaComLib.FormattedIO488

Set PMO = New VisaComLib.FormattedIO488

 Set PMO.IO = ioMgr.Open("PMO")

PMO.WriteString "*RCL 4"
PMO.WriteString "SYST:LOC" <As per manual this command takes back to Local mode

PMO.IO.Close

Set PMO.IO = Nothing

 

Thanks,

Leyo

 


Viewing all articles
Browse latest Browse all 323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>