First step is, make sure the compressor clutch is turning on. Use the Auto Active Test in the IPDM, see page PCS-8 here for how to do it:
https://www.nicoclub.com/service-manual ... %2FPCS.pdf
If the clutch clicks during the test, you know the problem is that the compressor isn't being activated, not that it's bad. Go to (2).
(1) If it doesn't click, refer to page PG-88 here for the IPDM layout.
https://www.nicoclub.com/service-manual ... 4%2FPG.pdf
The IPDM is located upside down at the back of the underhood fuse & relay box. Check fuse #53 with a test lamp, if it's blown then that may be the whole problem. If it keeps blowing then your compressor probably has a shorted clutch coil. If the fuse is good, put the test light on pin 56 Sky Blue and run the Auto Active test again. It should light 5 times, if it doesn't then your IPDM is bad. If it does then either your compressor clutch is open or there's a break in the wire between the IPDM and compressor. An ohmmeter can tell you which.
2) If the compressor circuit checks okay, there are four sensors which can cause the compressor to not activate. The first is the refrigerant pressure sensor. The ECM monitors that, so any good scanner should be able to stream the voltage. Static pressure generally reads around 1V, and when they fail they virtually always flatline at 0V. If that checks okay, the other three sensors are monitored by the HVAC controller (AC Auto Amp in Nissan-speak). The Ambient sensor is very easy to check, if the temperature displayed in the cluster is "---" or "-22" then the Ambient sensor is open circuit and the HVAC C/U thinks your car is in Siberia. The In-Car and Intake sensors aren't so easy, but only because you need to pull some panels. The In-Car is located near the driver's right knee and requires dropping the lower dash. The Intake is located inside the HVAC box on the evaporator fins, but the connector is accessible by pulling the glove box. Both are 2-pin connectors with one Green and one White wire. You can check them by using a cut safety pin or paper clip to short Green-to-White at the back of the connector, then see if the AC will turn on. If it does, you've found the bad sensor.