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

gpib ni488-2 talker/listener change [C,C++]

$
0
0

Hello.

 

I have a question during gpib ni488-2 communication.

When you communicate gpib, you can see that the talker/listener switches automatically whenever you send and receive commands.

However, I would like to know if there is a way to forcibly change the talker/listener using the NI API function.

 

For example, a communication problem occurs in the following situations: (EABO)

 

A: Controller PC

B: Not Controller PC

 

A Send to B: "SAMPLE CMD"

B Send to A: SRQ(0x44)

B Send to A: "SAMPLE CMD REPLY"   <<- A problem occurred when the command could not be sent because it is not a talker

 

So I want to send the command right after B delivers SRQ Signal to A in the above situation.

Can't I force change B to talker and send command to A?


Please help me a lot.

 

 


Viewing all articles
Browse latest Browse all 5566

Trending Articles



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