What comes first Equipment Qualification or Software Validation?

Dear all scientific personnels,

I came across very typical situation. I went for UV-Probe software validation. But UV Spectrophotometer was not in calibrated state. Should I continue with software validation? According to me equipment must be in calibrated and qualified state as standalone and then we can consider attached software validation as instrument is data generator and software just displays in human readable format. So if any one can help me with standard document or guideline which clearly states that equipment qualification and calibration is a prerequisite before test execution of software validation…