Table Of Contents

Intf.FlexRay.Sleep

Last Modified: February 7, 2020

Use the Sleep property to change the NI-XNET FlexRay interface sleep/awake state and optionally to initiate a wakeup on the FlexRay cluster.

Data type: datatype_icon

Long Name: Interface:FlexRay:Sleep

Class: XNET Session

Permissions: Write

The property is a ring (enumerated list) with the following values:

String Value Description
Local Sleep 0 Set interface and transceiver(s) to sleep
Local Wake 1 Set interface and transceiver(s) to awake
Remote Wake 2 Set interface and transceivers to awake and attempt to wake up the FlexRay bus by sending the wakeup pattern on the configured wakeup channel

This property is write only. Setting a new value is effectively a request, and the property node returns before the request is complete. To detect the current interface sleep/wake state, use XNET Read (State FlexRay Comm).

The FlexRay interface maintains a state machine to determine the action to perform when this property is set (request). The following table specifies the sleep/wake action on the FlexRay interface.

Request Current Local State
Sleep Awake
Local Sleep No action Change local state
Local Wake Attempt to integrate with the bus (move from POC:READY to POC:NORMAL) No action
Remote Wake Attempt to wake up the bus followed by an attempt to integrate with the bus (move from POC:READY to POC:NORMAL ACTIVE). If the interface is not yet started, setting Remote Wake schedules a remote wake to be generated once the interface has started. No action

Where This Property Is Available:

Desktop OS: Windows

FPGA: Not supported

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


Recently Viewed Topics