Posted Thu, 19 Jan 2023 12:19:45 GMT by Friedemann, Reinhard
Hello,
in a measuring system for production actual the DMM2000 with a serial communicatin is used.
The applicatin is, that a measuring mode is applyed by commandands, and then the resulting value is read each second for further 
processing in a script.
Example:
The commands for DC Volt are:
":conf:volt:dc;:init:cont 1"
":sens:volt:dc:aver:state 1"
":sens:volt:aver:tcon mov"
":sens:volt:aver:coun 10"
":sens:volt:rang 10"

Then each second The result is read with the command
"DATA?"

Assuming I get the last valid result of the applied filter moving average.
Assuming the instrument will do the number of measurings without any additional commands.

Now I have to adapt the new DMM6500, using NI-VISA interface and not the SCPI2000
command set.

The commands I use now are:
":SENS:FUNC \"VOLT:DC\""
":SENS:VOLT:INP AUTO"
":SENS:VOLT:DC:AVER:COUNT 10"
":SENS:VOLT:AVER:TCON MOV"
":SENS:VOLT:AVER ON"
":SENS:VOLT:RANG 10"

Then reading each second with the command 
"MEAS?"

will execute only one measuring. So if the input signal changed from 0 to 10 V I get 
the correct value only after 10 seconds.
"READ?" command does the same.


How can I set a trigger or whatever to tell the DMM6500 to make measuring as fast as possible 
(in local  mode it seems to be freerunning) and witch command is necessairy to get the last
filtered measuring value?

Thank you.





 
Posted Fri, 20 Jan 2023 16:20:43 GMT by A, Jake
Hello,

If your commands/code for the Model 2000 is performing as you require, you can also use the Model 2000 Emulation command set (Menu > System Settings > Command Set) to allow the DMM6500 to act as a drop-in replacement until you develop new code designed for the DMM6500.

However, if you would like to optimize commands for the DMM6500, it seems that you should only need to add an NPLC designation to make a significant impact on the speed of your measurements.
There are several settings that we typically recommend reviewing/modifying to optimize speed vs accuracy (filter, manual range, etc), but NPLC tends to be the largest contributor.
You can find more about this SCPI command on page 12-99 of the Reference Manual:
https://www.tek.com/en/tektronix-and-keithley-digital-multimeter/dmm6500-manual/model-dmm6500-6-1-2-digit-multimeter-3
If you are looking to initiate your measurements (number defined the the SENSE:COUNT command) and then report the latest, you can use the :MEAS? command.
If you only want to take a single initiated measurement and report that latest reading, you can use the :READ? command.
If you want to take multiple readings and report them all, you can use :INIT then :TRACE:DATA? commands.
Please review these commands and required arguments for each in the manual linked above.
Since you are using a filter, there will be some delay time to collect all of the averaged readings and calculate the appropriate reporting value.
These filters can dramatically impact speed and total measurement time.
Overall, total test time and reading speed will depend on several factors and filters can contribute to this depending on their configuration.
 

You must be signed in to post in this forum.