This paper describes a general model of a photovoltaic module that can be used in studies and research focusing on photovoltaic generators. The model uses the general specifications provided in the module's datasheet. The model was used to create a simulator in LABView software, unlike most previous papers that used other simulation environments. The simulator was tested on a Shell SP150-PC photovoltaic solar module and showed results that were very accurate compared to the mathematical model, with a maximum error of less than 1%. The simulator can therefore be used in various studies and research on photovoltaic energy.