04-22-2011 02:26 PM
I'm using GPIB to communicate with a Fluke 8840A multimeter. I think I've got the correct driver installed, but I'm not 100% sure since the program doesn't run perfectly. I'll enter a command, such as "*f5r0s0t1?" and I'll get the generic I/O error 6 response. If I click abort before it gets to this point, the next run will work perfectly fine. If I try to do more than one iteration, the first one will only work if I've aborted the previous run, and then the second one will cause the same error to occur. Any help would be appreciated. Thanks.
04-22-2011 02:36 PM
Try using the driver from here:
It will probably be easier than doing raw GPIB.
If you want to stick with GPIB or VISA, I think you're missing an initialize.
04-25-2011 12:28 PM
Yeah, I was using drivers that I found from there. Does using those drivers allow me to communicate with the instruments without doing all of the GPIB read and write stuff? Is there a simpler way? Thanks.
04-25-2011 12:42 PM
04-25-2011 12:43 PM
If you're using the provided driver, you should be using VI's like the one shown in the screenshot. Right now, your flukepos.vi is using the Raw GPIB drivers instead of the actual Fluke Instrument Driver.
04-26-2011 09:40 AM
Cool, I didn't know those were there... Thanks. However, even when I run those VIs, it still only works like every other time or after I abort it. Is that a problem with how LabVIEW is communicating with the instrument then? Thanks.
04-26-2011 04:33 PM
Can you post your code where you're using the Fluke Driver?
It still seems to me like your session isn't getting initialized or closed properly.