cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

Contributor II

Hi,

Currently I'm on a small CapSense project on a CY8CKIT-059 (PSoC 5LP). I want to transmit the raw data and baseline data values to PC. For the raw data value, there's an API function 'CapSense_CSD_ReadSensorRaw()', which get's the sensor number as parameter and returns the raw data.

   

In the project auto generated CapSense_CSD.h file, there's a definition 'CapSense_CSD_SENSOR_BUTTON0__BTN', which I think is the corresponding parameter value to read out the raw data. This definition doesn't show up in the AutoComplete list. If I input this manually (copy & paste) as parameter to ReadSensorRaw() function, it's accepted. So I think the AutoComplete list doesn't get all definition, etc. Not a big issue, but...

   

Anyone can verify this behavior? I don't know if other components are affected also.


Regards,

Ralf

0 Likes
Reply
1 Solution
Contributor II

Hi Anks,

the semantic parsing option was already enabled. I changed the macro filtering from 'show all except system defines' to 'show all'. Maybe then the defined symbol will show up. However, this would only be a workaround IMHO - the sensor definition I mentioned above should be accessible for the user. Otherwise the CapSense component couldn't be used in the right way. Right?

Regards,

Ralf

View solution in original post

0 Likes
Reply
3 Replies
Employee

Please check your setting by going to Tools>Option>Text Editor>Sematic Parsing, there you have to enable Autocompelete feature in Creator. PSoC Creator4.1 Update1 has been released

0 Likes
Reply
Contributor II

Hi Anks,

the semantic parsing option was already enabled. I changed the macro filtering from 'show all except system defines' to 'show all'. Maybe then the defined symbol will show up. However, this would only be a workaround IMHO - the sensor definition I mentioned above should be accessible for the user. Otherwise the CapSense component couldn't be used in the right way. Right?

Regards,

Ralf

View solution in original post

0 Likes
Reply
New Contributor II

That Macro suggestion in AutoComplete will be helpful in coding.But it will not effect in CapSense component Functioning.BTW this macro comes in suggestion in latest CSD component.Please check by updating the components by Right Clicking the project and choosing "Update Components " option in Creator4.1 Update1