Wheel.lvlib:Wheel_Set.vi

Wheel.lvlib:Wheel_Set

Wheel.lvlib:Wheel_Set.vi

Help by FRC Team 836 - The RoboBees

This VI will set the desired Revolutions Per Minute (RPM) for a wheel.

Wheel.lvlib:Wheel_Set.vi

Wheel.lvlib:Wheel_Set.vi

cstr

DevRef

ccclst

MotorControlDevRef

    cerrcodeclst

    DeviceStatus

      cbool

      status

      status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

      Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

      ci32

      code

      code is the error or warning code.

      Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

      cstr

      source

      source describes the origin of the error or warning.

      Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cenum

    Type

    ccclst

    PWM

      cenum

      PWM Channel

      ccclst

      DeadBand

        cstr

        Name

        ci32

        maxPositivePwm

        ci32

        minPositivePwm

        ci32

        centerPwm

        ci32

        maxNegativePwm

        ci32

        minNegativePwm

        cu16

        angularRange

    ccclst

    CAN

      cu8

      Device Number

      cenum

      Control Mode

      cdlrn

      Semaphore

      semaphore is a reference to an existing or newly created semaphore.

      cdbl

      Max Vout

      cenum

      TalonSRX Control Mode

      Control Mode specifies how the Talon SRX will control the motor. Percent VBus is the standard open-loop mode that is also accessible via the PWM interface on the Talon SRX.

    cbool

    Invert

ccclst

Control Gains

    ci64

    Period (ms)

    cdbl

    TBH Gain

    ci32

    Priority

    cnclst

    PID gains

    PID gains specifies the proportional gain, integral time, and derivative time parameters of the controller.

      cdbl

      proportional gain (Kc)

      proportional gain (Kc) specifies the proportional gain of the controller. The default is 1.

      cdbl

      integral time (Ti, min)

      integral time (Ti, min) specifies the integral time in minutes. The default is 0.01.

      cdbl

      derivative time (Td, min)

      derivative time (Td, min) specifies the derivative time in minutes. The default is 0.

    cdbl

    Stable (sec)

    cdbl

    Range

icclst

Shooter Wheel DevRef Out

    idatavalref

    Shooter Config reference

    icclst

    Shooter Data

      icclst

      MotorControlDevRef

        ierrcodeclst

        DeviceStatus

          ibool

          status

          status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

          Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

          ii32

          code

          code is the error or warning code.

          Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

          istr

          source

          source describes the origin of the error or warning.

          Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

        ienum

        Type

        icclst

        PWM

          ienum

          PWM Channel

          icclst

          DeadBand

            istr

            Name

            ii32

            maxPositivePwm

            ii32

            minPositivePwm

            ii32

            centerPwm

            ii32

            maxNegativePwm

            ii32

            minNegativePwm

            iu16

            angularRange

        icclst

        CAN

          iu8

          Device Number

          ienum

          Control Mode

          idlrn

          Semaphore

          semaphore is a reference to an existing or newly created semaphore.

          idbl

          Max Vout

          ienum

          TalonSRX Control Mode

          Control Mode specifies how the Talon SRX will control the motor. Percent VBus is the standard open-loop mode that is also accessible via the PWM interface on the Talon SRX.

        ibool

        Invert

      ififorn

      Set Point

      ififorn

      Actual

ierrcodeclst

Error Out

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ibool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ii32

    code

    code is the error or warning code.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    istr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

Wheel.lvlib:Wheel_Set.vi

Wheel.lvlib:Config.ctl

Wheel.lvlib:Config.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Motion Control\Shooter_Wheel\Config.ctl

WPI_MotorControlDeviceRef.ctl

WPI_MotorControlDeviceRef.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\MotorControl\WPI_MotorControlDeviceRef.ctl

WPI_CANJaguar_ControlMode.ctl

WPI_CANJaguar_ControlMode.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\CAN\Jaguar\SubVIs\WPI_CANJaguar_ControlMode.ctl

Wheel.lvlib:Data.ctl

Wheel.lvlib:Data.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Motion Control\Shooter_Wheel\Data.ctl

WPI_CANTalonSRX_APIControlMode.ctl

WPI_CANTalonSRX_APIControlMode.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\CAN\TalonSRX\WPI_CANTalonSRX_APIControlMode.ctl

FPGA_DIOPWMChannel.ctl

FPGA_DIOPWMChannel.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOPWMChannel.ctl

WPI_PWMDeadband.ctl

WPI_PWMDeadband.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\PWM\WPI_PWMDeadband.ctl

Wheel.lvlib:WheelControl.ctl

Wheel.lvlib:WheelControl.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Motion Control\Shooter_Wheel\WheelControl.ctl

WPI_MotorControlType.ctl

WPI_MotorControlType.ctl

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Rock Robotics\WPI\MotorControl\WPI_MotorControlType.ctl

Wheel.lvlib:Wheel_GetSet.vi

Wheel.lvlib:Wheel_GetSet.vi

C:\Program Files (x86)\National Instruments\LabVIEW 2015\user.lib\836-Library\Motion Control\Shooter_Wheel\Wheel_GetSet.vi

Semaphore RefNum

Semaphore RefNum

C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib\Utility\semaphor.llb\Semaphore RefNum

"Wheel.lvlib:Wheel_Set.vi History"

Current Revision: 85


Position in Hierarchy

Wheel.lvlib:Wheel_Set.vi


Iconified Cluster Constants