Skip to content

Commit 23a3292

Browse files
committed
Added substream registers and error codes
1 parent 38b020c commit 23a3292

File tree

1 file changed

+53
-3
lines changed

1 file changed

+53
-3
lines changed

LabJack/LJM/ljm_constants.json

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"header": {
33
"filename": "ljm_constants.json",
4-
"version": "2025.05.06.A",
4+
"version": "2025.06.13.A",
55
"checksum": "-1",
66
"support_url": "https://labjack.com/pages/support",
77
"tags_base_url": "https://labjack.com"
@@ -1073,6 +1073,50 @@
10731073
"tags": ["STREAM"],
10741074
"description": "Address to read stream data from when operating in C-R mode."
10751075
},
1076+
{
1077+
"address": 4750,
1078+
"name": "STREAM_SUB_AIN#(0:7)",
1079+
"type": "UINT16",
1080+
"devices": [
1081+
"T8"
1082+
],
1083+
"readwrite": "RW",
1084+
"tags": ["STREAM"],
1085+
"description": "Enable Sub Stream Mode for AIN#."
1086+
},
1087+
{
1088+
"address": 4760,
1089+
"name": "STREAM_SUB_AIN_MASK",
1090+
"type": "UINT16",
1091+
"devices": [
1092+
"T8"
1093+
],
1094+
"readwrite": "RW",
1095+
"tags": ["STREAM"],
1096+
"description": "Enable Sub Stream Mode for AIN0-7 with a bitmask."
1097+
},
1098+
{
1099+
"address": 4761,
1100+
"name": "STREAM_SUB_AIN_RATE",
1101+
"type": "UINT16",
1102+
"devices": [
1103+
"T8"
1104+
],
1105+
"readwrite": "R",
1106+
"tags": ["STREAM"],
1107+
"description": "Using the current Stream settings, determine the sub stream rate."
1108+
},
1109+
{
1110+
"address": 4762,
1111+
"name": "STREAM_SUB_AIN_RESOLUTION_INDEX",
1112+
"type": "UINT16",
1113+
"devices": [
1114+
"T8"
1115+
],
1116+
"readwrite": "R",
1117+
"tags": ["STREAM"],
1118+
"description": "Using the current Stream settings, determine the sub stream resolution index."
1119+
},
10761120
{
10771121
"address": 4899,
10781122
"name": "STREAM_DATA_CAPTURE_16",
@@ -8426,8 +8470,13 @@
84268470
},
84278471
{
84288472
"error": 2631,
8429-
"string": "STREAM_RATE_INVALID_FOR_CJC",
8430-
"description": "Stream can only be run at a max of 250Hz when streaming TEMPERATURE(0:7) registers"
8473+
"string": "STREAM_RATE_INVALID_FOR_TEMPERATURE_SENSOR",
8474+
"description": "Temperature sensor do not work properly when sampled above 250Hz, see Sub Stream feature"
8475+
},
8476+
{
8477+
"error": 2632,
8478+
"string": "STREAM_SUB_SOLUTION_NOT_FOUND",
8479+
"description": "Sub stream mode was not able to find a valid solution."
84318480
},
84328481
{
84338482
"error": 2670,
@@ -9186,6 +9235,7 @@
91869235
"2025.05.06.A Added error code for SYSTEM_VS_TOO_LOW",
91879236
"2025.06.06.A Added registers for negative range.",
91889237
"2025.06.06.A Fixed address of AIN_ALL_NEGATIVE_RANGE.",
9238+
"2025.06.13.A Added Sub Stream registers and errors.",
91899239
"See https://github.com/labjack/ljm_constants for further comments.",
91909240
"End Of Comments"
91919241
]

0 commit comments

Comments
 (0)