05-18-2009 11:08 AM
Solved! Go to Solution.
05-19-2009 05:37 PM
Hi Baaz,
Where have you seen that vi? I don't see that vi being included with the instrument driver for Keithley 236.
What ae you trying to accomplish?
Thanks,
Sammy Z.
05-20-2009 09:19 AM
05-20-2009 10:10 AM
I don't think you have explained what the exact problem is. What happens when you try to do a VISA Read or Write? Do you get an error returned or something else? Have you tested the commands in MAX with both the VISA test panel and GPIB communicator? Do any of the commands work there? Does the instrument require any other termination besides EOI? Have you tried adding other termination characters. What does the instrument manual say about this?
VISA is just an API that sits above the low level GPIB functions so if you can use the GPIB functions, there's no reason that you should not be able to use VISA.
05-22-2009 09:31 AM
05-22-2009 09:51 AM
What is 'it' that returns IDDC? That's not an error code from VISA.
What I am suggesting is that you forget about LabVIEW for the time being and concentrate on debugging some basic GPIB communication. In MAX, under Device and Interfaces your GPIB card should be listed and under that should be listed the instrument if you followed the installation instructions. If the instrument is not listed, right click on the controller and select 'Scan for Instruments'. When and if the isntrument is listed, you can right click and select 'Communicate with instrument'. You have the option of doing a write, read, or query. This is where you should start debug of the commands.
05-22-2009 10:28 AM
The 'IDDC' message comes up on the instrument and in my error out window in LabVIEW.
Thank you for your advice, as previously stated, I was unsure of what you were telling me to do, but will now follow your advice. I am just starting the transition from Undergrad to Graduate Studies so my experience with practical applications is limited, thank you for being patient and forthcoming with me.
05-22-2009 10:38 AM
05-22-2009 12:11 PM
Dennis, your help was invaluable, I believe I am on my way to figuring this out. Sadly I was sort of thrown to the wolves for this project (I didnt even know what MAX was) but at least I am being shocked into learning LabVIEW because of it.
IDDC just meant that I was sending an improper write command to the instrument. My predecesor took/lost the manual to the instrument but Keithley was kind enough to provide me with an electronic replacement so I am on my way to solving my problem. Again, thank you very much for your assistance, you truly are an NI Knight.
05-22-2009 03:18 PM