How to use the niswitch.attributes.AttributeViReal64 function in niswitch

To help you get started, we’ve selected a few niswitch examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ni / nimi-python / generated / niswitch / session.py View on Github external
'''
    max_carry_ac_power = attributes.AttributeViReal64(1250015)
    '''
    This channel-based attribute returns the maximum AC power the channel can  carry.
    The units are volt-amperes.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_carry_ac_power.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_carry_ac_power.Session instance, and calling set/get value on the result.:

        session['0,1'].max_carry_ac_power = var
        var = session['0,1'].max_carry_ac_power
    '''
    max_carry_dc_current = attributes.AttributeViReal64(1250010)
    '''
    This channel-based attribute returns the maximum DC current the channel  can carry.
    The units are amperes.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_carry_dc_current.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_carry_dc_current.Session instance, and calling set/get value on the result.:

        session['0,1'].max_carry_dc_current = var
        var = session['0,1'].max_carry_dc_current
    '''
    max_carry_dc_power = attributes.AttributeViReal64(1250014)
    '''
    This channel-based attribute returns the maximum DC power the channel can  carry.
github ni / nimi-python / generated / niswitch / session.py View on Github external
'''
    max_switching_ac_power = attributes.AttributeViReal64(1250013)
    '''
    This channel-based attribute returns the maximum AC power the channel can  switch.
    The units are volt-amperes.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_switching_ac_power.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_switching_ac_power.Session instance, and calling set/get value on the result.:

        session['0,1'].max_switching_ac_power = var
        var = session['0,1'].max_switching_ac_power
    '''
    max_switching_dc_current = attributes.AttributeViReal64(1250008)
    '''
    This channel-based attribute returns the maximum DC current the channel  can switch.
    The units are amperes.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_switching_dc_current.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_switching_dc_current.Session instance, and calling set/get value on the result.:

        session['0,1'].max_switching_dc_current = var
        var = session['0,1'].max_switching_dc_current
    '''
    max_switching_dc_power = attributes.AttributeViReal64(1250012)
    '''
    This channel-based attribute returns the maximum DC power the channel can  switch.
github ni / nimi-python / generated / niswitch / session.py View on Github external
'''
    max_ac_voltage = attributes.AttributeViReal64(1250007)
    '''
    This channel-based attribute returns the maximum AC voltage the channel  can switch.
    The units are volts RMS.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_ac_voltage.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_ac_voltage.Session instance, and calling set/get value on the result.:

        session['0,1'].max_ac_voltage = var
        var = session['0,1'].max_ac_voltage
    '''
    max_carry_ac_current = attributes.AttributeViReal64(1250011)
    '''
    This channel-based attribute returns the maximum AC current the channel  can carry.
    The units are amperes RMS.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_carry_ac_current.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_carry_ac_current.Session instance, and calling set/get value on the result.:

        session['0,1'].max_carry_ac_current = var
        var = session['0,1'].max_carry_ac_current
    '''
    max_carry_ac_power = attributes.AttributeViReal64(1250015)
    '''
    This channel-based attribute returns the maximum AC power the channel can  carry.
github ni / nimi-python / generated / niswitch / session.py View on Github external
'''
    max_switching_dc_current = attributes.AttributeViReal64(1250008)
    '''
    This channel-based attribute returns the maximum DC current the channel  can switch.
    The units are amperes.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_switching_dc_current.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_switching_dc_current.Session instance, and calling set/get value on the result.:

        session['0,1'].max_switching_dc_current = var
        var = session['0,1'].max_switching_dc_current
    '''
    max_switching_dc_power = attributes.AttributeViReal64(1250012)
    '''
    This channel-based attribute returns the maximum DC power the channel can  switch.
    The units are watts.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_switching_dc_power.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_switching_dc_power.Session instance, and calling set/get value on the result.:

        session['0,1'].max_switching_dc_power = var
        var = session['0,1'].max_switching_dc_power
    '''
    number_of_relays = attributes.AttributeViInt32(1150014)
    '''
    This attribute returns the number of relays.
github ni / nimi-python / generated / niswitch / session.py View on Github external
'''
    max_switching_ac_current = attributes.AttributeViReal64(1250009)
    '''
    This channel-based attribute returns the maximum AC current the channel  can switch.
    The units are amperes RMS.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_switching_ac_current.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_switching_ac_current.Session instance, and calling set/get value on the result.:

        session['0,1'].max_switching_ac_current = var
        var = session['0,1'].max_switching_ac_current
    '''
    max_switching_ac_power = attributes.AttributeViReal64(1250013)
    '''
    This channel-based attribute returns the maximum AC power the channel can  switch.
    The units are volt-amperes.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_switching_ac_power.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_switching_ac_power.Session instance, and calling set/get value on the result.:

        session['0,1'].max_switching_ac_power = var
        var = session['0,1'].max_switching_ac_power
    '''
    max_switching_dc_current = attributes.AttributeViReal64(1250008)
    '''
    This channel-based attribute returns the maximum DC current the channel  can switch.
github ni / nimi-python / generated / niswitch / session.py View on Github external
'''
    A string that contains a brief description of the specific  driver.
    '''
    specific_driver_revision = attributes.AttributeViString(1050551)
    '''
    A string that contains additional version information about this  instrument driver.
    '''
    specific_driver_vendor = attributes.AttributeViString(1050513)
    '''
    A string that contains the name of the vendor that supplies this driver.
    '''
    supported_instrument_models = attributes.AttributeViString(1050327)
    '''
    Contains a comma-separated list of supported instrument models.
    '''
    temperature = attributes.AttributeViReal64(1150019)
    '''
    This attribute returns the temperature as read by the Switch module.     The units are degrees Celsius.
    '''
    trigger_input = attributes.AttributeEnum(attributes.AttributeViInt32, enums.TriggerInput, 1250022)
    '''
    This attribute specifies the source of the trigger for which the switch  device can wait when processing a scan list.  The switch device waits for  a trigger when it encounters a semi-colon in a scan list.  When the trigger  occurs, the switch device advances to the next entry in the scan list.
    '''
    trigger_input_polarity = attributes.AttributeEnum(attributes.AttributeViInt32, enums.TriggerInputPolarity, 1150010)
    '''
    Determines the behavior of the trigger Input.
    '''
    trigger_mode = attributes.AttributeViInt32(1150005)
    '''
    This attribute has been deprecated and may be removed from a future release of  NI-SWITCH.  Use the niSwitch_RouteTriggerInput and/or niSwitch_RouteScanAdvancedOutput  functions instead.
    '''
    wire_mode = attributes.AttributeViInt32(1250017)
github ni / nimi-python / generated / niswitch / session.py View on Github external
'''
    max_carry_ac_current = attributes.AttributeViReal64(1250011)
    '''
    This channel-based attribute returns the maximum AC current the channel  can carry.
    The units are amperes RMS.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_carry_ac_current.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_carry_ac_current.Session instance, and calling set/get value on the result.:

        session['0,1'].max_carry_ac_current = var
        var = session['0,1'].max_carry_ac_current
    '''
    max_carry_ac_power = attributes.AttributeViReal64(1250015)
    '''
    This channel-based attribute returns the maximum AC power the channel can  carry.
    The units are volt-amperes.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_carry_ac_power.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_carry_ac_power.Session instance, and calling set/get value on the result.:

        session['0,1'].max_carry_ac_power = var
        var = session['0,1'].max_carry_ac_power
    '''
    max_carry_dc_current = attributes.AttributeViReal64(1250010)
    '''
    This channel-based attribute returns the maximum DC current the channel  can carry.
github ni / nimi-python / generated / niswitch / session.py View on Github external
analog_bus_sharing_enable = attributes.AttributeViBoolean(1150018)
    '''
    Enables or disables sharing of an analog bus line so that multiple  NI SwitchBlock devices may connect to it simultaneously. To enable  multiple NI SwitchBlock devices to share an analog bus line, set this  attribute to VI_TRUE for each device on the channel that corresponds  with the shared analog bus line. The default value for all devices is  VI_FALSE, which disables sharing of the analog bus.
    Refer to the Using the Analog Bus on an NI SwitchBlock Carrier topic  in the NI Switches Help for more information about sharing the analog bus.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    analog_bus_sharing_enable.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    analog_bus_sharing_enable.Session instance, and calling set/get value on the result.:

        session['0,1'].analog_bus_sharing_enable = var
        var = session['0,1'].analog_bus_sharing_enable
    '''
    bandwidth = attributes.AttributeViReal64(1250005)
    '''
    This channel-based attribute returns the bandwidth for the channel.
    The units are hertz.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    bandwidth.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    bandwidth.Session instance, and calling set/get value on the result.:

        session['0,1'].bandwidth = var
        var = session['0,1'].bandwidth
    '''
    cabled_module_scan_advanced_bus = attributes.AttributeViInt32(1150009)
    '''
    This attribute has been deprecated and may be removed from a future release of  NI-SWITCH.  Use the niSwitch_RouteScanAdvancedOutput function instead.
github ni / nimi-python / generated / niswitch / session.py View on Github external
In a scan list, a semi-colon (;) is used to indicate that at that point in  the scan list, the scan engine should pause until a trigger is received  from the trigger input.  If that trigger is user generated through either  a hardware pulse or the Send SW Trigger operation, it is necessary for the  user to know  when the scan engine has reached such a state.
    '''
    logical_name = attributes.AttributeViString(1050305)
    '''
    A string containing the logical name you specified when opening the  current IVI session.
    You may pass a logical name to the niSwitch_init or  niSwitch_InitWithOptions functions.   The IVI Configuration utility must contain an entry for the logical name.   The logical name entry refers to a virtual instrument section in the  IVI Configuration file.  The virtual instrument section specifies a physical  device and initial user options.
    '''
    master_slave_scan_advanced_bus = attributes.AttributeViInt32(1150007)
    '''
    This attribute has been deprecated and may be removed from a future release of  NI-SWITCH.  Use the niSwitch_RouteScanAdvancedOutput function instead.
    '''
    master_slave_trigger_bus = attributes.AttributeViInt32(1150006)
    '''
    This attribute has been deprecated and may be removed from a future release of  NI-SWITCH.  Use the niSwitch_RouteTriggerInput function instead.
    '''
    max_ac_voltage = attributes.AttributeViReal64(1250007)
    '''
    This channel-based attribute returns the maximum AC voltage the channel  can switch.
    The units are volts RMS.

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    max_ac_voltage.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    max_ac_voltage.Session instance, and calling set/get value on the result.:

        session['0,1'].max_ac_voltage = var
        var = session['0,1'].max_ac_voltage
    '''
    max_carry_ac_current = attributes.AttributeViReal64(1250011)
    '''
    This channel-based attribute returns the maximum AC current the channel  can carry.
github ni / nimi-python / generated / niswitch / session.py View on Github external
Example:  '~CH1->CH2' tells the switch to break the path from channel CH1 to  channel CH2.
    To tell the switch device to wait for a trigger event, use the following  character as a separator between paths:
    ; (semi-colon)
    Example:  'CH1->CH2;CH3->CH4' tells the switch to make the path from channel CH1  to channel CH2, wait for a trigger, and then make the path from CH3 to  CH4.
    '''
    scan_mode = attributes.AttributeEnum(attributes.AttributeViInt32, enums.ScanMode, 1250021)
    '''
    This attribute specifies what happens to existing connections that  conflict with the connections you make in a scan list.  For example, if  CH1 is already connected to CH2 and the scan list instructs the switch  device to connect CH1 to CH3, this attribute specifies what happens to the  connection between CH1 and CH2.
    If the value of this attribute is NISWITCH_VAL_NONE, the switch device  takes no action on existing paths.  If the value is  NISWITCH_VAL_BREAK_BEFORE_MAKE, the switch device breaks conflicting paths  before making new ones.  If the value is NISWITCH_VAL_BREAK_AFTER_MAKE,  the switch device breaks conflicting paths after making new ones.
    Most switch devices support only one of the possible values.  In such  cases, this attribute serves as an indicator of the device's behavior.
    '''
    serial_number = attributes.AttributeViString(1150015)
    '''
    This read-only attribute returns the serial number for the switch device  controlled by this instrument driver.  If the device does not return a  serial number, the driver returns the IVI_ERROR_ATTRIBUTE_NOT_SUPPORTED error.
    '''
    settling_time = attributes.AttributeViReal64(1250004)
    '''
    This channel-based attribute returns the maximum length of time from after  you make a connection until the signal flowing through the channel  settles. The units are seconds.
    the greater value of the settling time and the value you specify as the  scan delay.

    Note: NI PXI-2501/2503/2565/2590/2591 Users--the actual delay will always be

    Tip:
    This property can use repeated capabilities (usually channels). If set or get directly on the
    settling_time.Session object, then the set/get will use all repeated capabilities in the session.
    You can specify a subset of repeated capabilities using the Python index notation on an
    settling_time.Session instance, and calling set/get value on the result.:

        session['0,1'].settling_time = var
        var = session['0,1'].settling_time
    '''
    simulate = attributes.AttributeViBoolean(1050005)