Clock Generator Generate Clock
- Updated2023-02-17
- 3 minute(s) read
Clock Generator Generate Clock
Configures clock generator frequency and initiates clock generation on the specified channel(s) or pin(s) and pin group(s).
Inputs/Outputs

session in
Instrument session obtained from the niDigital Initialize with Optionsnode.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

channel list
List of channel names or list of pins. Do not pass a mix of channel names and pin names.
An empty string denotes all digital pattern instrument channels.
Specify channel names using the form PXI1Slot3/0,2-3 or PXI1Slot3/0,PXI1Slot3/2-3, where PXI1Slot3 is the instrument resource name and 0, 2, 3 are channel names.
To specify channels from multiple instruments, use the form PXI1Slot3/0,PXI1Slot3/2-3,PXI1Slot4/2-3. The instruments must be in the same chassis.
Site Considerations and Syntax
Pin names and pin groups apply to all enabled sites, unless the pin name explicitly specifies the site. You can specify a pin in a specific site using the form siteN/pinName, where N is the site number. This node ignores pins that are not mapped to the digital pattern instrument.

frequency
The frequency of the clock generation, in Hz.

select digital function?
A Boolean that specifies whether to select the digital function for the pins in the pattern prior to bursting.
| True | Selects the digital function for the pins in the pattern prior to bursting. |
| False | Does not select the digital function for the pins in the pattern prior to bursting. |
Default value: True

session out
Handle that identifies the session in all subsequent NI-Digital node calls.

error out
Error information.
The node produces this output according to standard error behavior.