VeriStand .NET API Reference

IDataLogging.StartDataLoggingSession Method

Starts a new data logging session.

Namespace: NationalInstruments.VeriStand.ClientAPI.Logging
Assembly: NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Function StartDataLoggingSession ( _
	sessionName As String, _
	dataLoggingSpecification As DataLoggingSpecification _
) As Error
C#
Error StartDataLoggingSession(
	string sessionName,
	DataLoggingSpecification dataLoggingSpecification
)
Visual C++
Error^ StartDataLoggingSession(
	String^ sessionName, 
	DataLoggingSpecification^ dataLoggingSpecification
)

Parameters

sessionName
Type: System.String
Specifies the unique name of the data logging session.
dataLoggingSpecification
Type: NationalInstruments.VeriStand.ClientAPI.Logging.DataLoggingSpecification
Specifies the settings of the data logging session.

Return Value

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

See Also