Skip to content

Instantly share code, notes, and snippets.

@TetsuOtter
Created December 13, 2020 16:08
Show Gist options
  • Save TetsuOtter/bc500a99f0723bbc8f66d6d07f3faa71 to your computer and use it in GitHub Desktop.
Save TetsuOtter/bc500a99f0723bbc8f66d6d07f3faa71 to your computer and use it in GitHub Desktop.
The way to get the value of "ats0" and "ats55", for example.
using TR.BIDSSmemLib;//Please add reference to "TR.BIDSSMemLib.rw" version 1.0.4
private void SampleFunction()
{
SMemLib sml = new SMemLib();//Create Instance
int[] panels = sml.PanelA;//Get Reference(pointer) to Panel Data(Array) Area
int AAAAA = panels[55];//Get the value of "ats55"
int BBB = panels[0];//Get the value of "ats0"
//int CCCC = panel[-1];//It will error
//int DDDD = panel[256];//It will not work with BVE5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment