From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

about "#pragma comment"

Dose the CVI support "#pragma comment" now? when i use this command, the program dose not report any message, but not include the lib too. 

0 Kudos
Message 1 of 6
(3,547 Views)
0 Kudos
Message 2 of 6
(3,499 Views)

Hello jennygo,

your links seems not to work...

0 Kudos
Message 3 of 6
(3,494 Views)

Hello,

Pragma is a standardized form of comment which has meaning to a compiler. It may use a special syntax or a specific form within the normal comment syntax. A pragma usually conveys nonessential information, often intended to help the compiler to optimize the program.

See page 1-4 of the LabWindows/CVI Programmer Reference Manual for more information on using pragma comments in LabWindows/CVI.

 

Here is the Link of the reference manual :http://digital.ni.com/manuals.nsf/websearch/C01A6FD02234E93486256ABD0075CDC4?OpenDocument

0 Kudos
Message 4 of 6
(3,481 Views)

hi,

    i read the pdf and don't find any about "pragma comment".  do you sure this command work in CVI? i think this command does not work in CVI.

0 Kudos
Message 5 of 6
(3,466 Views)