• Return to Home Page
    • Solutions
      Industries
      • Academic and Research
      • Aerospace, Defense, and Government
      • Electronics
      • Energy
      • Industrial Machinery
      • Life Sciences
      • Semiconductor
      • Transportation
      Product Life Cycles
      • Design and Prototype
      • Validation
      • Production
      Focus Areas
      • 5G and 6G Technology
      • ADAS and Autonomous Driving Testing
      • Artificial Intelligence
      • Electric Vehicle Test
      • Lifecycle Analytics
      • Radar and Electronic Warfare
      • Space Launch and Exploration
      • Validation Lab Innovations
      See our approach to solutions
      Get a Helping Hand
      From troubleshooting technical issues and product recommendations, to quotes and orders, we’re here to help.
      Contact Us
    • Products
      Software
      View All Software
      Test Automation
      • LabVIEW
      • LabVIEW+ Suite
      • TestStand (Test Execution)
      • VeriStand (HIL Test Development)
      Free Interactive Test Software
      • FlexLogger (for DAQ hardware)
      • InstrumentStudio (for PXI hardware)
      Test Analytics and Operations
      • DIAdem (for Analysis and Visualization)
      • SystemLink (Test Operations)
      • OptimalPlus GO (Manufacturing Analytics)
      SERVICES
      View All Services
      • Repair Services
      • Calibration
      • Training Courses
      HARDWARE
      View All Hardware
      Data Acquisition and Control
      • Learn About DAQ
      • New DAQ Hardware (mioDAQ)
      • Multifunction I/O
      • Voltage
      • Digital I/O
      • Temperature
      • Sound and Vibration
      • Current
      • Strain, Pressure, and Force
      Communication Interfaces
      • Software Defined Radios
      • GPIB, Serial, and Ethernet
      • Industrial Communication Buses
      • Vehicle Communication Buses
      • Avionics Communication Buses
      PXI Instrumentation
      • Switches
      • Oscilloscopes
      • Digital Multimeters
      • Waveform Generators
      • RF Signal Generators
      • SMUs and LCR Meters
      • Power Supplies and Loads
      • Vector Signal Transceivers
      • FlexRIO Instruments
      Accessories
      • Power Accessories
      • Connectors
      • Cables
      • Sensors
      RESOURCES
      • Ordering Resources
      • Distributors
      • System Advisors
      See all products
      CompactDAQ

      Modular Data Acquisition

      CompactRIO

      Distributed Measurement and Control

      PXI

      High-Performance Test

      LabVIEW+ Suite

      Automated Test System Development Software

    • Perspectives
      Perspectives

      Perspectives showcases how NI sees what’s next in the world of test and technology.

      View all articles
      Charting the Course for Test Development with LabVIEW
      LabVIEW remains key in test, promising speed, efficiency, and new features with NI’s investment in core tech, community, and integration.
      Read our featured article
    • Support
      Resources
      View All Support Resources
      • Software Downloads
      • Register and Activate
      • Product Documentation
      • Release Notes
      • Training Courses
      • On-Demand Learning
      • KnowledgeBase
      • Code Examples
      Request Support

      You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.

      Open a service request
      Popular Software Downloads
      See all Software Product Downloads
      icon of LabVIEW logo
      LabVIEW
      icon of Multisim logo
      Multisim
      icon of Academic Volume License logo
      Academic Volume License
      Popular Driver Downloads
      See all Driver Software Downloads
      • NI-DAQmx

        Provides support for NI data acquisition and signal conditioning devices. 

      • NI-VISA

        Provides support for Ethernet, GPIB, serial, USB, and other types of instruments. 

      • NI-488.2

        Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports. 

    • Community
    • Partners
    • Contact Usflag representing the selected language
    • My Account
    • Search
  • Cart
    • Solutions
      • Back
      • Industries
      • Academic and Research
      • Aerospace, Defense, and Government
      • Electronics
      • Energy
      • Industrial Machinery
      • Life Sciences
      • Semiconductor
      • Transportation
      • Product Life Cycles
      • Design and Prototype
      • Validation
      • Production
      • Focus Areas
      • 5G and 6G Technology
      • ADAS and Autonomous Driving Testing
      • Artificial Intelligence
      • Electric Vehicle Test
      • Lifecycle Analytics
      • Radar and Electronic Warfare
      • Space Launch and Exploration
      • Validation Lab Innovations
      • See our approach to solutions
    • Products
      • Back
      • Software
      • View All Software
      • Test Automation
      • LabVIEW
      • LabVIEW+ Suite
      • TestStand (Test Execution)
      • VeriStand (HIL Test Development)
      • Free Interactive Test Software
      • FlexLogger (for DAQ hardware)
      • InstrumentStudio (for PXI hardware)
      • Test Analytics and Operations
      • DIAdem (for Analysis and Visualization)
      • SystemLink (Test Operations)
      • OptimalPlus GO (Manufacturing Analytics)
      • SERVICES
      • View All Services
      • Repair Services
      • Calibration
      • Training Courses
      • HARDWARE
      • View All Hardware
      • Data Acquisition and Control
      • Learn About DAQ
      • New DAQ Hardware (mioDAQ)
      • Multifunction I/O
      • Voltage
      • Digital I/O
      • Temperature
      • Sound and Vibration
      • Current
      • Strain, Pressure, and Force
      • Communication Interfaces
      • Software Defined Radios
      • GPIB, Serial, and Ethernet
      • Industrial Communication Buses
      • Vehicle Communication Buses
      • Avionics Communication Buses
      • PXI Instrumentation
      • Switches
      • Oscilloscopes
      • Digital Multimeters
      • Waveform Generators
      • RF Signal Generators
      • SMUs and LCR Meters
      • Power Supplies and Loads
      • Vector Signal Transceivers
      • FlexRIO Instruments
      • Accessories
      • Power Accessories
      • Connectors
      • Cables
      • Sensors
      • RESOURCES
      • Ordering Resources
      • Distributors
      • System Advisors
      • See all products
    • Perspectives
    • Support
      • Back
      • Resources
      • View All Support Resources
      • Software Downloads
      • Register and Activate
      • Product Documentation
      • Release Notes
      • Training Courses
      • On-Demand Learning
      • KnowledgeBase
      • Code Examples
      • Popular Software Downloads
      • See all Software Product Downloads
      • icon of LabVIEW logo
      • icon of Multisim logo
      • icon of Academic Volume License logo
      • Popular Driver Downloads
      • See all Driver Software Downloads
      • NI-DAQmx
      • NI-VISA
      • NI-488.2
      • Request Support
      • You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.Open a service request
    • Community
    • Partners
    • Contact Us
    • Account
跳转到主要内容跳转到搜索
产品文档 - NI产品文档 - NI
产品文档 - NI
  • 主页
  • 所有手册
  • 登录

LabVIEW编程参考手册

目录
  • LabVIEW编程参考手册
  • 函数
  • 属性和方法
  • LabVIEW环境参考
  • LabVIEW对话框参考
  • 错误代码和消息
目录

TCP/IP Instr属性

下载PDF
选定部分选定部分和子部分整个手册
  • 更新时间2025-07-30
  • 阅读时长12分钟
    • LabVIEW
    • API参考
    • LabVIEW G

  • General Settings:Maximum Queue Length
    Specifies the maximum number of events that can be queued at any time on the given session. This property is read/write until the first time you call VISA Enable Event on a session. Thereafter, it is read only. The default is 50.
  • General Settings:Resource Class
    Returns the resource class of the resource string used to open the given session. For example, if the resource string for a given session is COM1 or ASRL1::INSTR, this property returns INSTR, regardless of the class of the I/O control.
  • General Settings:Resource Lock State
    Returns the current locking state of the resource associated with the given session. The resource can be unlocked, locked with an exclusive lock, or locked with a shared lock. The default is Unlocked.
  • General Settings:Resource Name
    Returns the unique identifier for a resource.
  • General Settings:Timeout Value
    Specifies the minimum timeout value, in milliseconds, to use when accessing the device. Note that the actual timeout that VISA returns may be higher than the one requested. The default is 2000.
  • General Settings:User Data
    Specifies a data value for the private use of an application. The VISA implementation stores this value in a per-session location, so that user data on other sessions does not affect the user data on this session. VISA does not use this property for any purpose.
  • Interface Information:Interface Description
    Specifies human-readable text that describes the given interface. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.
  • Interface Information:Interface Number
    Returns the board number for the given interface.
  • Interface Information:Interface Type
    Specifies the interface type of the given session.
  • Version Information:Resource Manufacturer Identification
    Returns a value that corresponds to the VXI manufacturer ID of the manufacturer that created the VISA implementation.
  • Version Information:Resource Manufacturer Name
    Returns the name of the manufacturer that created the implementation. This is not related to the device manufacturer attributes. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.
  • Version Information:Version of Implementation
    Returns the version of a given implementation. This value is defined by the individual manufacturer and increments with each new revision. The format of the value has the upper 12 bits as the major number of the version, the next lower 12 bits as the minor number of the version, and the lowest 8 bits as the sub-minor number of the version.
  • Version Information:Version of Specification
    Returns the value that uniquely identifies the version of the VISA specification to which the implementation complies. The format of the value has the upper 12 bits as the major number of the version, the next lower 12 bits as the minor number of the version, and the lowest 8 bits as the sub-minor number of the version.
  • Message Based Settings:File Append Enable
    Specifies whether VISA Read To File appends or overwrites (truncates) when opening a file. If this property is set to TRUE, VISA Read To File appends when opening a file. If this property is set to FALSE, VISA Read To File爋verwrites (truncates) when opening a file. The default is FALSE.
  • Message Based Settings:Send End Enable
    Specifies whether to send an END indicator on the last byte of each write operation. This property is relevant only in VISA Write and related operations. The default is TRUE. On Serial Instr sessions, if this property is set to FALSE, the write transmits the exact contents of the user buffer, without modifying it and without appending anything to the data. If this property is set to TRUE, VISA performs the behavior described in the property End Mode for Writes (ASRL End Out). On GPIB, VXI, GPIB-VXI, TCP/IP Instr, and USB Instr sessions, if this property is set to TRUE, VISA includes the 488.2 defined end of message terminator.
  • Message Based Settings:Termination Character
    Specifies a character that, when read, causes a read operation to terminate. The termination character also must be enabled. This default is 0x0A (linefeed).
  • Message Based Settings:Termination Character Enable
    Specifies whether a read operation terminates when it receives the termination character. The default is FALSE.
  • TCP/IP Settings:Computer Hostname
    Returns the host name of the device. If no host name is available, this property returns an empty string.
  • TCP/IP Settings:Dot-Notation Address
    Returns the TCPIP address of the device to which the session is connected. This string is formatted in dot notation.
  • TCP/IP Settings:Keep-Alive Packets
    Specifies whether to use keep-alive packets on TCP connections. Setting this property to TRUE requests that a TCP/IP provider enable the use of keep-alive packets on TCP connections. After the system detects a dropped connection, VISA returns a lost connection error code on subsequent I/O calls on the session. The time required for the system to detect the dropped connection depends on the system and is not settable. The default is FALSE.
  • TCP/IP Settings:LAN Device Name
    Returns the LAN device name used by the VXI-11 protocol (for example, inst0) during connection.
  • TCP/IP Settings:No Packet Delay
    Specifies whether the Nagle algorithm is enabled. The Nagle algorithm is disabled when this property is TRUE (and vice versa). The Nagle algorithm improves network performance by buffering written data until a full-size packet can be sent. This property is TRUE by default in VISA to verify that writes get flushed immediately.

向前

没有上一部分

向后

没有下一部分

向前

没有上一部分

向后

没有下一部分

Log in to get a better experience

登录
  • ©2008 - 2025 ACME Corporation. All Rights Reserved
  • Privacy PolicyTerms of Use
  • Powered By
    Zoomin_Logo
Solutions
  • Academic & Research
  • Aerospace, Defense, & Government
  • Electronics
  • Energy
  • Industrial Machinery
  • Life Sciences
  • Semiconductor
  • Transportation
Orders
  • NI Distribution Partners
  • Order Status and History
  • Retrieve a Quote
  • Terms of Service
  • Order by Part Number or Request a Quote
Company
  • NI is now part of Emerson
  • About
  • Emerson Careers
  • Newsroom
  • Supply Chain & Quality
  • Events
  • Tariff Impact Update
Support
  • Downloads
  • Product Documentation
  • Discussion Forums
  • Activate a Product
  • Submit a Service Request
  • Site Feedback
FacebookTwitterLinkedInYouTubeInstagram
LEGAL | IMPRINT | PRIVACY | Cookie Settings
© NATIONAL INSTRUMENTS CORP. ALL RIGHTS RESERVED.