Hi,
I have a few questions that may help find the issue:
1) Are you using instrument drivers, for LabVIEW or .NET?
2) Are you using function calls or wrapper calls?
3) It sounds like the above behavior occurs when you run:
the .NET code (then close it)-> LabVIEW Code (then close it)-> then .NET code.
What happens if you run
the .NET code (then close it)-> then .NET code.
Finally, I would recommend comparing your LabVIEW and .NET code. It is likely that some difference between them is causing this behavior.
Regards
John E.
Applications Engineering
National Instruments