can i use pxi-8176 controller to read instrument data on the gpib bus from an instrument controlled by another pc gpib controller?
I am not sure I understand your hardware setup exactly. Could you clarify how the chassis the PXI-8176 is inside is connected to the other instrument?
It is possible and I have attached a link below which explains further:
I could be wrong, but it seems that the referenced link is about two LabVIEW programs executing simultaneously on a single machine, while I would have two LabVIEW programs executing simultaneously on a two machines: PC and PXI. The PC is controlling the instrument, while the PXI is just listening to the conversation and selecting what to use from it, mainly the measurements from instrument. I'm thinking the PXI would have to use something equivalent to NI IO Trace but pull the actual measurements out of the GPIB communication.
It looks like the key takeaway is to not access the same instrument using different programs simultaneously:
Thank you very much Sunaina. I really appreciate your help.
Now, that we know what's NOT possible, I would like to find out what is possible.
What I envisioned, is some vi behaving in a way similar to NI IO Trace (NI Spy), but more evolved such that it feeds all it sees to an algorithm...
I'm not entirely familiar with NI IO Trace, but it seems that you can only write to a file or to memory - the Start Tracing VI does not offer an output string that I could feed to an algorithm... So, I'm wondering how can I grab all that NI IO Trace sees and feed it to an algorithm real time?
I do not think you can do this in realtime, but you can save the data to a text file and then have a program which opens this and analyzes the data.
I understand what you're saying, but I'm also trying to understand why the following is not possible or is not more readily available:... Just as NI IO Trace (NI Spy) listens/eavesdrops to the GPIB real time, one would think that Labview would be able to do it also. One would think that just as NI IO Trace (NI Spy) publishes to a window/file/memory it shouldn't be impossible to publish to a string so that it can be processed real-time by some VI algorithm. If I think about NI IO Trace as a VI, I would think that it is already in a string format before it is published to the NI IO Trace window... why isn't that string available to Labview VIs block diagram?
I am not sure why this option is not available in LabVIEW, but you can suggest this idea on the Idea Exchange: