06-22-2012 03:18 PM
can i use pxi-8176 controller to read instrument data on the gpib bus from an instrument controlled by another pc gpib controller?
06-25-2012 11:11 AM
Hi Niulupus,
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?
06-26-2012 02:26 PM
Let me know if this makes any sense.
06-27-2012 07:05 PM
Hi Niulupus,
It is possible and I have attached a link below which explains further:
http://digital.ni.com/public.nsf/allkb/C42CDC77C00E0B8086256E9B0078F887?OpenDocument
06-28-2012 10:38 AM
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.
06-29-2012 05:47 PM
Hi
It looks like the key takeaway is to not access the same instrument using different programs simultaneously:
http://digital.ni.com/public.nsf/allkb/B3581043F530C4EB86256EEF0003C755?OpenDocument
07-02-2012 08:11 AM
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?
07-03-2012 05:13 PM
Hi Niulupus,
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.
07-05-2012 08:56 AM
Thanks.
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?
07-06-2012 05:39 PM
Hi Niulupus,
I am not sure why this option is not available in LabVIEW, but you can suggest this idea on the Idea Exchange:
http://forums.ni.com/t5/NI-Idea-Exchange/ct-p/ideas