Error -1074098159 When Changing the Upconverter Frequency Mode From User Defined to Enable

Updated Oct 8, 2024

Reported In

Driver

  • NI-RFSG

Programming Language

  • C# .NET

Issue Details

I'm writing a .NET code, and I'm interested in switching the Upconverter Frequency Offset Mode property from User Defined to Enable. However, when I do that, I receive error -1074098159:

Error message.png

Solution

The error is caused by a conflict between the previously defined Upconverter Frequency Offset (Hz) and the Upconverter Frequency Offset Mode Enable. Since the Enable mode tries to automatically sets the Upconverter Frequency Offset value, it encounters a conflict if a value has already been set by the user. 

To solve this you can use the RfsgDriverUtility.ResetAttribute Method. By calling the Reset Attribute Method to reset the value of the Upconverter Frequency Offset (Hz) to default, it allows the Upconverter Frequency Offset Mode Enable to set the new value and it no longer has any conflict. 

Please review the Reset Attribute API Reference link above for proper syntax instructions.