LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi failed to compile

Solved!
Go to solution

i'm using labview 2014 32bit, when i compile this file it gives the error vi failed to compile , when i search for the error in the heap peek it gives a red line in something called seLlist the file is a driver for an oscilloscope that i want to connect to labview .

0 Kudos
Message 1 of 10
(5,235 Views)

Yeah that's a bad VI alright.  Looks like they were last saved in 6.x, and a lot can change in software in 12 years.  I made a new VI and copied elements over until it wasn't broken anymore.

0 Kudos
Message 2 of 10
(5,188 Views)

The error is caused by having the call to the DLL inside your code.  Interesting to me, deleting this call does not get rid of the error.  However, if I build a new VI without an error, then stick in a call to any of the DLL functions, the arrow breaks.  Of course, I don't know how the functions are designed to be called ...

 

Bob Schor

0 Kudos
Message 3 of 10
(5,176 Views)

Wow, Hooovahh, how did you get things working?  Was it as simple as recompiling the VIs?

 

BS

0 Kudos
Message 4 of 10
(5,173 Views)
Solution
Accepted by topic author anouar49

@Bob_Schor wrote:

Wow, Hooovahh, how did you get things working?  Was it as simple as recompiling the VIs?


Well I started with a select all copy, then paste into a new VI, and even that showed signs of recompile issues.  So I made a new blank VI only copying over the DLL call, and adding things slowly removing them if the compile error showed up again.  At one point the initialize array primative caused issues.  But after a little back and forth it was happy.  Not sure what the real problem is.  I never had much sucess with heap peak issues.

Message 5 of 10
(5,163 Views)

that was perfect ,thank you.  is the file OX6000_exemple also fixed ?

0 Kudos
Message 6 of 10
(5,129 Views)

@anouar49 wrote:

that was perfect ,thank you.  is the file OX6000_exemple also fixed ?


Did you open it? Was it broken?

0 Kudos
Message 7 of 10
(5,116 Views)

No it was not , but in the "sortie d'erreur" it gives me an error in mxOX6000 initialize.vi probably it's from that  the device is not connected  yet 

0 Kudos
Message 8 of 10
(5,110 Views)

Sounds like you need to connect your device.  If there is any other VIs that have compile problems we'll be glad to help.  For a new issue unrelated to a compile issue, it might be best to make a new thread.  Especially since the original question has been answered and other members might not be monitoring this thread.

0 Kudos
Message 9 of 10
(5,094 Views)

ok  thank you, that was very  helpful

0 Kudos
Message 10 of 10
(5,088 Views)