Hi Suleman Shafqat,
I try to do hardware in loop simulation like you.and I am confused with the same problem that I used the serial receive block but got all zeros.Have you solved this problem yet? How to configure this block to make it work?
many thanks!
i didnt used them yet but i know they will work.
when u use them u will have to change some settings, please tell me also about that.
Regards,
Suleman
thanks for your reply?
but the block "query instrument" seems only can work in "nomal simulation mode",when I change to the "external mode“ for rtwin target in Real-Time Workshop, the build procedure for my model aborted due to the error that "no rule to make target “QueryInstrument.obj".
but I find a block named“Packet Input" in "Real-time windows target" is easily to configure and now I can use this block in the real-time environment to recieve serial data.
Regards,
Yao Zhang