Skip to content

Commit

Permalink
fix(console): use float32 for labjack analog output command channels
Browse files Browse the repository at this point in the history
  • Loading branch information
pjdotson committed Nov 6, 2024
1 parent a25f77f commit 7b8c02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/src/hardware/labjack/task/Write.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const Wrapped = ({
commandsToCreate.map((c, i) => ({
name: `${dev.properties.identifier}_${c.type}_${c.port}_cmd`,
index: commandIndexes[i].key,
dataType: "uint8",
dataType: c.type === "AO" ? "float32" : "uint8",
})),
);
commands.forEach((s, i) => {
Expand Down

0 comments on commit 7b8c02c

Please sign in to comment.