08-15-2024 10:59 AM - edited 08-15-2024 11:02 AM
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
Solved! Go to Solution.
08-15-2024 11:09 AM
@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.
08-16-2024 09:12 AM
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.
08-16-2024 09:25 AM
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)
08-16-2024 10:41 AM
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.
08-16-2024 10:51 AM
@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)?
08-16-2024 12:41 PM
Hi sir:
thanks for your reply.
I have send the PM to you. Thanks
Have a nice day!