11-03-2009 10:07 PM
11-04-2009 08:59 AM
It has been a very long time since I used VB and can't really answer all of your questions about it but there are examples in C:\Documents and Settings\All Users\Documents\National Instruments\NI-488.2\Examples\Visual Basic (if you are using XP). Did you try Start>All Programs>National Instruments>NI 488.2>Examples?
Yes, every command you write to the instrument has to use either the 488.2 functions or VISA functions. If you use VISA, your program will be more portable. There are examples for VISA as well.
You might also search the Instrument Driver Network for an existing driver for your instrument. You will also find links there on what a driver is and how to use one.
11-04-2009 09:01 AM
Keithley has some samples on their website for communicating to an SMU (2400 series) with VB
Examples: //http://www.keithley.com/support/keidoc_searchresult?keyword=2400&item_type=Example+Program