Table Of Contents

IviFgen Initiate Generation (G Dataflow)

Last Modified: October 23, 2017

Initiates signal generation. If the function generator is in the Configuration State, this node moves the function generator to the Output Generation State. If the function generator is already in the Output Generation State, this node does nothing. The instrument is in the Generation State after you call the IviFgen Initialize, IviFgen Initialize With Options, or IviFgen Reset nodes. You can configure the output of the function generator regardless of whether function generator is in the Configuration State or the Generation State. This means that you are required to call the IviFgen Initiate Generation Node only if you abort signal generation by calling the IviFgen Abort Generation Node. Many function generators constantly generate an output signal, and do not require you to initiate signal generation. If a function generator is always outputting the currently configured signal, this node does nothing. You are not required to call the IviFgen Initiate Generation and IviFgen Abort Generation nodes. Whether you choose to call these nodes in an application program has no impact on interchangeability. You can choose to use these nodes if you want to optimize your application for instruments that exhibit increased performance when output configuration is performed while the instrument is not generating a signal. This node disables extensions that have not been set by the user under the following conditions: (1) If you have not set the value of any property in the IviFgenModulateAM extension on a channel, this node sets the IviFgen>>Amplitude Modulation Attributes>>AM Enabled [AM] property to FALSE for that channel. (2) If you have not set the value of any property in the IviFgenModulateFM extension on a channel, this node sets the IviFgen>>Frequency Modulation Attributes>>FM Enabled [FM] property to FALSE for that channel. Notes: (1) This node does not normally check the instrument status. Typically, you call this node only in a sequence of calls to other low-level driver functions. The sequence performs one operation. You use the low-level nodes to optimize one or more aspects of interaction with the instrument. If you want to check the instrument status, call the IviFgen Error-Query Node at the conclusion of the sequence. (2) This node performs interchangeability checking when the IviFgen>>Inherent IVI Settings>>User Options>>Interchange Check property is set to TRUE. If the IviFgen>>Inherent IVI Settings>>User Options>>Spy property is set to TRUE, you use the NI I/O Trace utility to view interchangeability warnings. You use the IviFgen Get Next Interchange Warning Node to retrieve interchangeability warnings when the IviFgen>>Inherent IVI Settings>>User Options>>Spy property is set to FALSE. For more information about interchangeability checking, refer to the help text for the IviFgen>>Inherent IVI Settings>>User Options>>Interchange Check property.

connector_pane_image
datatype_icon

instrument handle

The instrument handle that you obtain from the IviSpecAn Initialize Node or IviSpecAn Initialize With Options Node. The handle identifies a particular instrument session.

Default: None

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

instrument handle out

The instrument handle that you obtain from the IviSpecAn Initialize Node or IviSpecAn Initialize With Options Node. The handle identifies a particular instrument session.

Default: None

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics