Hi bavzbavs,
why do you hijack such an old thread for your unrelated question? Why didn't you create your own thread?
(Edit: I moved your post to it's own thread. And I changed the topic on my reply…)
And what exactly is your problem?
Just create the "table" (I would use an array…) with those sbox values - there's some information about that topic on Wikipedia…
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019