AnsweredAssumed Answered

VRf: C and VEE sharing serial port

Question asked by VRFuser on Sep 8, 1997
From:  Bruce Wenner
     email: Bruce_Wenner@hp-usa-om22.om.hp.com
    
    
     RE:    C and VEE serial port sharing
    
     I need to be able to access the same serial device from both VEE and
     C/C++.  Access will not be at the same time, but the device will be
     set up using a C function (called from VEE) and will later be accessed
     using standard VEE Direct I/O.
    
     1. Should this configuration work?  I plan to close the port before
     switching access methods.
    
     2. Does VEE open all ports during pre-run or as they are encountered? 
     Will I need to close the port in VEE before calling the C function
     even though I haven't done any Direct I/O yet?
    
     Any other gotchas would be appreciated.
    
     Regards,
    
     Bruce Wenner
     HP St. Paul


Outcomes