torekp Posted June 7, 2013 Report Share Posted June 7, 2013 I open and close an activeX reference. (In case it matters, the activeX commands control a Hamamatsu OEM mini spectrometer.) Problem: after the Labview closes the reference, in reality it is still open a little while. If I re-run my VI and thereby try to open the activeX connection while it wasn't yet closed, bad things happen. So, how can I check whether the reference/connection is actually closed? Either this reference specifically, or some way to list all open activeX references, would be cool. Quote Link to comment
candidus Posted June 23, 2013 Report Share Posted June 23, 2013 This might be a shutdown issue of your component. If it didn't shutdown yet and you try to reopen it all kinds of evil things may happen. I don't think this is a LV related issue. Here is an ugly idea how to solve it: Do some tests how long a proper shutdown takes and add an appropriately long delay before returning from your VI. IMHO any other approach would involve external code. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.