Deploys the UDP Channel Stream session. The VeriStand Gateway publishes the channels specified by this session to a UDP multicast address.
Namespace:
NationalInstruments.VeriStand.ClientAPI
Assembly:
NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| C# |
|---|
Error DeployUDPChannelStreamSession(
out string address,
out ushort port,
out int max_packet_size,
out int[] channel_ids,
out int[] packet_ids
) |
Parameters
- address
- Type:
System.String
%
The multicast address to which the VeriStand Gateway publishes the data.
- port
- Type:
System.UInt16
%
The multicast address port to which the VeriStand Gateway publishes the data.
- max_packet_size
- Type:
System.Int32
%
The maximum UDP packet size, in bytes, that the VeriStand Gateway successfully published.
- channel_ids
- Type:
System.Int32
%
The channel IDs for each channel in the session. Each UDP packet contains a list of channel IDs that it uses to look up channel data.
- packet_ids
- Type:
System.Int32
%
The packet IDs. The VeriStand Gateway might publish one or more packets corresponding to this stream session.
Return Value
Returns an Error object. If no error occurs, the Code property of the Error object is 0.