Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Listen and send the command

Solved!
Go to solution

Hello all! I’m the newer of the GPIB user.I have a question of GPIB connection. 
Now, I already have a computer(run the third party program connected with the GPIB instrument) . 

The GPIB instrument will through the handshaking communication. If I write a program run on the same computer. I think I will cause the third party program connection interrupt,right?

May I have any solution to do some situation go through my program send the command to the GPIB instrument ?

Thanks for your reading .
Have a nice day 

0 Kudos
Message 1 of 7
(598 Views)

@Y.F.Q wrote:

The GPIB instrument will through the handshaking communication. If I write a program run on the same computer. I think I will cause the third party program connection interrupt,right?

 


Yes, it may interfere with the other application, it depends on the timing and how your equipment behaves.

 

Please describe more in detail the software and hardware involved, your goal to suggest a suitable method.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 7
(590 Views)

Sorry for update the more detail later.

I draw the active flow as attachment file. The Pic1 is the current situation.

I want to do that when the GPIB instrument send the SRQ and sometimes the response should reply by the customize program not the third party program.

At the beginning, I want to run the customize program at the same computer with the third party program but it just has one connection and I think if the customize program and the third party program use the same connection will cause the mess.

Can I achieve it, if I modify the connection as Pic2 layout? Or have any other solution can achieve it? 

The most situation the response should reply by the third party program but has a few situation I want to interfere the communication reply the other command to  the GPIB instrument.

The Pic2 connection layout was draft by my concept. Maybe it's just make the no-sense. Please let me know.

Thanks for your reply.

Have a nice day.

Download All
0 Kudos
Message 3 of 7
(548 Views)
Solution
Accepted by Y.F.Q

So, you want to create a proxy between your GPIB instrument and the third party application.

 

So, there are some ways you can skip that intermediate computer with 2 GPIB card and run the proxy locally on the same computer but it depends on how the third party application works.

 

What application is that? how does the GPIB port selection looks like? (trying to figure out whether it uses NI-VISA or libraries)

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 4 of 7
(543 Views)

The GPIB port selection means the IEEE488 GPIB card and the cable connection?

The third party program is a application I can't control or interfere it.

I got the information from the GPIB instrument vendor. It send the document of GPIB instrument handshaking path and the command for me.

The vendor provide the document describe the handshaking path as the above Pic1 draft. But because the third party program I can't do anything for it. So I think maybe I can catch the connection data and transfer to the third party program like as Pic2.

0 Kudos
Message 5 of 7
(534 Views)

@Y.F.Q wrote:

The GPIB port selection means the IEEE488 GPIB card and the cable connection?

The third party program is a application I can't control or interfere it.

I got the information from the GPIB instrument vendor. It send the document of GPIB instrument handshaking path and the command for me.

The vendor provide the document describe the handshaking path as the above Pic1 draft. But because the third party program I can't do anything for it. So I think maybe I can catch the connection data and transfer to the third party program like as Pic2.


So far you've been very secretive about the application and the vendor, are those confidential? if not please share names, models, link to manual etc.,

About the GPIB card, do you know if it was manufactured by NI (check logo on the card)?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 7
(530 Views)

Hi sir: 

thanks for your reply.

I have send the PM to you. Thanks 

Have a nice day! 

0 Kudos
Message 7 of 7
(513 Views)