background image

 
For a simple example showing the basic commands, see Example1.vb or Example1.cpp 
or Example1.vi or Example1.vee.  See Help/Examples in the TAMS 18xx Switch Front 
Panel. 
  
To learn the complete command set, see the menu Help/Documentation/Direct IO.pdf in 
the TAMS 18xx Switch Front Panel.  
 
 

IVI Device Specific Driver / National Instruments LabWindows 

 
The IVI Device Specific Driver (or VXIplug&play-style driver) provides a slightly 
higher level of access to the commands, allowing you to ignore the detailed syntax of 
command strings.  However, the advanced features of the switch, such as interrupts / 
service requests and scanning, are not supported in this driver model. 
 
Note that IVI Device Specific drivers may not be re-usable with other devices, since the 
name of the device is “hard-coded” into the function calls.  If this is an issue for your 
application, see the IVI driver below. 
 
IVI uses a “connect pin to pin” model, and therefore refers to the pin or terminal names 
rather than the relay names.  IVI calls the product pin or terminals “channels”. 
 
Consider this example for a TAMS 1805A card.  This example is written in “C” using 
National Instruments LabWindows. 
 

static ViStatus s;  // Status returned from calls 
static ViSession h; // Instrument handle 

 
s = ts1805a_init ( 

"USB0::0x142E::0x1805::SN1805-00001::INSTR",  
VI_TRUE,   

// Query the device 

 

VI_TRUE,   

// Reset the device 

&h); 

 

ts1805a_Connect (h, "1", "1c"); // Close relay 1 
s = ts1805a_close (h); 

 

 

- 15 - 

Summary of Contents for 1800 Series

Page 1: ...TAMS 1800 Series USB Controlled Switches Installation Operation 1...

Page 2: ...rolled Switches Installation Operation Test Measurement Systems Inc 750 14th Street SW Loveland Colorado 80537 USA Telephone 970 669 6553 Fax 970 669 3090 Web Site www tamsinc com Copyright Test Measu...

Page 3: ...and Options 11 USB Power Considerations 12 Connecting switches to other switches 12 Connecting switches to your Product Under Test 12 Connecting switches to instruments 13 Grounding and Signal Integr...

Page 4: ...Declaration of Conformity 27 4...

Page 5: ...d a VXIplug play driver and an IVI Switch Class driver The switches are USBTMC Universal Serial Bus Test and Measurement Class devices so they can be directly controlled with SPCI Standard Commands fo...

Page 6: ...ccur we apologize Any defective unit will be repaired or replaced immediately Please follow the instructions below for service response In the US please return it to TAMS Please call or Fax for return...

Page 7: ...t automatically then click Start Run and then type D setup exe where D is the CD ROM drive This will install the Microsoft NET Framework on the PC if needed and then install the TAMS 1800 Series softw...

Page 8: ...he USBTMC driver since that was installed above 2 The activity light on the front of the TAMS 18xx will flicker You are now ready to verify operation with the TAMS 18xx Switch Front Panel For more det...

Page 9: ...9...

Page 10: ...scriptors Resource Names or Resource Descriptors are used to identify the switch device when writing your test program Selecting Tools Resource Name shows the Resource Name for the currently active de...

Page 11: ...two different sides The screws may protrude a maximum 0 25 inside of the product The bottom surface provides two mounting holes 1 75 or one Rack Unit apart for mounting to the side rack rails of a 19...

Page 12: ...he switches will be mounted inside of a chassis or rack which could provide the necessary screw access for the second level of insulation With most signal switches there would be a concern about conne...

Page 13: ...variety of ways to make these connections including building them up from crimped pins or adapting molded cables Trigger in trigger out connections are made via the Analog bus The Trigger Out is pull...

Page 14: ...of the switch Direct IO requires using an IO library such as VISA or SICL available from NI or Agilent Applications like NI LabVIEW and Agilent VEE also support Direct IO The SCPI Standard Commands fo...

Page 15: ...requests and scanning are not supported in this driver model Note that IVI Device Specific drivers may not be re usable with other devices since the name of the device is hard coded into the function...

Page 16: ...functions ts1805_IsDebounced and ts1805_WaitForDebounce in example ivi c for sample code to synchronize the switching with other instrument operations For a simple example showing the IVI driver see e...

Page 17: ...e IVI Swtch driver load the files in the IviSwtch subdirectory usually installed at C Program Files IVI into NI LabWindows and explore the detailed help of the Function Panel National Instruments LabV...

Page 18: ...IEW block diagram that calls this converted driver a From the Functions Palette choose Input Instr drivers and then choose your device b Place Initialize Connect Close and other functions in your prog...

Page 19: ...play directory is C Program Files IVI Table 1 File Location Description TAMS18xx exe install_dir Graphical User Interface Installation and Operation pdf install_dir This manual TAMS18xx pdf install_di...

Page 20: ...clude IVI VXIplug play driver include file TS18xx lib IVI_dir lib msc IVI VXIplug play driver library TS18xx c IVI_dir Drivers ts18xxa Driver source code TS18xx fp IVI_dir Drivers ts18xxa NI LabWindow...

Page 21: ...211 Trigger ignored A TRG or TRIG IMM command was sent but the device is not scanning or the TRIG SOURCE is not BUS MIX or HOLD 213 Init ignored The device received an INIT command while it was alrea...

Page 22: ...eir rights and only if Customer obtains the prior agreement of the third party to be bound buy the terms of this License Agreement Upon such transfer Customer agrees that their rights in the software...

Page 23: ...y warranty claim within the warranty period LIMITATION OF WARRANTY TAMS makes no other express warranty whether written or oral with respect to this product Any implied warranty of merchantability or...

Page 24: ...ves you specific legal rights and you may also have other rights which vary from state to state and from country to country This Warranty is in Lieu of all other express warranties which now or hereaf...

Page 25: ...th the requirements of the Low Voltage Directive and the EMC Directive and carries the CE Mark accordingly This symbol indicates a potentially hazardous voltage Use caution This symbol indicates Earth...

Page 26: ...her via the Analog Bus terminals If the product is not mounted inside of a screw access enclosure then double insulation cables must be used to interconnect one product to another via the Analog Bus t...

Page 27: ...Declaration of Conformity The Declaration of Conformity is on file at TAMS Inc TAMS Inc 850 SW 14th St Loveland CO 80537 USA 970 669 6553 27...

Page 28: ...TAMS 1800 Series USB Controlled Switches Printed in USA Revision 1 0 Part 1800 90002 28...

Reviews: