Contactez-nous

Chat en direct avec un représentant Tek. Service disponible de 9 h 00 à 17 h, CET.

Téléphone

Appelez-nous au

Disponible de 9 h 00 à 17 h 00 CET jours ouvrables

Télécharger

Télécharger des manuels, des fiches techniques, des logiciels, etc. :

TYPE DE TÉLÉCHARGEMENT
MODÈLE OU MOT CLÉ

Feedback

I have a problem with reading the measurements from the TDS7404B Oscilloscope. I do not get the measurement (for example Amplitude) for the current waveform when I request the value via IVI-COM. The value I get is either from the previous acquisition or "infinite" (which happens the first time). I use the Acquisition.State Property to find out when the acquisition is complete. I then read the measurement using the Measurement:Value query. It seems that it takes some time for the oscilloscope to calculate the amplitude and that this calculation takes place AFTER the Acquisition complete message. I have tried to wait some time before requesting the measurement and then I get the right value. I need to figure out when the measurement value for the current waveform is ready. I have not been able to locate a status flag or property that can tell me if the MEASUREMENT calculation is complete.

Question :

I have a problem with reading the measurements from the TDS7404B Oscilloscope. I do not get the measurement (for example Amplitude) for the current waveform when I request the value via IVI-COM. The value I get is either from the previous acquisition or "infinite" (which happens the first time). I use the Acquisition.State Property to find out when the acquisition is complete. I then read the measurement using the Measurement:Value query. It seems that it takes some time for the oscilloscope to calculate the amplitude and that this calculation takes place AFTER the Acquisition complete message. I have tried to wait some time before requesting the measurement and then I get the right value. I need to figure out when the measurement value for the current waveform is ready. I have not been able to locate a status flag or property that can tell me if the MEASUREMENT calculation is complete.

Réponses :

Rather than relying on Acquisition:State which only tells you when the trigger has occurred, you should instead use one of the steps referred to in the programmers manual in the section titled, "synchronization methods".

Most commonly, the *OPC method is used. This does require some setup of registers as documented in the referenced section, but once the OPC bit indicates a set state, this assures you that the acqisition has not just started, but is also complete. Your assumption that some time is required to process the measurements after the acquisition completes is correct, but the time required to do so is less than the time required to parse the incoming value query.


Cette FAQ concerne :

Aucune série du produit

Produit :

Numéro de la FAQ 59061

Afficher toutes les FAQ »