Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI driver issue with NI switch

hi,
In the NI switch module
the function  InitWithTopology(), which is a specific NI function become inevitable to use
since it become only way to intialize the NI switch module in diffrent topology.
But on using this function to intialize the switch module,
it restrict only with the usage of NI specific driver since i can't use the session handle returned by this function in class driver
and the class driver can't be used anywhere since intialize is the first function to be called.
 
can any one suggest me a better way to use the class driver except for the InitWithTopology(),  function call.
 
thanks in advance
bharathi
0 Kudos
Message 1 of 2
(6,059 Views)
bharathi:
 
To set the topology, you can also use the IviSwtch Initialize With Options.vi located in C:\Program Files\National Instruments\LabVIEW {version}\vi.lib\ivi\IviSwtch\_iviswtch.llb.
 
Using a PXI-2529 as an example, here is the syntax:
 
Simulate=0,RangeCheck=1,QueryInstrStatus=0,Cache=1,DriverSetup=Topology:2529/2-Wire Dual 4x16 Matrix
 
Notice the DriverSetup entry specified at the end of the options string.
 
Brian
 


Message Edited by _Brian_ on 05-13-2008 08:03 AM
0 Kudos
Message 2 of 2
(6,055 Views)