I am testing the emitted pulses and I have realized that there is some data lost in the recieving process. I am interested in sending long pulses (>50.000 us) and I have encountered with two problems:
1-Pulse length: I set the A pulse length to a certain width, and the width of the recieved pulse (shortcircuiting the TX and RX) is not the expected. I used an 8 GHz oscilloscope and it did recieve the pulse correctly, which means that the pulse is transmitted correctly. In the following image you can see the pulse, which is supposed to be 100 ms long, but it actually is less. I only had to modify the UI file to increase the maximum value for A pulse duration.
The odd thing is that every pulse has a different duration, it is never an exact length.
2- I have inspected the raw data recieved, and there are some discontinuities in the oscillations. It makes me think that some of the transfers from the server running in the Stemlab to the Client in the PC are not performed, and thus there is this abrupt discontinuity, and also shortens the pulse.
I have been inspecting the codes and cannot find what is wrong.
Steps to reproduce the problem:
Load the FPGA image in the Stemlab and run the pulsed-nmr.c server
Run the pulsed_nmr.py client sending long pulses
I have used panda dataframe to store the data into a .csv file with the following code at the end of the read_data(self) function:
Description of the setup:
Description of the problem:
I am testing the emitted pulses and I have realized that there is some data lost in the recieving process. I am interested in sending long pulses (>50.000 us) and I have encountered with two problems: 1-Pulse length: I set the A pulse length to a certain width, and the width of the recieved pulse (shortcircuiting the TX and RX) is not the expected. I used an 8 GHz oscilloscope and it did recieve the pulse correctly, which means that the pulse is transmitted correctly. In the following image you can see the pulse, which is supposed to be 100 ms long, but it actually is less. I only had to modify the UI file to increase the maximum value for A pulse duration. The odd thing is that every pulse has a different duration, it is never an exact length. 2- I have inspected the raw data recieved, and there are some discontinuities in the oscillations. It makes me think that some of the transfers from the server running in the Stemlab to the Client in the PC are not performed, and thus there is this abrupt discontinuity, and also shortens the pulse.
I have been inspecting the codes and cannot find what is wrong.
Steps to reproduce the problem:
I have used panda dataframe to store the data into a .csv file with the following code at the end of the read_data(self) function:
In addition, at the beginning I imported the panda package and changed the self.size to 200.000 samples