Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

yokogawa wt1600 problem in receive data

Hi,
I am doing a project with the yokogawa wt1600 digital power meter. I meet a problem when trying to use the read VI. When I run the program in the Highlight execution, it's can read the data well, but when I read it in normal mode, I meet the error. It looks like the program meet the time out with no receive message. Is there anyone meet this case before?
Thank you so much for your time.
Thang Nguyen
Message 1 of 2
(3,405 Views)

Hi Thang,

Just generally speaking, it sounds like we're looking at either a timeout issue or a process flow problem in your code since your program works properly in highlight execution.  In this mode, the program will run slower than usual, essentially giving your instrument more time to read the response from your instrument.  You may want to try increasing the timeout of your read block so that your program waits longer in normal mode to read a message, rather than giving up "too soon" and throwing this error.  You will also want to check the data flow in your program to be sure that your code will be executing in the proper sequence.  Sometimes in highlight execution your code will execute in a different order than in normal run mode.  Make sure that your read blocks are occuring at the proper point in your program.  Hope this helps!


Regards,
Anna M.
National Instruments
0 Kudos
Message 2 of 2
(3,380 Views)