ReflectiveMemory.EnableInterrupt Method (ReflectiveMemoryInterruptType, BaseNode)
- Mise à jour2023-02-21
- Temps de lecture : 2 minute(s)
Enables interrupts of the type you specify and assigns the interrupt signal the value of the specified interruptChannel. This method sends the interrupts to all nodes on the reflective memory network.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Sub EnableInterrupt ( _ type As ReflectiveMemoryInterruptType, _ interruptChannel As BaseNode _ ) |
| C# |
|---|
public void EnableInterrupt( ReflectiveMemoryInterruptType type, BaseNode interruptChannel ) |
| Visual C++ |
|---|
public: void EnableInterrupt( ReflectiveMemoryInterruptType type, BaseNode^ interruptChannel ) |
Parameters
- type
- Type: NationalInstruments.VeriStand.SystemDefinitionAPI.ReflectiveMemoryInterruptType
The type of interrupt, such as LinkResetInterrupt or NetworkInitInterrupt, to enable.
- interruptChannel
- Type: NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
The channel to use for the interrupt value.
Remarks
All interrupts are sent in packets that contain the node ID of the sender, the node ID of the receiver, the type of the interrupt, and 32 bits of data you define.