My Quanser VoltPAQ-X2/X4 amplifier is powered, but when enabled, the LED does NOT turn green (i.e. stays “off”) after running the QUARC model. How can I enable the amplifier?
If your VoltPAQ-X2/X4 amplifier has an Enable port, then it must be enabled by the QUARC controller.
First, make sure the enable cable is connected from your DAQ device to the VoltPAQ-X2/X4 enable port. Typically, the first digital I/O header (DIO0) is used on the DAQ.
Next, verify that the initial and final values for the digital channels are properly configured in the HIL Initialize block of your Simulink diagram. Make sure the Digital Outputs channels [0:1] for VoltPAQ-X2 and [0:3] for VoltPAQ-X4 have been entered and the initial and final values are set to 0. The amplifiers are enabled when the digital output channels are set to HIGH or 1.
Configure the HIL Write block to apply 1 to those digital output channels (i.e. [0:1] or [0:3]). The amplifier will be enabled when the QUARC model is running.