Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.
C/C++, C#, Python, Matlab, LabVIEW
Im using MSO 72004C scope, connected via LAN and my own vb.net wpf application.
To read the measurement value I'm using NationalInstruments.Visa library with this code (as example):
Public rmSession = New NationalInstruments.Visa.ResourceManager()
Public mbSession As MessageBasedSession
mbSession = rmSession.Open(str)
Dim ans As String = mbSession.RawIO.ReadString().Replace("\n", "\\n").Replace("\r", "\\r")
Dim a As Double = Convert.ToDouble(ans)
I want to send a command once, and get measurement value constantly via event handler or a thread that will always read the value without requesting it over and over (with mbSession.RawIO.Write).
I need it to make the acquisition faster in real time.
Who is online
Users browsing this forum: No registered users and 1 guest