Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

limited definition knowledge

$
0
0

Hi,

 

I just came across the following issue with the IDE: CVI provides a nice feature 'Go To Definition', surprisingly it seems not to always work...

 

The test case: In the call to viFindRsrc ( ) I have tried the following regular expression:

 

"ASRL?*INSTR{VI_ATTR_ASRL_WIRE_MODE==VI_ASRL_WIRE_232_DTE || VI_ATTR_ASRL_WIRE_MODE==VI_ASRL_WIRE_232_DCE || VI_ATTR_ASRL_WIRE_MODE==VI_ASRL_WIRE_232_AUTO}"

 

It did not work as expected so I started debugging; right clicking on VI_ATTR_ASRL_WIRE_MODE with Go To Definiton correctly jumped into the correct line of the visa.h file.

 

As expected. However, doing the same for, e.g., VI_ASRL_WIRE_232_DTE gives no result, although this definition can be found few lines below the definition of VI_ATTR_ASRL_WIRE_MODE.

 

So I thought it might be a typo and cut/pasted the constant name from the include file, same result.

 

Somehow Go To Definition does not seem to work in these cases.

 

Am I doing something wrong?


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>