07-12-2018 08:51 PM
Hi,
I creat a vi to setup and communicate with the ft2232h chip.As you can see,open and get a handle stored in the shift register ,then read data from the chip.It work ok.
But once I created a user vi to call the vi ,a problem was occurred : when I try to read data by the vi,it only return 0xFFFF(while if handle=0,as not open, it return 0).
For debug,I open the vi's front,it became ok ;I let the vi's Handle control return to the user vi and show in the user vi's front,it became ok.
So I only can judge the problem is maybe at the shift register but can't find why?
07-12-2018 09:39 PM
It would be better if you attached the actual VI (and any subVI's). Small screen shots don't show us what is happening in the other cases. And the cases within the cases are harder to figure out. I believe you probably have a logic error where the case you think should be executing is not.
07-13-2018 01:16 AM
For some reason, I delected some detail.thanks for your advice.