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

two apllication communicate with a GPIB device

$
0
0

Hi,
an application is running in background communicate with the Maschine, sends and recieves his own Data. My Application should send also his commands to contol the Maschine. It comes somethimes to crash. As an application waits to recieve Data from the Machine and the other application send Data to the Machine. I uses ThreadIbasta to check the current state before i send a command. But with the one and same 'Ibsta' value (and no error) once i get error once not. 
If i stop the backrground application everything works properly with my application, but the background application mus run too.In one sentense, how can i findout the right time to send a command to a GPIB device while other application is communicate with the same device?
Thanks

 

 

 

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



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