01-29-2015 02:32 PM
02-02-2015 04:43 AM
Hi again,
Thank you guys for all the help. I am still learning LABVIEW and so need a bit more of help. I need to measure the time of execution of the visa write command, so that I can get the time and plot it with the measured current.
It should be like:
CURR:LEV 0, time starts at 0
CURR:LEV 1, some 1.2 seconds
CURR:LEV 2, 2.4 seconds
something like this, the time corresponding to when the signal is applied.
Thanks once again and sorry for so many questions.
02-02-2015 04:47 AM - edited 02-02-2015 04:47 AM
Hi Sitank,
you can get the system time, when you put the command into the VISA write buffer - because that's all the VISAWrite function does!
You cannot measure the time VISA needs to send out the command (you can estimate that from the settings of your communication bus) and you cannot measure the time your device needs to execute the command (you can estimate this from the specifications given in the device manual)…