VeriStand .NET API Reference

Content Type
Programming Language
Current manual
Table of Contents

Chassis.SetChassisMasterToDAQ Method

Sets the chassis master hardware synchronization device to the DAQ device you specify.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)

Syntax

Visual Basic (Declaration)
Public Function SetChassisMasterToDAQ ( _
	DAQName As String, _
	clkSrc As DAQCM_Clock_Source, _
	activeEdge As DAQCM_Active_Edge, _
	exportClk As DAQCM_Export_Sample_Clock, _
	exportClkToLine As DAQCM_Export_Clk_On_Line, _
	triggerLine As DAQCM_Trigger_Line, _
	triggerSlope As DAQCM_Slope, _
	startTrigger As DAQCM_Export_Start_Trigger, _
	startTriggerLine As DAQCM_Export_StartTrigger_On_Line _
) As Boolean
C#
public bool SetChassisMasterToDAQ(
	string DAQName,
	DAQCM_Clock_Source clkSrc,
	DAQCM_Active_Edge activeEdge,
	DAQCM_Export_Sample_Clock exportClk,
	DAQCM_Export_Clk_On_Line exportClkToLine,
	DAQCM_Trigger_Line triggerLine,
	DAQCM_Slope triggerSlope,
	DAQCM_Export_Start_Trigger startTrigger,
	DAQCM_Export_StartTrigger_On_Line startTriggerLine
)
Visual C++
public:
bool SetChassisMasterToDAQ(
	String^ DAQName, 
	DAQCM_Clock_Source clkSrc, 
	DAQCM_Active_Edge activeEdge, 
	DAQCM_Export_Sample_Clock exportClk, 
	DAQCM_Export_Clk_On_Line exportClkToLine, 
	DAQCM_Trigger_Line triggerLine, 
	DAQCM_Slope triggerSlope, 
	DAQCM_Export_Start_Trigger startTrigger, 
	DAQCM_Export_StartTrigger_On_Line startTriggerLine
)

Parameters

DAQName
Type: System.String
The name of the DAQ device.
clkSrc
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCM_Clock_Source
The source for the sample clock.
activeEdge
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCM_Active_Edge
The edge on which the sample clock pulses to acquire or generate samples.
exportClk
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCM_Export_Sample_Clock
The sample clock to export.
exportClkToLine
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCM_Export_Clk_On_Line
The line that receives the pulse from the sample clock.
triggerLine
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCM_Trigger_Line
The line that triggers the acquisition or generation of samples.
triggerSlope
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCM_Slope
The edge on which to trigger the device.
startTrigger
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCM_Export_Start_Trigger
The start trigger to export.
startTriggerLine
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCM_Export_StartTrigger_On_Line
The line that exports the startTrigger.

Return Value

true (True in Visual Basic) if the chassis master hardware synchronization device is set successfully.

See Also

Was this information helpful?