02-04-2019 01:44 AM
Hello All,
I'm trying to build a custom device in NI Veristand 2018. During initialization of the custom device, I'm trying to add a new section and channel names during initialization. However, when trying to run the VI, I'm getting the error Error -1172, .NET exception. Please find attached the snippets of error and the VI. Can anyone please help me understand what's the significance of the Parent Reference In and how it is causing this error.
02-22-2019 09:39 AM
Where is this VI (CustomDevice.vi) being called?
Your error is occurring in the Set Loop Type VI which is expecting a Device Ref in which you would typically provide in the custom device Initialization VI. I'm not sure if you are providing a different reference than the Device Ref such as a Page reference or if the Device Ref truly doesn't exist as the error implies.