NVWMI COMException error when using Sync.toggleSource

Hello,

I am developing a program to remotely control a computer using NVWMI.
My computer specifications include an A6000 with a Quadro Sync card.
While the other features of the program are working fine,
I am encountering a COMException (0x800706BE) error when using the toggleSource method in the Sync class.

This error occurs even when running the program on the local computer.

Since toggleSource does not have any parameters, it doesn’t seem like there’s an issue with the settings.

The error message is as follows:

target=., className=Sync, methodName=toggleSource

Unhandled Exception: System.Runtime.InteropServices.COMException (0x800706BE)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)

Any help would be greatly appreciated.