LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to create constants for UIR generated header when no object

I need to have constants in my LabWindows UIR generated header file
that are not tied to visually placed objects. These constants are
shared in a command parsing routine with constants from the visual
objects to I would like them all to be in one place. The header is
overwritten with each change of the UIR, thus I loose the items when I
type them in manually.

thanks,

Dan Ash

0 Kudos
Message 1 of 3
(2,833 Views)
Is there a reason they need to be in the same header file as the UIR constants?  Could you not just use a second header file?
----
I am the founder of CnCSoftwareSolutions. When not cleaning up baby drool, I write about test data or work on Vision, a tool for understanding your test data. Visit me at www.cncsoftwaresolutions.com
0 Kudos
Message 2 of 3
(2,826 Views)

Dan,

      There is no way to add things to the header file that is created for the UIR. If you look at the file towards the top you will see the line " WARNING: Do not add to, delete from, or otherwise modify the contents of this include file. "  So unfortunately you will not be able to include the declarations in this file, but the above suggestion of creating a 2nd header file seems the best option for what you want to accomplish. Let us know if you need any help creating the 2nd header file..

 

Tyler Heikes

Applications Engineering

National Instruments

0 Kudos
Message 3 of 3
(2,800 Views)