06-15-2015 06:01 AM - edited 06-15-2015 06:05 AM
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 .
Solved! Go to Solution.
06-15-2015 12:10 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-15-2015 12:27 PM
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
06-15-2015 12:29 PM
Wow, Hooovahh, how did you get things working? Was it as simple as recompiling the VIs?
BS
06-15-2015 12:35 PM
@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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-16-2015 11:05 AM
that was perfect ,thank you. is the file OX6000_exemple also fixed ?
06-16-2015 11:43 AM
@anouar49 wrote:
that was perfect ,thank you. is the file OX6000_exemple also fixed ?
Did you open it? Was it broken?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-16-2015 11:51 AM
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
06-16-2015 12:08 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-16-2015 12:11 PM
ok thank you, that was very helpful