02-10-2012 02:58 AM
Hi,
I have a VI that behaving a bit strange. The VI was running fine however, when I moved a FP control I got a series of labVIEW error dialogues and a message saying there was an error in compiling the VI and the run arrow turned to a broken arrow. I can not get the LabVIEW error dialogues to return so I can not give you the error messages
There are no block diagram errors.
When I click the broken arraow the only error displayed is 'VI Failed to compile', details 'An error occurred in compiling this VI.' there are no further details. This error does not link to the block diagram when i double click it.
Any thoughts? Has anyone come across this before and if so can it be repaired?
Thanks
02-10-2012 03:03 AM
It seems I have not come accross this before. Can you post the error dialog and also the code if possible
02-10-2012 03:07 AM
It isn't an error that is generated when I run my code and there are no errors on the block diagram (I have even deleted all code as a test and the error remains!)
LabVIEW has just given me the error again and it says: -
'Compiler error. Report this problem to National Instruments Tech Support.
Control not in owning dco, ddoGenInfo = 0x12FE6ACO'
02-13-2012 05:44 AM
Hi David,
Have you tried holding control and then pressing the broken run arrow to force LabVIEW to recompile the code?
As P Anand suggested, could you post the code so we can have a look at it please?
Does it work if you build the same code in a new VI?
06-21-2013 01:43 PM
Hi! for me it doesn´t work if I build the code in another VI. I tried to press control and then the broken arrow but it doesn´t work to.
Image Number 1: when I press CTRL+Broken Arrow that window appears
Image Number 2: when I press only the broken arrow
06-21-2013 01:45 PM
Here is the image number 2 😄
I hope you can find an answer to repair this soon.... I have to complete a job...
Thanks
06-24-2013 10:22 AM
Hi Pas_Rev,
Thank you for posting your issue to the forums.
I wanted to find out some further information in regards to your issue:
- What version of LabVIEW are you using? Have you created a Real-Time/FPGA type application?
- Has the VI worked previously at all? You mention you have tried recompiling, have you tried creating a new project file and placing the VI within this?
In case you are using the FPGA module, it may be worth looking at the unsupported features to see if one of these function classes is being used and hence, causing the failed compilation.
- Unsupported LabVIEW Features (FPGA Module)
Could you also attach your application for the community so that we can see if we see the same problem.
I hope this helps.
Kind Regards,
06-24-2013 11:05 AM - edited 06-24-2013 11:08 AM
Time to bring in a Heap Peek.
1) Close LabVIEW
2) Put the key "LVdebugkeys=True"in the LabVIEW.ini file
3) Open your VI
4) Press CTRL+SHFT+d, then press CTRL+SHFT+h This will turn on an object browser.
5) In the top left list box, select the element that contains the name of your VI and the letters FPHP or BDHP (Front Panel and Block Diagram heaps)
6) In the top right listbox, find the line that is red
7) Click on the F button
😎 Delete this object and recreate it. It will ususally be a wire. (Although in your case it seems likely to be a control or indicator)
06-24-2013 05:39 PM
Hi Clad19
Thanks for your help, my VI is already working... It was a problem with a wire I think, because a errase it and put it again 3 times and suddendly it begins to work.
Thank you very much for your help
Greetings from Mexico.
Pas_Rev
06-24-2013 05:40 PM
Hi Clad19
Thanks for your help, my VI is already working... It was a problem with a wire I think, because a errase it and put it again 3 times and suddendly it begins to work.
Thank you very much for your help
Greetings from Mexico.
Pas_Rev