Created
April 15, 2024 19:10
-
-
Save CodeByAidan/7815fd4414554f3b783a95614059f276 to your computer and use it in GitHub Desktop.
System architecture sample for a system, builds a simple JSON string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set interface INTERFACE_AX | |
set streams 4 | |
set bandwidth BANDWIDTH_ADAPT | |
set vstaCount 1 | |
set vstaConfig {{"interface_": "$interface", "txAtten": 0, "streams": $streams, "bandwidth": "$bandwidth"}} | |
set vstaConfig [subst -nocommands -nobackslashes $vstaConfig] | |
set vsta_array [lrepeat $vstaCount $vstaConfig] | |
set vsta_array [join $vsta_array ", "] | |
puts $vsta_array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment