Hi Jeremy R,
Thanks for ur Input . As per you suggestion i have modified the code to read the file which is as follows
niHWS_OpenFile ("D:\USB Project\pace500.hws", niHWS_Val_ReadOnly,
&fileHandle);
niHWS_GetWfmReference (fileHandle, "NULL", "NULL", &wfmReference );
niHWS_ReadAnalogI16 (wfmReference, 10000, samples, wave1);
//niHWS_WriteAnalogI16 (wfmReference , 1000, samples);
AO_Configure (1, chanel, 0, 0, 10.0, 0);
memcpy (wave_two, samples, sizeof(samples));
memcpy (wave_two + 50, samples, sizeof(samples));
WFM_Scale (device, 0, 1000, 1.0, wave_two, wave_bin_two);
WFM_Load (device, 1, chan,wave_bin_two, 1000, 0, 0);
WFM_Group_Control (device, 1, 1);
I have created the waveform form waveform editor
with sampling rate 500K/S .Pl find the attachment for the editor wave form . The problem i am facing is not getting any out put . Pl review the code and let me any modification to be done get the required out .
Apriciate ur help
Regards,
Sharanu