Software communication & interfaces
|
Page 9
2.2.4
LabVIEW
The LabVIEW API is provided to integrate the Device with all its functionality within your
LabVIEW Vis.
public void
Connect(string ipAddress, int port)
The device handle is the reference to the connection to the device
and is input to all other device functions that are following.
To close the connection, please use:
public void
Disconnect()
Both functions are included in the API and part of the device class
(so initialize a member of the class first).
For a TCP/IP connection, use the port 9090.
Discovering devices
within the same
network
The discovery function can be used:
It searches your network for available devices and returns a list of
properties. This is done by an SSDP broadcast. If no devices are
found, please check the device connection via TCP/IP (e.g. via the
websever) or make sure that the device is in the same subnet than
your PC
IMPORTANT NOTE: These functions are part of an additional
discovery .dll – the “attocube discovery dll”, which is also part of
the standard delivery content.
Therefore, following function is available:
public DiscoveryData[]
Check()
Special data type:
Type: DiscoveryData
Class for handling the data of devices discovered using the discovery
protocol
Overview
The LabVIEW API contains a LabVIEW project which contains all
single function VIs and a master example VI that uses almost all
functions available and that mimics the web interfaces UI for easy
navigation.
Summary of Contents for attocube AMC100
Page 1: ...Interface Manual AMC100 AMC300...
Page 3: ......