This paper presents a mathematical model for simulating a photovoltaic cell that can be used in various applications. The proposed model depends on the parameters listed in the manufacturer's datasheet for the specific photovoltaic cell. The mathematical model of the photovoltaic cell is simulated using LabVIEW software. The simulation results showed that the proposed mathematical model gives accurate results and the simulator provides the characteristic curves of the cell with low error rates. The simulation confirmed that the mathematical model can be adopted with an error that does not exceed 1% in different studies and applications of solar photovoltaic energy. Using LabVIEW software allows effectively implementing these applications in simulation.