Teledyne T3DSO1000 Programming Manual page 219

Digital oscilloscopes
Hide thumbs Also See for T3DSO1000:
Table of Contents

Advertisement

{
class
Program
{
static void
{
// Find all the USBTMC resources
string[]
usbRsrcStrings=ResourceManager.GetLocalManager().FindResources("
USB?*INSTR");
if
(usbRsrcStrings.Length <= 0)
{
Console.WriteLine("Can not find USBTMC
return;
}
//Choose the first resource string to connect the device.
//You can input the address manually
//USBTMC:
//MessageBasedSession
mbSession=(MessageBasedSession)ResourceManager.GetLocalManager
().Open("USB0::0xF4EC::0xEE38::0123456789:: INSTR");
/TCP IP:
//MessageBasedSession
mbSession=(MessageBasedSession)ResourceManager.GetLocalManager
().Open("TCPIP0::192.168.1.100::INSTR");
MessageBasedSession
mbSession=(MessageBasedSession)ResourceManager.GetLocalManager
().Open(usbRsrcStrings[0]);
mbSession.Write("*IDN?");
string
mbSession.Dispose();
Main(string[] args)
result = mbSession.ReadString();
Digital Oscilloscope Series
Device!");
219

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

T3dso2000

Table of Contents