Measurements of high energy photons in Z-pinch experiments on primary test stand.