solved , several bugs where in the orignal program, the while loop needs to have the status read inside, the count read needs to be read in two lines and then combined together.
Simulink realtime driver for Advantech PCI-1716
10 views (last 30 days)
I have been trying to write an s-function for the above card but without any success. The code compiles correctly, but when I run it on the target computer, it never gave me correct results. The while loop for checking the status never breaks, if I remove it, the output is always 10. I appreciate any help. Thank you.
More Answers (2)
XiuZhi Zhang on 26 Apr 2019
Hi friend,I also use this card in xpc,And I search the driver for several weeks,would you please send me the whole driver code?
Thank you very much!