@@ -20,5 +20,5 @@
NOTE
-
To remove automated commutation, simply delete the last node by selecting it and pressing Delete.
+
The AutoCommutator
operator is included in the workflow by default because it is so commonly used with {{{hardware}}}. However, it is disabled for people without a commutator to be able to run the workflow. To enable it, select the node and press Ctrl + Shift + D or select "Enable" in the context menu that appears after right-clicking the node.
\ No newline at end of file
diff --git a/template/partials/hardware/memoryMonitor.tmpl.partial b/template/partials/hardware/memoryMonitor.tmpl.partial
index f91b1ee4..566fe9e8 100644
--- a/template/partials/hardware/memoryMonitor.tmpl.partial
+++ b/template/partials/hardware/memoryMonitor.tmpl.partial
@@ -1,5 +1,5 @@
- The following excerpt from the Breakout Board example workflow demonstrates
+ The following excerpt from the Breakout Board example workflow demonstrates
memory monitor functionality.
diff --git a/template/partials/hardware/portStatus.tmpl.partial b/template/partials/hardware/portStatus.tmpl.partial
index 2dfb1f3e..aa037613 100644
--- a/template/partials/hardware/portStatus.tmpl.partial
+++ b/template/partials/hardware/portStatus.tmpl.partial
@@ -2,7 +2,7 @@
The Onix system reports when a headstage port connection enters or leaves an aberrant state. Such aberrant states include loss
of communication lock, detection of parity or CRC error, reception of a badly formatted packet, etc.. Knowing the time
and type of a communication failure is a good first step to track down its cause. The following excerpt from the
- {{{hardware}}}
example
+ {{{hardware}}} example
workflow demonstrates port status functionality and saves timestamped port status data.
diff --git a/workflows/hardware/np1e/configuration.bonsai b/workflows/hardware/np1e/configuration.bonsai
index f466477d..11d9e7bc 100644
--- a/workflows/hardware/np1e/configuration.bonsai
+++ b/workflows/hardware/np1e/configuration.bonsai
@@ -109,7 +109,7 @@
- 4096
+ 8192
2048
diff --git a/workflows/hardware/np1e/np1e.bonsai b/workflows/hardware/np1e/np1e.bonsai
index 69ef5bf9..95e6602b 100644
--- a/workflows/hardware/np1e/np1e.bonsai
+++ b/workflows/hardware/np1e/np1e.bonsai
@@ -110,7 +110,7 @@
- 4096
+ 8192
2048
diff --git a/workflows/hardware/np2e/configuration.bonsai b/workflows/hardware/np2e/configuration.bonsai
index 3d03c92c..6acd4abc 100644
--- a/workflows/hardware/np2e/configuration.bonsai
+++ b/workflows/hardware/np2e/configuration.bonsai
@@ -110,7 +110,7 @@
- 4096
+ 8192
2048
diff --git a/workflows/hardware/np2e/np2e.bonsai b/workflows/hardware/np2e/np2e.bonsai
index efc5751b..5f4c8245 100644
--- a/workflows/hardware/np2e/np2e.bonsai
+++ b/workflows/hardware/np2e/np2e.bonsai
@@ -111,7 +111,7 @@
- 4096
+ 8192
2048
diff --git a/workflows/hardware/ucla-miniscope-v4/bno055.bonsai b/workflows/hardware/ucla-miniscope-v4/bno055.bonsai
new file mode 100644
index 00000000..1568dcb3
--- /dev/null
+++ b/workflows/hardware/ucla-miniscope-v4/bno055.bonsai
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+ UclaMiniscopeV4/PolledBno055
+ All
+
+
+
+ bno055_.csv
+ false
+ false
+ FileCount
+ false
+ Clock,EulerAngle,Quaternion,Acceleration,Gravity,Temperature
+
+
+ Quaternion
+
+
+
+
+ 0
+ 0
+ 1
+
+ true
+ COM4
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/workflows/hardware/ucla-miniscope-v4/camera.bonsai b/workflows/hardware/ucla-miniscope-v4/camera.bonsai
new file mode 100644
index 00000000..d8daf9e9
--- /dev/null
+++ b/workflows/hardware/ucla-miniscope-v4/camera.bonsai
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+ UclaMiniscopeV4/UclaMiniscopeV4
+ U8
+
+
+
+ Image
+
+
+
+ video_.avi
+ FileCount
+ true
+ false
+ GREY
+ 30
+
+ 0
+ 0
+
+ NearestNeighbor
+
+
+
+ Clock
+
+
+
+ video-clock_.raw
+ FileCount
+ false
+ ColumnMajor
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/workflows/hardware/ucla-miniscope-v4/configuration.bonsai b/workflows/hardware/ucla-miniscope-v4/configuration.bonsai
new file mode 100644
index 00000000..5e9df2ac
--- /dev/null
+++ b/workflows/hardware/ucla-miniscope-v4/configuration.bonsai
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+ riffa
+ 0
+
+
+
+
+ BreakoutBoard
+
+ BreakoutBoard/Heartbeat
+ 0
+ true
+ 10
+
+
+ BreakoutBoard/AnalogIO
+ 6
+ false
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+
+
+ BreakoutBoard/DigitalIO
+ 7
+ false
+
+
+ BreakoutBoard/OutputClock
+ 5
+ false
+ 1000000
+ 50
+ 0
+
+
+ BreakoutBoard/HarpSyncInput
+ 12
+ false
+ Breakout
+
+
+ BreakoutBoard/MemoryMonitor
+ 10
+ false
+ 10
+
+
+
+
+
+ UclaMiniscopeV4
+
+ UclaMiniscopeV4/UclaMiniscopeV4
+ 256
+ true
+ Fps30Hz
+ High
+ false
+ 30
+ 50
+
+
+ UclaMiniscopeV4/PolledBno055
+ 257
+ true
+ ZYX
+ MirrorZ MirrorY MirrorX
+
+ PortA
+ 5.2
+
+
+
+
+ 8192
+ 2048
+
+
+
+
+
+
+ start-time_.csv
+ false
+ false
+ FileCount
+ true
+ Timestamp,Value.AcquisitionClockHz,Value.BlockReadSize,Value.BlockWriteSize
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/workflows/hardware/ucla-miniscope-v4/memory-monitor.bonsai b/workflows/hardware/ucla-miniscope-v4/memory-monitor.bonsai
new file mode 100644
index 00000000..89e79b2c
--- /dev/null
+++ b/workflows/hardware/ucla-miniscope-v4/memory-monitor.bonsai
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+ PercentUsed
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/workflows/hardware/ucla-miniscope-v4/port-status.bonsai b/workflows/hardware/ucla-miniscope-v4/port-status.bonsai
new file mode 100644
index 00000000..50afef2d
--- /dev/null
+++ b/workflows/hardware/ucla-miniscope-v4/port-status.bonsai
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+ UclaMiniscopeV4/PortController
+
+
+
+
+
+
+ port-status_.csv
+ false
+ false
+ FileCount
+ false
+ Timestamp,Value.Clock,Value.StatusCode,Value.SerdesLocked,Value.SerdesPass
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/workflows/hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai b/workflows/hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai
new file mode 100644
index 00000000..c022a40f
--- /dev/null
+++ b/workflows/hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+ riffa
+ 0
+
+
+
+
+ BreakoutBoard
+
+ BreakoutBoard/Heartbeat
+ 0
+ true
+ 10
+
+
+ BreakoutBoard/AnalogIO
+ 6
+ false
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ TenVolts
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+ Input
+
+
+ BreakoutBoard/DigitalIO
+ 7
+ false
+
+
+ BreakoutBoard/OutputClock
+ 5
+ false
+ 1000000
+ 50
+ 0
+
+
+ BreakoutBoard/HarpSyncInput
+ 12
+ false
+ Breakout
+
+
+ BreakoutBoard/MemoryMonitor
+ 10
+ false
+ 10
+
+
+
+
+
+ UclaMiniscopeV4
+
+ UclaMiniscopeV4/UclaMiniscopeV4
+ 256
+ true
+ Fps30Hz
+ High
+ false
+ 30
+ 24.4
+
+
+ UclaMiniscopeV4/PolledBno055
+ 257
+ true
+ ZYX
+ MirrorZ MirrorY MirrorX
+
+ PortA
+
+
+
+
+
+ 8192
+ 2048
+
+
+
+
+
+
+ start-time_.csv
+ false
+ false
+ FileCount
+ true
+ Timestamp,Value.AcquisitionClockHz,Value.BlockReadSize,Value.BlockWriteSize
+
+
+
+ UclaMiniscopeV4/PortController
+
+
+
+
+
+
+ port-status_.csv
+ false
+ false
+ FileCount
+ false
+ Timestamp,Value.Clock,Value.StatusCode,Value.SerdesLocked,Value.SerdesPass
+
+
+
+ UclaMiniscopeV4/UclaMiniscopeV4
+ U8
+
+
+
+ Image
+
+
+
+ ucla-miniscope-v4-video_.avi
+ FileCount
+ true
+ false
+ GREY
+ 30
+
+ 0
+ 0
+
+ NearestNeighbor
+
+
+
+ Clock
+
+
+
+ ucla-miniscope-v4-clock_.raw
+ FileCount
+ false
+ ColumnMajor
+
+
+
+
+ UclaMiniscopeV4/PolledBno055
+ All
+
+
+
+ bno055_.csv
+ false
+ false
+ FileCount
+ false
+ Clock,EulerAngle,Quaternion,Acceleration,Gravity,Temperature
+
+
+ Quaternion
+
+
+
+
+ 0
+ -1
+ 0
+
+ true
+ COM4
+
+
+
+
+ BreakoutBoard/MemoryMonitor
+
+
+
+ PercentUsed
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
From 17e885203a7a5323db38336cb5c5998002549814 Mon Sep 17 00:00:00 2001
From: cjsha <36574350+cjsha@users.noreply.github.com>
Date: Mon, 9 Dec 2024 13:58:21 -0500
Subject: [PATCH 2/3] Add memory monitor to np1 example workflow (#157)
---
workflows/hardware/np1e/np1e.bonsai | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/workflows/hardware/np1e/np1e.bonsai b/workflows/hardware/np1e/np1e.bonsai
index 95e6602b..b05f2eba 100644
--- a/workflows/hardware/np1e/np1e.bonsai
+++ b/workflows/hardware/np1e/np1e.bonsai
@@ -204,6 +204,14 @@
true
+
+
+ BreakoutBoard/MemoryMonitor
+
+
+
+ PercentUsed
+
@@ -222,6 +230,7 @@
+
\ No newline at end of file
From 540d1907e80d1ea62814aac2372704ae8e2037b2 Mon Sep 17 00:00:00 2001
From: cjsha <36574350+cjsha@users.noreply.github.com>
Date: Mon, 16 Dec 2024 11:10:27 -0500
Subject: [PATCH 3/3] Fix FourCC in docs (#164)
---
articles/hardware/ucla-miniscope-v4/camera.md | 7 ++++++-
workflows/hardware/ucla-miniscope-v4/camera.bonsai | 2 +-
.../hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai | 2 +-
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/articles/hardware/ucla-miniscope-v4/camera.md b/articles/hardware/ucla-miniscope-v4/camera.md
index bc0e6922..c83b844a 100644
--- a/articles/hardware/ucla-miniscope-v4/camera.md
+++ b/articles/hardware/ucla-miniscope-v4/camera.md
@@ -21,9 +21,14 @@ The
operator generates a sequen
The relevant members are selected from the `UclaMiniscopeV4CameraFrame` by right-clicking the
`UclaMiniscopeV4CameraData` operator and choosing the following Output members: `Camera`, and `Clock`. The
[VideoWriter](xref:Bonsai.Vision.VideoWriter) saves the `Camera` to a files with the following format:
-`ucla-miniscope-v4-video_.avi` with "GREY" FourCC. The [MatrixWriter](xref:Bonsai.Dsp.MatrixWriter) saves the `Clock` to a
+`ucla-miniscope-v4-video_.avi` with "DIB " FourCC. The [MatrixWriter](xref:Bonsai.Dsp.MatrixWriter) saves the `Clock` to a
files with the following format: `ucla-miniscope-v4-clock_.raw`.
+> [!NOTE]
+> - If you edit the FourCC property yourself and want to use "DIB ", take care to include a space as the fourth character.
+> - You can also use the "FMP4" FourCC which compresses the video data into smaller file sizes. However, "FMP4" can only
+> be used with 8-bit data.
+
Try adjusting the `FrameRate`, `SensorGain`, `LEDBrightness`, and `LiquidLensVoltage` properties while the workflow is
running and observing the camera data. Follow our guide if you are not sure how to observe the
camera data.
\ No newline at end of file
diff --git a/workflows/hardware/ucla-miniscope-v4/camera.bonsai b/workflows/hardware/ucla-miniscope-v4/camera.bonsai
index d8daf9e9..f3a016dc 100644
--- a/workflows/hardware/ucla-miniscope-v4/camera.bonsai
+++ b/workflows/hardware/ucla-miniscope-v4/camera.bonsai
@@ -22,7 +22,7 @@
FileCount
true
false
- GREY
+ DIB
30
0
diff --git a/workflows/hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai b/workflows/hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai
index c022a40f..2b605f53 100644
--- a/workflows/hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai
+++ b/workflows/hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai
@@ -152,7 +152,7 @@
FileCount
true
false
- GREY
+ DIB
30
0