このファイルは, BIDSの文字列コマンド形式の説明です. v202に対応しています
コマンドの形式は, 次のとおりです. なお, 二行目に記載の文字列はコマンド例です.
[Header][Identifier][DataType(Optional)][RequestNumber][Suffix]
TRIP52\n
MIT License | |
Copyright (c) 2023 Tetsu Otter | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
[ | |
{ | |
"Name": "WorkGroup01", | |
"DBVersion": 1, | |
"Works": [ | |
{ | |
"Name": "WG01-Work01", | |
"AffectDate": "20230318", |
#!/bin/bash | |
# Architecture | |
ARCHITECTURE=`uname -a` | |
# CORE: can contain several CPUs | |
# CPU physical | |
PHY_CPU_COUNT=`lscpu -b -p=core | grep -E '[0-9]+' | wc -l` | |
# vCPU | |
V_CPU_COUNT=`lscpu -b -p=cpu | grep -E '[0-9]+' | wc -l` |
... | 0h | 1h | 2h | 3h | 4h | 5h | 6h | 7h | 8h | 9h | Ah | Bh | Ch | Dh | Eh | Fh |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
00h | 4D | 5A | 90 | 00 | 03 | 00 | 00 | 00 | 04 | 00 | 00 | 00 | FF | FF | 00 | 00 |
10h | B8 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 40 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |
20h | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |
30h | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 80 | 00 | 00 | 00 |
40h | 0E | 1F | BA | 0E | 00 | B4 | 09 | CD | 21 | B8 | 01 | 4C | CD | 21 | 54 | 68 |
50h | 69 | 73 | 20 | 70 | 72 | 6F | 67 | 72 | 61 | 6D | 20 | 63 | 61 | 6E | 6E | 6F |
60h | 74 | 20 | 62 | 65 | 20 | 72 | 75 | 6E | 20 | 69 | 6E | 20 | 44 | 4F | 53 | 20 |
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 |
//Under the CC0 License | |
//I haven't done any checks in BVE5 or BVE6. If you have any questions or problems, please contact me : @Tetsu_Otter@twitter.com | |
//特に動作確認等行っていません. 何か質問や不具合等あれば, @Tetsu_Otter@twitter.comまで. | |
using System; | |
using System.Reflection; | |
using System.Windows.Forms; | |
using Mackoy.Bvets; |
#define VR1_PIN A2 //可変抵抗1を接続しているアナログピンのピン記号 | |
#define VR2_PIN A5 //可変抵抗2を接続しているアナログピンのピン記号 | |
#define LOOP_TIME 100 //平均導出のためのサンプリング数 | |
#define VAR_TYPE unsigned long long int //平均導出用に記録を保持する変数の型. ここまでしないとオーバーフローを防げなかった. | |
void setup(){ | |
Serial.begin(9600); //シリアル通信開始 | |
} |