Model/trap.py
def triggerAnalog(self,conditions):
        """Triggers an analog measurement. It does not read the value.
        conditions -- a dictionary with the needed parameters for an analog acquisition.
        """
        if self._session.adq['type'] == 'ni':
            self.adq.analogSetup(conditions['channel'],conditions['points'],conditions['accuracy'],conditions['limits'])
            self.adq.analogTrigger() # Starts the measurement.
            self.running = True
        else:
            raise Exception('Other types of cards not implemented for acquireAnalog')
Triggers an analog measurement. It does not read the value.
        conditions -- a dictionary with the needed parameters for an analog acquisition.
        
Triggers an analog measurement. It does not read the value.
conditions -- a dictionary with the needed parameters for an analog acquisition.
Triggers an analog measurement . It does not read the value . conditions -- a dictionary with the needed parameters for an analog acquisition .
def triggerAnalog(self,conditions):
        if self._session.adq['type'] == 'ni':
            self.adq.analogSetup(conditions['channel'],conditions['points'],conditions['accuracy'],conditions['limits'])
            self.adq.analogTrigger() 
            self.running = True
        else:
            raise Exception('Other types of cards not implemented for acquireAnalog')
def triggerAnalog ( self , conditions ) : if self . _session . adq [ 'type' ] == 'ni' : self . adq . analogSetup ( conditions [ 'channel' ] , conditions [ 'points' ] , conditions [ 'accuracy' ] , conditions [ 'limits' ] ) self . adq . analogTrigger ( ) self . running = True else : raise Exception ( 'Other types of cards not implemented for acquireAnalog' )
Triggers an analog measurement.
Triggers an analog measurement .
"""Triggers an analog measurement. It does not read the value.
        conditions -- a dictionary with the needed parameters for an analog acquisition.
        """ # Starts the measurement.
self
conditions