The X-ray Imaging Crystal Spectrometer (XICS) for Korea Superconducting Tokamak Advanced Research (KSTAR) provides the ion temperature and toroidal rotation velocity. These parameters are calculated through the Doppler broadening and its shift from the He-like argon spectra. A Matlab-based data analysis program for XICS has been used in KSTAR since 2009. This analysis program utilizes a least-square fit to provide a spatially resolved X-ray image so that it takes a long time for the image file processing procedures including the image correction. A new LabVIEW-based program is recently developed in order to reduce the data processing time with focusing only in the plasma core region where the image correction is not critical. This program integrates the detector control, transferring of the collected image to the analysis server, and image processing for the spectral analysis. It is also shown that a possible solution to acquire the measured image directly from the detector allows quasi-real-time measurements of the ion temperature and toroidal rotation velocity by using the LabVIEW-based program.