Skip to content

Commit

Permalink
#35 - README update
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbaker committed Oct 13, 2023
1 parent 08c1bbc commit ba5d548
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ acquisition_settings = AcquisitionSettings(
enabled_channels=[0, 1, 2, 3],
vertical_ranges_in_mv=[200, 200, 200, 200],
vertical_offsets_in_percent=[0, 0, 0, 0],
timestamping_enabled=True
timestamping_enabled=True,
batch_size=1
)

card.configure_trigger(trigger_settings)
Expand Down
2 changes: 1 addition & 1 deletion src/example_scripts/continuous_multi_fifo_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def continuous_multi_fifo_example(
time_to_keep_acquiring_for_in_seconds=2, # continuous acquisition will stop after this many seconds (after
# waiting for the final batch to be acquired and transferred). Make sure you expect to receive (and finish
# transferring) at least 1 batch in this time! otherwise you will likely receive a timeout error
batch_size=5, # number of measurements to acquire onto the acquisition card before transferring to the PC
batch_size=5, # number of measurements to acquire before they are returned by get_waveforms()
trigger_source=TriggerSource.SPC_TMASK_EXT0,
device_number=1,
ip_address="169.254.13.35",
Expand Down
2 changes: 1 addition & 1 deletion src/example_scripts/finite_multi_fifo_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def finite_multi_fifo_example(
measurements = finite_multi_fifo_example(
mock_mode=False,
num_measurements=10, # number of waveforms to acquire from each enabled channel
batch_size=5, # number of measurements to acquire onto the acquisition card before transferring to the PC
batch_size=5, # number of measurements to acquire before they are returned by get_waveforms()
trigger_source=TriggerSource.SPC_TMASK_EXT0,
device_number=1,
ip_address="169.254.13.35",
Expand Down

0 comments on commit ba5d548

Please sign in to comment.