LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Read in LabVIEW 7.01

I've posted this request over on the GPIB forum but I think this is probably a better location. I'm new to GPIB level LabVIEW but have developed a few applications, previously,  around existing instrument drivers. I want to write some simple configuration and data transfer functions around GPIB with ILX Lightwave and Keithley instruments.
 
I am able to send GPIB commands to each instrument, such as setting wavelength, voltage, filter time constants and so on, but I am having trouble reading from each instrument. I'm sure its a coding issue as this is the same with each instrument. After sending a command, such as :FILT fast to the ILX Lightwave 8210H and seeing the front panel indicator change, I send a GPIB Write again, with :FILT? followed by GPIB Read. The string returned from the GPIB Read has an unreadable format. I'm sure this is just a formatting issue, but  can anyone here shed some light on this?
 
regards,
Datalog 
 
Windows XP
LabVIEW 7.01
0 Kudos
Message 1 of 13
(5,569 Views)

Hi datalog,

could you post a screenshot of your code along with a probe showing the data received?



Message Edited by lmtis on 05-06-2008 07:12 AM
Jim

LV 2020
0 Kudos
Message 2 of 13
(5,562 Views)
I've attached a jpeg which is a screen dump of the LabVIEW windows used. Hopefully this will provide the data you requested
0 Kudos
Message 3 of 13
(5,555 Views)
I just opened up the JPEG and the resolution is poor. Here is another image from the data window
0 Kudos
Message 4 of 13
(5,548 Views)

Well, that shows what the data string looks like.  Could you make a pic of the wiring diagram?  By the way, here is a link to a good freeware for grabbing a screenshot.

http://www.download.com/MWSnap/3000-2347_4-10524229.html?tag=lst-1&cdlPid=10544482

Jim

LV 2020
0 Kudos
Message 5 of 13
(5,545 Views)
also, try opening max, and type filt? in the send string and click on query.
Jim

LV 2020
0 Kudos
Message 6 of 13
(5,536 Views)
Here's a screen image using the download s/w. I've also sent the :Filt? query to the ILX 8210H, followed by GPIB Read. Saving the jpeg and opening in explorer shows the text that was read.
 
 
 
0 Kudos
Message 7 of 13
(5,510 Views)
0 Kudos
Message 8 of 13
(5,508 Views)

There is no image.

Spoke too soon. This image is not much different than the earlier one. You were asked to duplicate the query in MAX. Did you do that?



Message Edited by Dennis Knutson on 05-06-2008 09:56 AM

Message Edited by Dennis Knutson on 05-06-2008 09:58 AM
0 Kudos
Message 9 of 13
(5,507 Views)
Excuse my ignorance here, but what is MAX?
0 Kudos
Message 10 of 13
(5,493 Views)