DICOM and hounsfield unit ranges

Dear @wkozlows,

Thank you so much for your detailed explanation. Thanks to you and @vasilis, I have successfully built the voxel file. However, I am now struggling with the source definition since the RTplan I am using deals with a Photon beam,. I have found some discussions on the forum that address this point, but I am still confused. After creating the BEAMSPOT, BEAMPOS, and BEAMDIR cards, going to the RTplan modality, and clicking on ‘create’, I received an error message (see the picture “error”). Could you please take a look at the source definition (SRC_photon) and help me fix the issue?

The second point I need help with is regarding the USRBIN definition. I am aiming to get results from it and compare it to DVH (using the urbin2rtdose). I defined the card, but when I started the run, it ended after a few cycles with the message “Finished with error.” Perhaps it is related to the source definition.
Thank you for your patience while I worked on this. I greatly appreciate your promptness in helping me resolve these issues.

Regards

Error