- 22 Sep, 2015 1 commit
-
-
Lucas Russo authored
-
- 21 Sep, 2015 4 commits
-
-
Lucas Russo authored
As we were not acquiring from non-paged aligned address (only skip trigger acquisition was used), we didn't see the possible errors coming from this. The first one is the start address. On the first read, we need to check for page size overflow. If this occurs, the remaining bytes need to be read from the next page. Secondly, the output data pointer was not being updated to account for split (from 2 consecutive pages) reads. Without this, we were copying data to the wrong destination address.
-
Lucas Russo authored
-
Lucas Russo authored
The acquisition address can wrap in two places. The first of them is when calculation the start of the acquisition, which could be wrapped if the acquisition module waited too long for the trigger. The second place is in adding the block offset to the start address. This could wrap in the end of the memory space.
-
Lucas Russo authored
-
- 18 Sep, 2015 6 commits
-
-
Lucas Russo authored
0 is a valid valid for the FPGA, so we changed it here.
-
Lucas Russo authored
This function accepts any integer number from 0 to 2^32-1 and generates a pulse in the FPGA, regardless of the number.
-
Lucas Russo authored
-
Lucas Russo authored
For the generic bpm_func_exec function and some compounded libbpmclient funcions, we were incrementing a uint32_t pointer by 4, effectively adding 4*4 = 16 bytes to the pointer and not 4 bytes as intended. Everything seemed to work OK, because the error was made twice: one filling the array and the other reading the array (in bpm_func_exec).
-
Lucas Russo authored
We were comparing, for single shot acquisition, the maximum number of multi shot samples, and vice-versa
-
Lucas Russo authored
-
- 17 Sep, 2015 9 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
This enables us to make a synchronized MONIT AMP/POS reading.
-
Lucas Russo authored
-
Lucas Russo authored
This just performs the same acquisition method (skip trigger) as before
-
Lucas Russo authored
This fixes #106 github issue
-
Lucas Russo authored
-
- 14 Sep, 2015 3 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
- 11 Sep, 2015 1 commit
-
-
Lucas Russo authored
-
- 10 Sep, 2015 1 commit
-
-
Lucas Russo authored
This caused the libdisptable library to not be called when calling the main Makefile targets (install, uninstall, clean, mrproper).
-
- 09 Sep, 2015 2 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
- 13 Aug, 2015 1 commit
-
-
Lucas Russo authored
This is a temporary fix to github issue # 104
-
- 11 Aug, 2015 1 commit
-
-
Lucas Russo authored
Now, we only start a new acquisition if the state machine is in IDLE state, if the intermediate FIFOs are empty and not stalled. The last two conditions are undocumented and must be changed in the near future. This fixes #103 github issue.
-
- 08 Aug, 2015 3 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
To maintain compatibility with existing code, we have reversed bpm_client_new () function to the old one and create two new bpm_client_new_* () type of fuuntions to set the timeout: bpm_client_new_time () and bpm_client_new_log_mode_time ().
-
Lucas Russo authored
Now, libbpmclient performs a send/recv with the specified timeout. This solves the problem in which the client specified a wrong service name and is blocked forever while waiting for a response from the server, which never happens.
-
- 03 Aug, 2015 4 commits
-
-
Lucas Russo authored
Strict C (and C++) does not allow forward declarations of enums as the compiler is free to choose the most suitable data type.
-
Lucas Russo authored
-
Lucas Russo authored
On sending the message, the second parameter is not used, but as we use the same message structure for read/write messages, the server will still check for strict consistency of arguments. Thus, for functions that expect a double argument, enconding a uint32_t will result in an error. The fix is simple, however. We just need to use the passed parameter size to the message.
-
Lucas Russo authored
This function was renamed to errhand_log_print_zmq_msg () when the error handling was converted to a library.
-
- 22 Jun, 2015 1 commit
-
-
Lucas Russo authored
-
- 19 Jun, 2015 3 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
Default location is lnls_defconfig.
-
Lucas Russo authored
For now, we use static IPs for the AFE controllers.
-