Skip to content

Abort function call

viltbalint edited this page Jan 9, 2018 · 1 revision

Issue III: Can’t abort .NET calls externally

Motivation:

  • LV code may be blocking (waits forever), e.g.: streams are blocking until success connection
  • User has to abort the running application from IDE

Problem:

  • .NET DLL calls can’t be aborted neither via stop button nor programmatically

Workaround (limited)

  • Timeout implementation in LabVIEW and pass it as input parameter (before .NET DLL compilation)