LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-Platform Issue: Nesting VIMs

I ran into an interesting problem while making some code multi-platform.

I ended up with a .vim inside a .vim (I shouldn't have done that).

It worked fine on a PC, but broke on a Mac with the error message: "Recursive VI call could not determine inplaceness".

0 Kudos
Message 1 of 4
(318 Views)

Nested .vims should be a problem.

 

They obviously are, although often it's just fine.

 

A lot of the assert functions are .vim, and they are unusable if they couldn't be nested.

 

I think there was work done on .vim's stability in probably every version since they where introduced. What version are you in?

0 Kudos
Message 2 of 4
(267 Views)

It was actually my fault, not LabVIEW's (slightly different code for PC vs Mac; and the Mac code was broken).

When I fixed it, the nesting worked fine.

Message 3 of 4
(252 Views)

wiebe@CARYA wrote:

Nested .vims should be a problem.


I did mean shouldn't be a problem...

 

Glad that it works. There are issues with nested .vims, but not for trivial usage.

0 Kudos
Message 4 of 4
(229 Views)