|
Prev: Removing non-alpha-numeric characters from a string
Next: local variables vs property knots->value
From: datalog on 6 May 2008 07:10 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
From: lmtis on 6 May 2008 08:40 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
From: datalog on 6 May 2008 09:10 I've attached a jpeg which is a screen dump of the LabVIEW windows used. Hopefully this will provide the data you requested GPIB Read code.JPG: http://forums.ni.com/attachments/ni/170/321352/1/GPIB Read code.JPG
From: datalog on 6 May 2008 09:10 I just opened up the JPEG and the resolution is poor. Here is another image from the data window data window.JPG: http://forums.ni.com/attachments/ni/170/321355/1/data window.JPG
From: lmtis on 6 May 2008 09:10 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. <a href="http://www.download.com/MWSnap/3000-2347_4-10524229.html?tag=lst-1&cdlPid=10544482" target="_blank">http://www.download.com/MWSnap/3000-2347_4-10524229.html?tag=lst-1&cdlPid=10544482</a>
|
Next
|
Last
Pages: 1 2 3 Prev: Removing non-alpha-numeric characters from a string Next: local variables vs property knots->value |