Hallo
your problem might be specific to the RS-485-converter. Hard to say from here.
One word of caution although for semphoers. The release-semaphore vi does not perform an action if you enter it with an error. So if something happend in the vi that is singled out by semaphores, you may end without really freeing the sema4. The next to access it will hang for ever if you have not selected the Timeout option.
So maybe check for that possibility.
Gabi
7.1 -- 2013
CLA