Hello,
I having an intermittant problem when using this command viWrite.
My program is simple,
first I check the "*IDN?"
sencond I send a command to measure, ":meas?"
third I read back the data.
then repeat step first step again.
sometime it run 100 loops than give me timeout error at viWrite, sometime it only run 50 loops.
I use NI-SPY to log the message, I notice something strange
when my received an time out error, the retCount parameter of viWrite show 0? for normal working it will show 6.
is this retCount parameter indicate the command is not success transfer down to equipment?
my command listing : status = viWrite(DM,":meas?",6,&retCnt);
is it due to program problem or measurement insrument problem?
Thanks