What is the difference among data query commands such as ":FETCh?", ":MEASure?", ":READ?", :SENSe:DATA?"?
Question:
There are several commands to query the measurement data, such as ":FETCh?", ":MEASure?", ":READ?", :SENSe:DATA?".
What's the difference among them?
Answer:
All commands have the function to query data similarly but there is some difference among them.
1. ":FETCh?" command
It returns latest result and is not available during initiation.
Previous data is not cleared by the command.
2. ":MEASure?" command
It executes a single point measurement and returns the result.
It is not available during initiation.
Previous data will be cleared by the command.
3. ":READ?" command
It execute the ":INITiate" command and the ":FETCh:ARRay?" command in series, and returns the result.
It is not available during initiation.
Previous data will be cleared by the command.
4. ":SENSe:DATA?" command
It returns latest result based on the specified parameters.
It is available during initiate too.
Previous data is not cleared by the command.