lightlab.equipment.lab_instruments.NI_PCI_6723 module¶
Reference¶
-
class
NI_PCI_6723(name='The current source', address=None, useChans=None, **kwargs)[source]¶ Bases:
lightlab.equipment.visa_bases.visa_driver.VISAInstrumentDriver,lightlab.equipment.abstract_drivers.electrical_sources.MultiModalSource,lightlab.equipment.abstract_drivers.electrical_sources.MultiChannelSourcePrimarily employs abstract classes. Follow the bases for more information
VISAInstrumentDriverprovides communication to the boardMultiModalSourceprovides unit support and range checkingMultiChannelSourceprovides notion of state (stateDict) and channel supportUsage: Instrument: CurrentSource
-
instrument_category¶ alias of
lightlab.laboratory.instruments.interfaces.CurrentSource
-
supportedModes= {'wattperohm', 'milliamp', 'volt', 'amp', 'mwperohm'}¶
-
baseUnitBounds= [0, 10]¶
-
baseToVoltCoef= 1¶
-
v2maCoef= 4¶
-
exceptOnRangeError= True¶
-
maxChannel= 32¶
-
targetPort= 16022¶
-
waitMsOnWrite= 500¶
-
MAGIC_TIMEOUT= 30¶
-
write(writeStr, expected_talker=None)[source]¶ The APEX does not deal with write; you have to query to clear the buffer
-
instrID()[source]¶ There is no “*IDN?” command. Instead, test if it is alive, and then return a reasonable string
-
setChannelTuning(chanValDict, mode, waitTime=None)[source]¶ Sets a number of channel values and updates hardware
Parameters: Returns: was there a change in value
Return type: (bool)
-
getChannelTuning(mode)[source]¶ The inverse of setChannelTuning
Parameters: mode (str) – units of the value in (‘mwperohm’, ‘milliamp’, ‘volt’) Returns: the full state of blocked out channels in units determined by mode argument Return type: (dict)
-