Hello,
I am trying to help my customer to clean up his HSDIO code by breaking down the process of initialization, generate and read waveform and close. The idea is to reduce the amount of times that he have to initialize and close the read and generation task of HSDIO.
When I do this, I can run the HSDIO initialize and load the waveform and generate, but after 2 times of successful generation, I got this message during the third generation :
niHSDIO Write Named Waveform (1D U32).vi<ERR>Driver Status: (Hex 0xBFFA4AC8) DAQmx Error -200311 occurred:
Measurements: You cannot write data outside the boundaries of your waveform.
Make sure you are not trying to write more data than your waveform can accomodate and that your write location and write offset are set correctly.
Status Code: -200311
The error can easily be replicated by editing an example code to do initialize, load a same waveform 3 times to the HSDIO such as the file attached.
There is not much information on the error so my question is what is going on inside the HSDIO that causes the message? If someone would like to simplify HSDIO call, what would be the best practices to do that?
Regards,
James G
- Meadow -
LabVIEW 7.0 - 2011, Vision, RT, FPGA
TestStand 3.0 - 4.5