School attendance

My daughter is in 1st year in Scotland and since October she is refusing to go not every day but its getting that way.  She is undiagnosed but on the pathway but we have another 3 years to wait at least. 

I have tried talking to the school but not getting anywhere at one point i was accused of comparing my two children.  My older daughter is autistic and has a diagnosis.  Does anyone have any experience of this.

Really worried about my daughters education.

Has any one went through similar.