LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET nodes not refreshing

My code uses funcitons from .NET 4 DLL.  The DLL are located in a folder and included in the LabVIEW project.  They get updated once in a while by being replaced with new DLL via copy/paste.  For the latest update, some property nodes generated errors all of the sudden.  To fix this, all I need to do is to delete that property node and replace it with an identical node.  Is that the only way to fix the problem?

 

 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 3
(2,509 Views)

Would you mind providing a few more details regarding your .NET issues?

1. What version of LabVIEW are you using?

2. What are you changing in your .NET assemblies (name of the files, names of methods) 

3. Is LabVIEW still open when you copy/paste the new DLLs into the target directory?

4. Have you attempted to restart LabVIEW after the copy/paste to see if that resolves the issue?

Thanks!


Rick C.
Message 2 of 3
(2,466 Views)

I have found that this happens on occasion if the data type of the property node has changed (especially Write property nodes). Clicking on the node and re-selecting the property seems to fix the issue in these circumstances. Have you seperated compiled code from source for the VIs that make the calls? I generally run under this setting and I often have to clear the compiled objct cache after importing an assembly again.

 

The best advice I have in this scenario is to encapsulate all the .Net calls in wrapper VIs limiting the scope of the changes.

Message 3 of 3
(2,460 Views)