01-17-2008 02:15 PM
Tst- I just tried the code in the png file in LabVIEW 7.0, and (at least with the version of the File/Directory Info VI that comes with LabVIEW 7.0) it doesn't behave in the same way. Instead, the VI hangs until the File Info VI completes, and then the numeric indicator begins incrementing. It sounds like if my company were ready to upgrade to LabVIEW 8.5 (which they're unfortunately not), this could probably be done like you suggested. In the meantime, I'll throw together a DLL to do the dirty work and created a wrapper VI for it.
If anyone's interested, I can attach the files, just let me know. It should be a decent work-around for those of us stuck in 7.0 land.
01-17-2008 02:45 PM - edited 01-17-2008 02:47 PM
01-17-2008 02:57 PM
Hi TonP,
Thanks for the response, but this doesn't appear to resolve the issue in LabVIEW 7.0. The trouble is that the File Info VI block the entire LabVIEW process while it waits for a response from the network. So while File Info runs, neither the subVI nor the calling VI can execute. (I just tested it out, and this behavior seems to occurs even if the subVI is executed by a call to "Run VI" configured to not wait for the VI to complete.) According to tst, it sounds like sometimes between LabVIEW 7.0 and 8.5 some undesirable blocking was fixed, but upgrading LabVIEW isn't an option for me right now. (Not enough time for regression testing, etc.)
If you can get this to work appropriately, let me know. I am by no means a LabVIEW guru.
Thanks, -Rob
01-17-2008 03:21 PM