Phidget Digital Output.lvlib:DigitalOutputEnableFailsafe.vi

Enables the failsafe feature for the channel, with a given failsafe time.

The failsafe feature is intended for use in applications where it is important for the channel to enter a known safe state if the program controlling it locks up or crashes. If you do not enable the failsafe feature, the channel will carry out whatever instructions it was last given until it is explicitly told to stop.

Enabling the failsafe feature starts a recurring failsafe timer for the channel. Once the failsafe timer is enabled, it must be reset within the specified time or the channel will enter a failsafe state. The failsafe timer may be reset either by calling this function again, or using the ResetFailsafe function. Resetting the failsafe timer will reload the timer with the specified failsafe time, starting when the message to reset the timer is received by the Phidget.

For example: if the failsafe is enabled with a failsafe time of 1000ms, you will have 1000ms to reset the failsafe timer. Every time the failsafe timer is reset, you will have 1000ms from that time to reset the failsafe again.

If the failsafe timer is not reset before it runs out, the channel will enter a failsafe state. For Digital Output channels, this will set the output state to FALSE. Once the channel enters the failsafe state, it will reject any further input until the channel is reopened.

To prevent the channel from falsely entering the failsafe state, we recommend resetting the failsafe timer as frequently as is practical for your applicaiton. A good rule of thumb is to not let more than a third of the failsafe time pass before resetting the timer.

Once the failsafe timer has been set, it cannot be disabled by any means other than closing and reopening the channel.

Phidget Digital Output.lvlib:DigitalOutputEnableFailsafe.vi

Device Support:

1011_0 (ver: 100, 101, 102, 103) Digital Output : Unsupported

1012_0 (ver: 600) Digital Output : Unsupported

1012_0 (ver: 601) Digital Output : Unsupported

1012_0 (ver: 602, 603, 604) Digital Output : Unsupported

1012_1 (ver: 605) Digital Output : Unsupported

1012_2 (ver: 605) Digital Output : Unsupported

1013_0 (ver: 800, 811, 820) Digital Output : Unsupported

1013_0 (ver: 821, 823) Digital Output : Unsupported

1018_0 (ver: 824, 825, 826) Digital Output : Unsupported

1018_1 (ver: 826) Digital Output : Unsupported

1019_0 (ver: 826) Digital Output : Unsupported

1070_0 (ver: 826) Digital Output : Unsupported

1014_0 (ver: 700) Power Relay : Unsupported

1014_0 (ver: 704, 705, 706) Power Relay : Unsupported

1014_1 (ver: 707) Power Relay : Unsupported

1014_2 (ver: 707) Power Relay : Unsupported

1017_0 (ver: 100) Signal Relay : Unsupported

1017_1 (ver: 100) Signal Relay : Unsupported

1010_0 (ver: 903, 904) Digital Output : Unsupported

1018_2 (ver: 900, 901, 902, 903, 904) Digital Output : Unsupported

1019_1 (ver: 903, 904) Digital Output : Unsupported

1072_0 (ver: 903) Digital Output : Unsupported

1073_0 (ver: 904) Digital Output : Unsupported

1023_0 (ver: 200) Digital Output : Unsupported

1023_0 (ver: 200) LED Driver : Unsupported

1023_0 (ver: 200) Onboard LED : Unsupported

1023_0 (ver: 201, 202, 203, 204) Digital Output : Unsupported

1023_1 (ver: 205, 206) Digital Output : Unsupported

1023_0 (ver: 201, 202, 203, 204) LED Driver : Unsupported

1023_1 (ver: 205, 206) LED Driver : Unsupported

1023_0 (ver: 201, 202, 203, 204) Onboard LED : Unsupported

1023_1 (ver: 205, 206) Onboard LED : Unsupported

1024_0 (ver: 100, 101, 103) Digital Output : Unsupported

1024_0 (ver: 100, 101, 103) LED Driver : Unsupported

1024_0 (ver: 100, 101, 103) Onboard LED : Unsupported

1030_0 (ver: 100, 101, 200, 201, 202) LED Driver : Unsupported

1031_0 (ver: 100, 101) LED Driver : Unsupported

1032_0 (ver: 200, 201) LED Driver : Unsupported

1202_0 (ver: 100) Digital Output : Unsupported

1203_0 (ver: 100) Digital Output : Unsupported

1202_0 (ver: 120, 121) Digital Output : Unsupported

1202_1 (ver: 123, 124) Digital Output : Unsupported

1203_0 (ver: 120, 121) Digital Output : Unsupported

1203_1 (ver: 123, 124) Digital Output : Unsupported

1202_2 (ver: 200, 201, 202, 203, 204) Digital Output : Unsupported

1203_2 (ver: 200, 201, 202, 203, 204) Digital Output : Unsupported

1219_0 (ver: 110, 111, 113) Digital Output : Unsupported

1220_0 (ver: 110, 111, 113) Digital Output : Unsupported

1221_0 (ver: 110, 111, 113) Digital Output : Unsupported

1222_0 (ver: 110, 111, 113) Digital Output : Unsupported

HUB0000_0 (ver: 117, 118, 119) Digital Output : Unsupported

HUB0000_0 (ver: 121) Digital Output : Unsupported

SBC3003_0 (ver: 101, 102) Digital Output : Unsupported

SBC3003_0 (ver: 108) Digital Output : Unsupported

OUT1100_0 (ver: 100) Digital Output : Unsupported

OUT1100_0 (ver: 110) Digital Output : Supported

LED1000_0 (ver: 104) LED Driver : Unsupported

REL1000_0 (ver: 101) Power Relay : Unsupported

REL1000_0 (ver: 110) Power Relay : Supported

REL1100_0 (ver: 100) Digital Output Isolated : Unsupported

REL1100_0 (ver: 110) Digital Output Isolated : Supported

REL1101_0 (ver: 102) Digital Output Isolated : Unsupported

cu64

Device In

Device # Identification

cerrcodeclst

error in (no error)

error in can accept error information wired from VIs previously called.

cu32

Failsafe Time

Failsafe timeout in milliseconds

Units: milliseconds (ms)

iu64

Device Out

Same as Device In

ierrcodeclst

error out

error out passes error or warning information out of a VI to be used by other VIs.