VeriStand .NET API Reference

Factory.GetICustomDevice Method

Gets the ICustomDevice interface, which you can use to send messages to a custom device.

Namespace: NationalInstruments.VeriStand.ClientAPI
Assembly: NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function GetICustomDevice ( _
	gateway_ip_address As String, _
	device_path As String _
) As ICustomDevice
C#
public ICustomDevice GetICustomDevice(
	string gateway_ip_address,
	string device_path
)
Visual C++
public:
ICustomDevice^ GetICustomDevice(
	String^ gateway_ip_address, 
	String^ device_path
)

Parameters

gateway_ip_address
Type: System.String
Specifies the IP address of the VeriStand Gateway.
device_path
Type: System.String
Specifies the path to the custom device in the system definition file. This parameter expects the full path to the custom device. For example: Targets/Controller/Custom Devices/Pickering 40-295

Return Value

Returns an Error object. If no error occurs, the Code property of the Error object is 0.

See Also

Log in to get a better experience