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
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ammar al jodah
el 2 de Dic. de 2018
Comentada: ammar al jodah
el 23 de Feb. de 2021
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.
0 comentarios
Respuesta aceptada
Más respuestas (2)
XiuZhi Zhang
el 26 de Abr. de 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!
My E-mail:zhangxzh17@lzu.edu.cn
Douglas Crowder
el 17 de Feb. de 2020
Same here, this code would be really helpful! If you could post the final version, that would save many of us :)
Ver también
Categorías
Más información sobre Target Computer Setup en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!