10-06-2017 11:53 AM
Hi, friends. I am new to LabView. Presently, I want to read the data in the GPIB bus, and I also got a example vi as "basic_gpib_write_and_read". My problem is how to get the command list for "Command to Send to Instrument", especially for the operation of "read".
Would you please give me some help?
Thank you very much.
Solved! Go to Solution.
10-06-2017 12:41 PM
10-06-2017 12:52 PM
Thanks Albert:
In our lab, we connect our PC and ECU (from Thorlab) by a gpib cable. The PC will send control signal to ECU, and what I want to get is the data that was sent by PC.
I hope I can make some sense.
Thank you.
10-06-2017 03:05 PM
Hi
You say the pc sends a control signal and also some data that you want to get.
Which program on the pc is preparing that data?
Is it another program maybe from Thorlabs?
In that case you can use NI IO trace to see what happens on the bus.
LabVIEW also can control that ECU but from your mail I understand it is already controlled.
10-06-2017 03:10 PM
Wow. I got much inspiration. Thanks.
Have a good weekend.
01-10-2018 03:00 PM
So exactly what is the step-by-step to get data from GPIB through Labview???
01-11-2018 05:42 AM
Open the VISA connection to the instrument, write to the instrument with VISA Write, read from the instrument with VISA Read, and when done with everything, close the connection. Now what commands you have to send the instrument depends on your instrument.