Below is the program. Exactly i wanted to know how the sprintf line execute and what is mean by "O1$J%5.1f$X%8.3f$" and what this will do while execution of the program?
fLastDisp = SP.fDisp;
GetCtrlVal(panel, PN_TEST_NU_RETURN_RATE, &fReturnRate);
GetCtrlVal(panel, PN_TEST_NU_INCR, &fIncr);
sprintf(sText, "O1$J%5.1f$X%8.3f$", fReturnRate, fabs(fIncr));
FlushInQ (CC.uComPort);
ComWrt (CC.uComPort, sText, strlen(sText));
TimeDelay(.5);
SetCtrlVal(pnTest, PN_TEST_TX_STATUS, "jogged upwards..");
Thanks in advance.