Table Of Contents

Write Static (U32) (G Dataflow)

Version:
    Last Modified: September 27, 2017

    Writes to channels configured for static generation.

    You can configure a channel for static generation using the Assign Static Channels node.

    connector_pane_image
    datatype_icon

    session in

    Instrument session obtained from the Initialize Acquisition Session node, the Initialize Generation Session node, or the Initialize External Calibration node.

    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

    write data

    The bit value of data you want to drive on channels configured for static generation. 1 corresponds to logic high level, 0 corresponds to logic low level.

    The least significant bit of write data corresponds to the lowest physical channel number. For example, a write data value of 0xFF00 sets the lower 8 channels to a logic low level and sets channels 8 to 15 to a logic high level.

    Data values in write data corresponding to channels not configured for static generation are ignored.

    Disabling static channels with niHSDIO Tristate Channels

    Static channels explicitly disabled with the niHSDIO Tristate Channels node remain disabled, but the channel data value changes internally. Re-enabling a channel with niHSDIO Tristate Channels node causes the channel to drive any value that you have written to it, even while the channel was disabled.

    Default: 0

    datatype_icon

    channel mask

    The bit-value of channels to leave unchanged.

    0 Do not alter the channel, regardless of write data.
    1 Change the channel to whatever is reflected by write data

    The least significant bit of channel mask corresponds to the lowest physical channel number. For example, a write data value of 0xFFFF and channel mask of 0x00FF means set only channels 0-7 to 1; all other channels remain unchanged.

    datatype_icon

    session out

    Handle that identifies the session in all subsequent node calls.

    The session out parameter is obtained from the Initialize Acquisition Session node or the Initialize Generation Session node.

    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