03-30-2006 07:46 AM
03-30-2006 08:05 AM
One more thing - the disk file system on the target machines is NTFS, and an operator with user privileges does have read access to the filter files.
Bandit
03-30-2006 08:27 AM - edited 03-30-2006 08:27 AM
Message Edited by GerdW on 03-30-2006 03:28 PM
03-30-2006 10:58 AM
Thanks for the reply GerdW.
A little playing around shows that the filter files aren't being read from disk. I had wired an error LED connected to the output of the vi for loading the dfd filter, as you don't get a full error cluster from it. However, I had forgotten that I had hidden it on the front panel! (It's a while since I coded this). Once it was shown it was aparent that the filter wasn't loaded. Guess my error handling could be better at this point, but I'm in the middle of version 2 of this application so I'll try and do better.
Anyhow, all works OK if the user is promoted to power user (on Win2K). Privileges looks more complex on WinXP but it's besides the point - in real life I can't dictate this to my users, security considerations state they must be plain old users.
So my best solution is to make the sub folder with the filters more accessible to them - don't know how to do this yet, but I'll try. It is a folder that is created by the installer, and my next version will be ported into LabVIEW 8 so perhaps that helps me.
Fallback solution is to move the filters out from C:\programs, but I'd rather keep them where they are if I can.
Anyhow, top answer GerW, I'll post this and rate you accordingly.
Bandit.
03-31-2006 03:41 AM
Hi,
I realise this one is from the CVI forums, however, since it uses the system exec call, you should be able to try it in LabVIEW to change the permissions.
http://forums.ni.com/ni/board/message?board.id=180&message.id=21795&query.id=31940#M21795
Hope that helps
Thanks
Sacha Emery
National Instruments (UK)
03-31-2006 04:40 AM
03-31-2006 07:26 AM - edited 03-31-2006 07:26 AM
Message Edited by Jeff B on 03-31-2006 07:26 AM