How come I can't get any voltage out of this op amp ? (I have to use that one, can't change it)
THe green signal is the input, the blue one is the output.
The answer is in the datasheet (emphasis added):
Output Transistor The LT1011 output transistor is truly floating in the sense that no current flows into or out of either the collector or emitter when the transistor is in the “off” state. The equivalent circuit is shown in Figure 5.
To get an output that goes from near ground to some other (positive) voltage (assuming emitter is grounded) you need a pullup resistor. This allows a comparator with (say) +/- 15V supplies to be used with 3.3V or 5V logic.
For example, here is a pair used as a "window comparator" with 3.3V output. The output is only high when the input is within the range of +5 to -5V.