Creates a new ConfigurationFrame from specified parameters.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public ConfigurationFrame( Ticks timestamp, string configurationFileName, ushort packetsPerSample, RevisionNumber revisionNumber, StreamType streamType )
Public Sub New ( _ timestamp As Ticks, _ configurationFileName As String, _ packetsPerSample As UShort, _ revisionNumber As RevisionNumber, _ streamType As StreamType _ )
public: ConfigurationFrame( Ticks timestamp, String^ configurationFileName, unsigned short packetsPerSample, RevisionNumber revisionNumber, StreamType streamType )
Parameters
- timestamp (Ticks)
- The exact timestamp, in Ticks, of the data represented by this ConfigurationFrame.
- configurationFileName (String)
- The required external BPA PDCstream INI based configuration file.
- packetsPerSample (UInt16)
- Number of packets per sample.
- revisionNumber (RevisionNumber)
- Defines the RevisionNumber for this BPA PDCstream configuration frame.
- streamType (StreamType)
- Defines the StreamType for this BPA PDCstream configuration frame.
Remarks
This constructor is used by a consumer to generate a BPA PDCstream configuration frame.
If you are going to create multiple data packets set packetsPerSample to a number greater than one. This will only start becoming necessary if you start hitting data size limits imposed by the nature of the transport protocol.