LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compiler error cpd tc=0X30

My sub VI showed one compiler error

I attached the picture and my vi

Thank you so much for your help

 

Download All
0 Kudos
Message 1 of 7
(2,772 Views)

Hi dragon-long, 

 

Try copy-pasting the code into another VI and saving it and then use that as the subVI. Sometimes that fixes issues like this.

 

Kaitlin N.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 7
(2,756 Views)

I tried . But still does not work

0 Kudos
Message 3 of 7
(2,740 Views)

@dragon-long wrote:

I tried . But still does not work


I tried to open the VI and no compiler errors on my computer, though, there was missing VI's

 

The problem seem to be located in Header-PR2000-MFC (SubVI).vi, try to comment out code inside that VI and use "divide and conquer" approach for deducing whre the culprit is located.

 

Br,

 

/Roger

 

 

 

0 Kudos
Message 4 of 7
(2,724 Views)

Thanks

I will change a PC to look at it

 

0 Kudos
Message 5 of 7
(2,711 Views)

Hi dragon-long, 

 

Can you also post your code in a zip file with the missing control and subVI included. That will help us be able to properly run your code. 

 

Thanks,

Kaitlin N.
National Instruments
Applications Engineer
0 Kudos
Message 6 of 7
(2,700 Views)

I had the same problem and easily found a piece of code we had in common.

 

capture.jpg

 

Removing the unnecessary compound arithmetic solves the problem.

 

Kudos welcome. 😉

0 Kudos
Message 7 of 7
(2,625 Views)