Hi, Salvador:
Here are there questions about this example ( please see the attachment):
The program can run for several seconds. Then I get this error:
NON-FATAL RUN-TIME ERROR:
"AIAO_Sychronize.c", line 142, col 18, thread id 0x0000090C: Function WFM_DB_HalfReady: (return value == -10608 [0xffffd690]). noTransferInProgError: No transfer is in progress for the specified resource.
The program should outputs two sine waves of different frequencies to analog outputs 0 and 1. It should simultaneously synchronously reads from channels 0 and when the acquisition stops it graphs channel 0.
However, I can only see the outputs for several seconds, and then I got the error information. How does this happen? (If I change the value of NORMAL_
MODE from 0 to 1, the outputs can last a few seconds more)
Moreover, it is expected that the AOs won't actually output any points until the AI starts doing D/A conversions and so they will both start at the same time, but when I run the program the AOs output without any AI starting.
Finally, it is said that when the acquisition
stops the program should graph channel 0. How can I do this? Does that mean when I stop my snesor's working?
Thank you very much!
Marlon