Community Translation - Is there a lightweight version of sprint() for the FX3 SDK? - KBA90398

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

cross mob
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,               

I would like to translate KBA90398 into Japanese.

Please confirm to my work.

Thanks,

Kenshow

0 Likes
2 Replies
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi, Kenshow-san

Confirm to work this KBA.

Thanks

Jenna

Jenna Jo
0 Likes
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi Jenna-san,

                                

Japanese translation was over.
Please check below.

Original KBA:

Is there a lightweight version of sprint() for the FX3 SDK? - KBA90398

Thanks.

Kenshow

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

タイトル: FX3 SDKのsprint()の軽量バージョンはありますか? - KBA90398

バージョン:*A

質問:

FX3 SDKで提供される標準Cライブラリのsprint()のバージョンには、32KBSRAMスペースが必要です。メモリ効率の高いこの関数の軽量バージョンはありませんでしょうか?

回答:

はい。FX3 SDKバージョン1.3の場合、関数CyU3PDebugStringPrint()を使用します。この関数には、snprintf()関数と同じ呼び出しシグネチャがあり、メモリフットプリントが小さくなっています。

古いバージョンのSDK(バージョン1.2.3以下)の場合は、添付ファイルに記載されている関数を使用してください。その構造はsprintsnprintfではない)関数に似ており、必要に応じて変更できます。

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

10-August-2020

  Kenshow