From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-10-2007 08:53 PM
08-10-2007 09:55 PM
08-10-2007 10:14 PM
08-10-2007 10:30 PM
You might have a timing problem but you could also have a dataflow problem. Highlight execution and single step also change the execution order so if you don't have correct data flow, there might be operations in parallel that cause the error when run at normal speed. It is a pretty old instrument though, and it may have trouble keeping up with the commands you send with a fast pc.
I doubt that using VISA will actually cure the problem. VISA is higher level layer over the GPIB driver and the commands on the GPIB bus will be the same. Using VISA is a better choice for isntrument communication in general so you might want to give it a try.
I don't think you really need to do a GPIB clear before every write. Doing it once at the beginning of the program is enough.
08-11-2007 02:09 AM
08-12-2007 07:47 PM