Bridge Control panel Chart to table

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
almc_4008691
Level 3
Level 3
First like received

Hello,

I have a problem when I want to save data from bridge control panel because I dont have all the data as shown in the chart part.

It never begin at 0 count when I exctract the data and I can see it in the table too.

But my chart begin at 0 count so it's a bit strange.

Can you help me?

Thank you in advance,

Alex

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

If you want to "read" the values, how about doing something like below?

=============================

#include <stdio.h>

void SendTxData(void)

{

  char str[32] ;

  TX_PutCRLF() ;

  sprintf(str, "%04X %04X %04\r\n",

    CapSense_rawFilterDatal[PROXIMITY_SENSOR_INDEX],    /* I could not figure out if it was Data1 or Datal */

    CapSense_sensorBaseline[PROXIMITY_SENSOR_INDEX],

    CapSense_sensorSignal[PROXIMITY_SENSOR_IDEX]) ;

  TX_PutString(str) ;

=============================

moto

View solution in original post

0 Likes
6 Replies
almc_4008691
Level 3
Level 3
First like received

I guess I understood why!

I only have maximum 10000 lines in the excel so I guess it's a maximum?

Any other possibilities to save all the data?

Thank you

Alex

0 Likes

So the bridge control panel is meant for testing in real time or playing around.  It is not meant as a serious data logger.

My suggestion would be, if you want to keep that much data for further analysis, use a UART and a tool like putty to log your output to a file.

0 Likes
almc_4008691
Level 3
Level 3
First like received

Thank you ScottA_91!

I have tried on putty but it's unreadable and I dont find the solution.
I get that:

pastedImage_0.png

I'm sending my data by bluetooth and I'm using the base project:

pastedImage_1.png

I guess it's a problem from the type of data but I dont find how to fix it!

I'm using the same rate 9600 on putty.

Thank you in advance,

Alex

0 Likes

Wait you're taking the raw value and sending it as characters?  Well if you capture that to a text file, and look at it with a hex editor, you'll see your data values.  (Putty is looking at it as if it is ascii, but you've sent raw bytes).

Alternatively, you can use printf and PutString().

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

If you want to "read" the values, how about doing something like below?

=============================

#include <stdio.h>

void SendTxData(void)

{

  char str[32] ;

  TX_PutCRLF() ;

  sprintf(str, "%04X %04X %04\r\n",

    CapSense_rawFilterDatal[PROXIMITY_SENSOR_INDEX],    /* I could not figure out if it was Data1 or Datal */

    CapSense_sensorBaseline[PROXIMITY_SENSOR_INDEX],

    CapSense_sensorSignal[PROXIMITY_SENSOR_IDEX]) ;

  TX_PutString(str) ;

=============================

moto

0 Likes
almc_4008691
Level 3
Level 3
First like received

Thanks all for you reply.

I have finally wrote a small python program to save data in a csv file.

Thank you

Alex

0 Likes