Jump to content

"Code could not be generated" error


Recommended Posts

I have a broken run error on my VI. When I try to run the VI I get the following error in the Error list:

Code could not be generated correctly for this VI.

An error occurred in compiling this VI.

That's it. No error code or anything else to go on. No broken wires or anything obvious in my BD. I don't have a clue where to go with this.

This is a VI that I have been making changes to. I inherited it from someone else who seemed to believe that sequences are to be used everywhere possible. So I'm doing a massive cleanup (I have to so I can try to understand what's going on). The original VI opens fine with no broken arror.

NI is stumped so far. Any ideas?

George

Link to comment

QUOTE(crelf @ Mar 23 2007, 09:47 AM)

Hi George - can you upload it for us to have a look? Sounds corrupt at some level...

Here it is. Hopefully everything is in there. The main VI is JTAG_scan_dma6_old.vi (I've still got a lot of work to do on it).

Here's one more thing. I copied the BD and put it in a new VI. When I first did that the Run arrow was OK. Then I tried to save it and I got a pop up that said this

Compiler error. Report this problem to National Instruments Tech Support.

reference to undefined label from:refPC=0xE0F

I reported that to NI and they still had no clue what was wrong.

Thanks for checking it out.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.