LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI handling of extern data declarations

How does the CVI C compiler provided with Measurement Studio 1.0 deal with external names? NI used to distribute the book "C A Reference Manual" (Tartan book) with CVI and it mentions 4 different models. Without performing an exhaustive experiment, does anyone know which of the four models the CVI compiler comes closest to implementing? The discussion is on page 101 of the Tartan book. While the CVI Programmer Reference Manual discusses many of the CVI C compiler's particulars, it fails to discuss this issue. Thanks in advance.

rghayes@raytheon.com
rghayes@computer.org
0 Kudos
Message 1 of 4
(3,180 Views)
We allow you to pick the method by selecting the compatibility mode. If you pick Visual C++ compatibility, we deal with external names the way VC++ does it. If you pick another compiler, like Borland C++, we use their method.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,180 Views)
This doesn't answer the question. I'm not using an external compiler, and don't have the documentation for one. Sounds like you're telling me NI dooesn't document this, and I've got to go find some other vendor's documentation to figure out how the NI compiler works 'cause you can't tell me.
0 Kudos
Message 3 of 4
(3,180 Views)
I answered your questions this way because almost all of the time we get questions about things like this, it is in respect to using code and modules in other environments. CVI fits closest in the Mixed Common model. Compatibility modes do have a slight effect on this behavior, but the mixed common model is the closest fit.
0 Kudos
Message 4 of 4
(3,180 Views)