03-13-2023 08:50 PM
Bonjour,
Actuellement je bosse sur des cartes d'acquisition et j'ai un logiciel permettant d'enregistrer un signal.
J'ai un petit souci , il n'enregistre pas en temps réel (problème de remplissage de buffer). À mon avis il ne lis pas aussi vite qu'il ne remplit.
Là j'ai essayé tout ce qui est prescrit sur les forums: taille buffer, nombre d'échantillons à lire...
Et quand je diminue la taille du buffer, ça accelere un peu l'enregistrement mais ça m'affiche des signaux bruiteux.
J'aimerais avoir des idées là-dessus pour pouvoir enregistrer en temps réel.
.
03-14-2023 12:01 AM
We probably need to see what you are doing.
03-14-2023 04:31 AM
@altenbach wrote:
We probably need to see what you are doing.
Not only probably! The actual source code (cleaned up and reduced to the minimum program that still reproduces the problem), the detailed specifications of what hardware is used and the used parameters (buffer size, sample rate etc) are simply a requirement.
03-29-2023 08:43 AM
03-29-2023 08:53 AM
on ne sait toujours pas quel matériel tu utilises, si tu peux en dire plus on pourra peut être t'aider.
dans ton premier message tu parles d'enregistrement, dans les images postées je ne vois rien sur ce point.
tu enregistres quoi (signaux), sous quel format (txt, csv, bin, wav?) à quelle fréquence, pendant combien de temps ?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
03-29-2023 08:53 AM
Hi Diallo,
when asked for code we usually prefer real code,not just images of code!
IMHO I see to many global variables. On the other hand I see a very old LabVIEW version…
Where does the error occur? Which error do you encounter?
03-29-2023 03:33 PM
Yes we use the 2009 version. It is a problem of buffer, there is a huge delay in the display of the signal, the problem would come from the screws configuration of the outputs at the level of the configuration and generation of the outputs at the level of the recording.
Tomorrow morning I will send you the full program.
best regards.
03-29-2023 03:38 PM
j'utilise une carte USB ni6212 et une autre avec un vieux pc(panasonic) daqcard 6054e.
on enregistre des signaux (carré, sinusoidal et triangulaire), par contre j'ai un retard énorme au niveau de l'affichage. demain matin à 9h je vous enverai le programme complet, c'est sera plus facile.
03-30-2023 01:05 AM
Hi Diallo,
@Diallo_td wrote:
I use a ni6212 usb card and another with an old pc(panasonic) daqcard 6054e.
we record signals (square, sinusoidal and triangular), on the other hand I have a huge delay in the display. tomorrow morning at 9 am I will send you the complete program, it will be easier.
Please stick with English, it's easier to read for most of us!
Please define "huge delay"…
03-30-2023 02:17 AM
Ok in fact as I said, I have a problem of buffer, at the level of the display of the program, there is a huge delay. Our tests showed that the problem would come from the configurations of the outputs at the level of the condition configuration and the generation of the outputs at the level of the registration condition.
When I remove the vi generation from the outputs, I speed up the display but the program does not show me the real signal.
I need to speed up the program to make a real time display.
There it is really a problem of buffer, I made all that is prescribed in this forum in particular the size of the buffer, the sampling frequency, the number of points, for the moment nothing.