EasyManuals Logo
Home>UNI-T>Portable Generator>UTG900E Series

UNI-T UTG900E Series Programming Manual

UNI-T UTG900E Series
41 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #30 background imageLoading...
Page #30 background image
Programming Manual UTG900E Series
Instruments.uni-trend.com
30 / 41
try
{
var resource = string.Format("TCPIP0::{0}::inst0::INSTR", ip);
var mbSession = (MessageBasedSession)rmSession.Open(resource);
mbSession.RawIO.Write("*IDN?\n");
System.Console.WriteLine(mbSession.RawIO.ReadString());
}
catch (Exception ex)
{
System.Console.WriteLine(ex.Message);
}
}
}
void Main(string[] args)
{
tcp_ip_test("192.168.20.11");
}
}
VB Example
Condition: Windows System & Microsoft Visual Basic 6.0.
Description: Access the device through the USBTMC and TCP/IP, and send "*IDN?" command in NI-VISA
to check the device information.
Steps
1. Open the Visual Basic software, and newly create a standard application.
2. Set the project condition for calling NI-VISA library: Click the Existing tab of Project>>Add Existing
Item, find the visa32.bas file in the "include" folder of NI-VISA installation path and add it, as
followings showed.
3. Source Code

Table of Contents

Other manuals for UNI-T UTG900E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the UNI-T UTG900E Series and is the answer not in the manual?

UNI-T UTG900E Series Specifications

General IconGeneral
BrandUNI-T
ModelUTG900E Series
CategoryPortable Generator
LanguageEnglish

Related product manuals