LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1172 occured at invoke node

Hello

 

I am new to Labview and object oriented programming. I have an already written c# code which communicates with a digital I/O card attached to a test system. I want to run those c# functions in labview. I am using .NET constructor pallett and then invoke node but I am receiving following Error:

Error 1172 occurred at Invoke Node Error calling method DmmCSharp.Handler.Reset, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.Runtime.InteropServices.COMException: KtMDsr: A connection to the instrument has not been established.)

 

Image file of error and vi file is attached below.

 

Download All
0 Kudos
Message 1 of 2
(4,358 Views)

The clue is in the 'A connection to the device has not been established'. You are trying to reset the device - presumably without having first configured the appropriate parameters or opened connection to it so the library is probably throwing that error.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 2
(4,336 Views)