CNiBinding::Url

CNi

Class
CNiBinding::
Url
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: TimerIntervalNext page: CNiBinding    
Public Data Item Declared in:
NiBinding.h

'Declaration' icon -- Shortcut to top of page. Declaration

CString Url;

'Description' icon -- Shortcut to top of page. Description

Specifies the data source or target.

Notes:

1. You also can set the URL property when you call the Connect function.

2. The CNiBinding object can connect to different types of data sources and data targets. The AccessMode property determines if the connection is to a data source from which the CNiBinding object reads, or to a data target to which the CNiBinding object writes.

3. The following list includes the valid types of URLs that you can specify.

  • "http:" standard Web servers. http://www.ni.com/cworks/datasocket/ping.wav.
  • "ftp:" standard ftp sites. The ftp site should allow anonymous connections. ftp://ftp.ni.com/datasocket/ping.wav. ftp://user:password@host/item_path.
  • "file:" for files directly accessible from your file system. file:ping.wav. file:c:\mydata\ping.wav. file:\\mahine\mydata\ping.wav.
  • "opc:" OLE for Process Control (OPC) servers. opc:\National Instruments.OPCTest\item1. opc:\\machine\ National Instruments.OPCModbus\Modbus Demo Box.4:0. opc:\\machine\ National Instruments.OPCModbus\Modbus Demo Box.4:0?updaterate=100&deadband=0.7.
  • "logos:" a National Instruments protocol for transmitting data between a network and your local computer. logos://computer_name/process/data_item_name

4. If the data source to which the URL points redirects the CNiBinding object to a different URL, The ActualURL property contains the URL to which the CNiBinding object was redirected.

'See Also' icon -- Shortcut to top of page. See Also