That may have been generating that error and yes it does work as long as the value is set to 0. However, if I try to set it to a value of 2 or 3 in your example I get the following error:
Possible reason(s):
NI-CAN: (Hex 0xBFF6211E) You set a transceiver mode that is not supported by your CAN hardware. For example, Single-Wire modes are not supported for High-Speed or Low-Speed / Fault-Tolerant transceivers. Solutions: Consult the manual to determine the valid transceiver modes for your hardware.
I notice in MAX that my hardware is listed as Low-Speed/Fault Tolerant so that is why it is generating that error. However, all documentation for the USB-8472 states that sleep mode/wakeup mode is supported for this device so why does it not allow it. Can the type be changed from Low-Speed / Fault tolerant to Single-Wire or is this a hardware component (i.e. transciever) inside the hardware.
Also if this is not supported for this device then why does it state so in documentation (copied below)? If not supported for this device, the documentation is very misleading!
CAN Interfaces
USB-847x CAN interfaces feature the industry-standard Philips SJA1000
CAN controller, which implements ISO 11898 CAN functionality. The
SJA1000 offers additional features to aid in system development,
including listen-only mode, sleep/wakeup mode, error counter access,
and self-reception (echo) mode. USB-847x CAN interfaces recognize
standard (11-bit) and extended (29-bit) arbitration IDs and are compatible
with J1939 networks.