-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Think of a way to tell the TCP server what 1 clock tick is #8
Comments
Add a dedicated |
But this is constantly changing, how can we use this to format TIME fields? |
Maybe add a special star command |
This is required for the 3.0 release. I will organise a discussion about this. |
2 new:
in
The .state file will need to store time field values in RAW |
Comments from a discussion with @coretl:
Separately we discussed changing the |
After a conversation with @EdWarrick we wondered if changing |
That seems a reasonable idea. I'm tempted to suggest that this name change is only made in the field name, so that the - SAMPLES ext_out samples
+ GATE_DURATION ext_out samples In particular, this means that this name change isn't part of the server, and we just need the following diff in PandABlocks-FPGA: diff --git a/modules/pcap/pcap.block.ini b/modules/pcap/pcap.block.ini
index 54d137d3..dcd184cd 100644
--- a/modules/pcap/pcap.block.ini
+++ b/modules/pcap/pcap.block.ini
@@ -43,7 +43,7 @@ description: Timestamp of last gate high +1 in current capture relative to enabl
type: ext_out timestamp
description: Timestamp of capture event relative to enable
-[SAMPLES]
+[GATE_DURATION]
type: ext_out samples
description: Number of gated samples in the current capture
Though hmmm... what about the description now? |
Ok, I will add a new register
|
How about "Total duration in seconds that GATE was high for each capture" |
The problem with this is that the unscaled value is simply number of samples, as before! |
I think that it's still fine, the scaled value is what they are requesting to capture, if they choose to get it unscaled they see the raw number of samples and the scale factor to turn it into time in the header |
This means that when samples are captured as scaled data they will now be reported as durations in seconds. This in part addresses github issue #8
This adds a new register *REG.NOMINAL_CLOCK which can safely be left to return the default value of 0 and adds some formatting changes. This in part addresses issues #512 and PandABlocks/PandABlocks-server#8
This should now be addressed by a number of pull requests:
Outstanding related issues are:
|
Addresses issue #8 which can now be closed
This should now be closed by merge 19f58f6. |
This adds a new register *REG.NOMINAL_CLOCK which can safely be left to return the default value of 0 and adds some formatting changes. This in part addresses issues #512 and PandABlocks/PandABlocks-server#8
No description provided.
The text was updated successfully, but these errors were encountered: