It is clear from your recent questions that you feel exploited in your lab, and it is good that you want to do something about it.
However, first things first. What is your agreement with your current mentor / lab head / whoever? Essentially, what is your "job"? If you have been specifically hired to "help out with the programming", or something like that, it will be difficult to convince whoever is paying your salary that you now actually would like to do something different. Not impossible, but maybe also not easy.
On the other hand, if you have actually been hired to do research, but now end up being more of a scientific programmer because that's what the lab currently needs, it is time for a good one-on-one meeting with your lab head. You wrote in a comment that you do not foresee this going well, but I really see no way how you can change your situation without talking about it very explicitly to your lab head. It should be easy to see for most sane persons that not only your lab has needs, but you and your career have needs as well (and working as a scientific programmer can easily be a dead end for an academic career - no first-authored publications, no faculty job). Try to make a plan for a suitable compromise between you helping out the lab with your programming skills, will still being able to progress your own career. Should your lab head really not be willing to compromise at all, it may be time to move on.
Possible compromises could include:
- Hiring an actual scientific programmer, perhaps with funding that you help acquiring
- You training some of the junior staff to do their own programming
- You helping others in their programming problems, but ultimately let them do the majority of it themselves
- You supervising some undergrad or master students that can help out with programming tasks
that they appreciate more (because they are their own PhD students and now postdocs, it's emotionally logical, I'd say)
That's not logical, that's BS. A lab where people "coming from the outside" are valued less than those that "have always been there" is a terrible, toxic environment.