Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5625

Waiting a time after viClear

$
0
0

Hello there, 

 

I am a student working on a project for my bachelor. the project I am working on is to controled a device of Keysight on a Embedded Windows 7 platform. Before I start my code (in c++) I use the "viClear" command from the VISA library to preform a device clear. The problem with this is that the device needs some time to process the command. I can just put a delay between it and the rest of my code but isn't there a right way to do this with the VISA library? I have the same thing whenever I send a "*TST?" command to my device and want to read the result. 

 

do you guys have any tips for me ?


Viewing all articles
Browse latest Browse all 5625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>