ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build .net assembly Error 1172

Hello,

 

I have a problem trying to build a project comprising of one labview class. I'd like to build it into a .net assembly to use elsewhere. Everytime I try this I get an error in the build process, error 1172. 

 

Can anyone help?

labjunky.

0 Kudos
Message 1 of 4
(3,178 Views)

I have investigated further. I made a new project, with one new class inside. The class has two methods.

One method (called numberToNumber) has a input type double, and a double output. When I build the .net assembly, with just this method in the source) everything goes well. 

Then I add a second method (called lvobject), this one has an input which is a generic Labview object (I leave it unwired, i.e. the method does nothing). Then I try to build the project again, including this new method in the build source.

 

Now I get the error 1172.

Any one know why, and how to work around this?

labjunky.

 

 

0 Kudos
Message 2 of 4
(3,164 Views)
The error occurs with any method that has an input or output that is any type of labview class. The workaround is to replace the input/output objects with variants and then cast them as the required object.
But does anyone know why this error occurs?
labjunky 
0 Kudos
Message 3 of 4
(3,157 Views)

Same project saved in LV2010.

0 Kudos
Message 4 of 4
(3,141 Views)