06-17-2015 02:52 AM
Hi
I found an issue with the driver to MSO-X 2014A TCP/IP scope which was sending the status request too early after the previous query was issued.
I have modified the vis, but I was wondering if there is a VISA property node which specifies the wait time after each VISA write is executed?
In that case I could set it upfront and do not worry about the other vis.
thanks
06-17-2015 07:13 AM
No.
Just use a wait function in series between your write and read. Many people have created a subVI for that purpose that incorporates the error wire so that you don't have to worry about sequence structures to enforce the wait in dataflow.
06-17-2015 07:23 AM
06-17-2015 07:25 AM
OK, thanks to all. I was just wondering if I can go shortcut, but I guess not. 🙂
thanks
06-17-2015 09:35 AM
@pawel wrote:
OK, thanks to all. I was just wondering if I can go shortcut, but I guess not. 🙂
thanks
The *opc? command IS a shortcut! Adding it on to the end of a SCPI command turns the previous command into a query. When the command is done, it sends a "1" (or something similar - I've found different vendors have different interpretations of what a "1" is) to the output buffer that you read so your application only waits exactly as long as it needs to before sending the next command. You have to look in your programmer's guide to see which of your commands supports this feature.