LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Redefinition of macro 'TRIG'.

Solved!
Go to solution

Whoops! I found my mistake. I had two .h files in my project folder but with different names and not in my workspace. Somehow LabWindows got confused with them and showed the compile error "redefinition of macro xxx'. So I fixed my problem by removing one of the .h files. Strange that LabWindows got confused, and it's not very convincing that the two different .h files caused the problem, but it certainly fixed the problem by removing one of the files. They were named SSLW01.h and SSLW02.h and only the SSLW01.h file was in the project but both were in the folder. The SSLW02.h file was in the folder but not in the workspace. So it seems very weird to me that the two files would cause a problem for LabWindows, but as I say, moving one of the .h files to a different folder fixed the problem. Anyhow, onward and upward ...

 

John

0 Kudos
Message 11 of 11
(693 Views)