Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Code: 61052

At compile server startup I get the following message:
 
Error Code: 61052: Constant, statically-unbound references are not allowed.
I am currently using LabVIEW 7.1, FPGA Module 1.1, and RT Module 7.1.
 
The device is cRIO-9002 with a cRIO-9101 backplane.
 
Has anyone else seen this message?  I am using occurrences, but I've successfully used these before so I don't see where that's a problem.  I don't have anything else in the code that uses "references."  Unfortunately I can't post the code here due to proprietary issues, and since I don't know where the problem is I can't write a sample with the same problem.
 
I did copy this code from another vi and embedded project, but I think that I corrected all of the problems associated with the copy.
 
Any suggestions that you can make would be appreciated.
0 Kudos
Message 1 of 9
(5,569 Views)

The occurence wire needs to be static.  Follow the wire from the end.  Make sure it is always static (i.e. not common from a tunnel of a case structure....).  The error is coming up because the set or wait function cannot determine what occurence reference it is wired to.

Regards,

Joseph D.

National Instruments

0 Kudos
Message 2 of 9
(5,568 Views)

Thanks for your quick response.

The occurrence is static.  It is generated outside the loops and fed into the loops through a tunnel.  Do you have any other suggestions?

Message Edited by John Rich on 08-30-2006 04:12 PM

0 Kudos
Message 3 of 9
(5,565 Views)

Are they fed into subVIs?  For some reason the wait and/or set can't guarantee the occurence reference is static.  When you follow the wire back from a wait or set to the generate function what exactly does it go through?

 

Regards,

Joseph D.

National Instruments

 

0 Kudos
Message 4 of 9
(5,562 Views)

They are not fed into subvis.  Furthermore, I have removed the occurences and still have this problem.  Is there something else which could be causing this problem?  Are there things that I might not be recognizing as references which this could be related to?  I'm going to try breaking down each portion of code to see if I can determine where the error is originating.

Thanks,

John

0 Kudos
Message 5 of 9
(5,545 Views)
Here is an example vi that gives me this problem.  The aliases used are all defined in the embedded project.  Do you have any suggestions?
0 Kudos
Message 6 of 9
(5,536 Views)

I don't see what could be wrong with this VI.  Can you include the embedded project file (.lep)?  I made my own and added I/O and the VI you sent compiled fine.

Regards,

Joseph D.

National Instruments

0 Kudos
Message 7 of 9
(5,528 Views)

Here is the embedded project file.

Thanks for your help.

John

0 Kudos
Message 8 of 9
(5,523 Views)

I have solved my problem and wanted to post the solution for those who may reference this in the future.

The problem was apparently with the embedded project.  It appears that the aliases were somehow corrupted.  I suspect that this is due to the copying of the project to make a new project.  I made a new project and defined all of the aliases and the program compiled properly.

0 Kudos
Message 9 of 9
(5,492 Views)