06-06-2008 06:34 PM
06-06-2008 08:01 PM
Hi ,
Before my application connect to the test set, I want to check the test set whether has been linked to another application . In other words, I want to check the test set is "IDLE" or "CONN" state. They communicate with GPIB protocol.
How I should do?
06-09-2008 08:46 PM
Hello, 你好
Excuse my translation. I am not an expert in writing Chinese. 辨解我的翻译。 我不是关于汉语语言的一位专家。
There is not sufficient information on your hardware or your application for me to offer any specific solution. However, I can give some general advice. 关于硬件和应用的不足的信息。 然而,我提供谦逊的忠告。
Attempting to asynchronously access a GPIB bus while another GPIB based application is running is just asking for trouble
There is, in fact, a library call in the CVI GPIB called iblck and this function allows you to lock out all other processes from using the GPIB.
找出图书馆电话 CVI GPIB iblck 。 作用准许锁代替 GPIB 过程。
However, unless all the other applications are designed to wait for the GPIB lockout, those applications will crash after reaching the GPIB timeout limits.
This is a thorny issue and requires much more detail of your test set and requires a fairly high level of programming. Suffice it to say that, unless you can modify the other applications to wait for the time of a GPIB lock out, you are going to have problems if you lock out the GPIB.