LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Snippets not working LV 2009 SP1

I can create and save snippets, but I can't drag them back into a block diagram from Windows Explorer.  The cursor changes to a black circle with diagonal line when it enters the block diagram on the drag in.  A repair install didn't fix it.

 

Snippets are working on the LV 2010 trial. (I'm not trying to drag a 2010 snippet into a 2009 BD). OS is Windows 7 x64.

 

Any ideas or debugging I can do from this end?

 

Thanks,

David

 

 

0 Kudos
Message 1 of 8
(3,296 Views)

What folder are you leaving the snippet in? Is this also the same between versions?

Verne D. // Software R&D // National Instruments
0 Kudos
Message 2 of 8
(3,256 Views)

I've tried the desktop, the current project folder, my pictures, my documents/snippets...

 

They all work under 2010, none work with 2009.  (I'm only trying to bring snippets into 2009 that were created in 2009).

 

David

0 Kudos
Message 3 of 8
(3,245 Views)

Are you taking snippets for very large code? Does varying the content of the snippet change whether it works or not?

Verne D. // Software R&D // National Instruments
0 Kudos
Message 4 of 8
(3,208 Views)

Verne,

 

No, the samples were very small.  I can't even drag an add block back in.  (It's not just a drag that fails - cut and paste fails also).

 

Are there any MIME settings, ini settings, type registrations, registry settings or other things that I can check?  Any internal debug messages I can access?  Can you point me to the library that does the imorting - maybe I can check it for validity. 

 

David

0 Kudos
Message 5 of 8
(3,198 Views)

One of two things is failing here. Either the internal component to 2009 that does snippets is failing or some other source of file manipulation is taking off the metadata from the file. Can you add any image to the block diagram by dragging? It's not a very clever approach, but reinstalling LV 2009 might be something worth considering if you really need snippets to work. There's not a particular settings file that pertains to snippets. I prefer the surgical approach too, but I don't think there's a way to do that here.

Verne D. // Software R&D // National Instruments
0 Kudos
Message 6 of 8
(3,174 Views)

Verne,

 

I un-installed and re-installed and it works now.  Thank you for your efforts!

 

David

0 Kudos
Message 7 of 8
(3,148 Views)

Great!

Verne D. // Software R&D // National Instruments
0 Kudos
Message 8 of 8
(3,142 Views)