how to write hex data to file instead of writing in decimal, data is coming from control center

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

cross mob
veRN_2322216
Level 3
Level 3
5 likes given First like received First like given

hello

       we are using Cypress FX3 ,Control center , and streamer which has save to disk option in that.we are getting data successfully from FX3 data is correct but if we send hex data from FX3 its equivalent decimal value is writing in the file  screen shot of input from FX3 viewed in Control center and atlast file  is attached below can any one helpme to sort out of this problem .actually i want to write streamer file also like 00ff like that instead of 015015015 .

please help me to sort out of this problemUntitled.pngStreamer_data.png

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Veerendra,

Please refer to the StartBtn_Click() method in the source code of the Streamer version which has the 'save to disk' check-box.

Refer to if(save ==true) part. Here the write to a file is done. You can change the format of the data collected before doing the write.

Regards,

Hemanth

Hemanth

View solution in original post

0 Likes
1 Reply
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Veerendra,

Please refer to the StartBtn_Click() method in the source code of the Streamer version which has the 'save to disk' check-box.

Refer to if(save ==true) part. Here the write to a file is done. You can change the format of the data collected before doing the write.

Regards,

Hemanth

Hemanth
0 Likes