 nitad54448
		
			nitad54448
		
		
		
		
		
		
		
		
	
			06-19-2007 02:47 PM
 I am looking for a VI (with VISA) to close a specific channel in a TCSCAN-2001 card which is connected with a KE2000 DMM (or 2001 DMM) and then measure the DC signal.
 I am looking for a VI (with VISA) to close a specific channel in a TCSCAN-2001 card which is connected with a KE2000 DMM (or 2001 DMM) and then measure the DC signal. Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			06-19-2007 03:45 PM
06-19-2007 03:50 PM - edited 06-19-2007 03:50 PM
Message Edité par nitad54448 le 06-19-2007 03:51 PM
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			06-19-2007 03:55 PM
The exact message should be:
Possible reason(s):
LabVIEW:  Generic file I/O error.
=========================
NI-488:  I/O operation aborted.
You have two possible reasons and the second one would apply. Also, the driver I mentioned is not IVI but a native LabVIEW driver. The driver also uses VISA instead of the lower level GPIB functions (this is a good thing) and if you get an error from VISA, it won't have two possible reasons.
06-19-2007 04:04 PM
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			06-19-2007 04:24 PM
VISA is a higher level api than GPIB. VISA supports GPIB, serial, Ethernet, USB, VXI, PCI, and PXI. Some instruments are available with different communication options. When you write a driver with VISA, the same driver can be used for all options with little or no modification. A person writing with VISA only has to learn a single api instead of different low level functions such as GPIB, TCP/IP, etc. Also, VISA is more portable to different hardware. When you use the GPIB functions in LabVIEW, you have to use an NI GPIB controller. While I'm not sure why you would want to, with VISA, you can use a GPIB board from any vendor that provides a VISA driver for their board. Instead of a string control for a GPIB address, with VISA you use a VISA Resource Name control. You can click on this control and pick from a list of available resources. You can assign an alias to a VISA resource. For example, if you have a meter at address 5, instead of GPIB0::5::INSTR as the resource name, you can give it an alias of 'DMM'. I find this very handy in systems with a lot of instruments and I can't keep track of the different addresses assigned.
There are a few functions that are not available with VISA and are with the GPIB functions but these are seldom used. I haven't used the GPIB functions in many years except for some really old instruments.
06-20-2007 07:28 AM
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			06-20-2007 08:59 AM
06-20-2007 10:32 AM
06-23-2007 03:08 PM