LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"set rights" serial port windows

Hello,
this is not really an labview question,
but it is of importance, when you want to work
under windows XP (and probably also under WIN NT
and W2K) without administrator rights or if you
want to distribute your application to another
machine where you don't have administrator rights.

I was not able to configure the com ports under WIN XP
without admin privileges.
Who knows how to set the rights for users on a
WIN XP machine, to be able to configure the
serial ports.

Regards, Stefan
0 Kudos
Message 1 of 14
(6,307 Views)
please have a look at the following link

regards timo
0 Kudos
Message 2 of 14
(6,291 Views)

Hi Timo,

thank you for the link!

Here on my XP machine it is quite different, e.g. under file properties there is no

security tab:womansad:

If I want to set the right for a file or a folder I have to use "cacls.exe".

E.g. to  be able to work with labview 6.0.2  under my XP installation as a normal user

I had to give the following command (as a administrator):

cacls "C:\Programme\National Instruments\LabVIEW 6" /e /t /g ZSW119\spofahl:f

So the command for the max config file would be:

cacls C:\Programme\National Instruments\MAX\config.mxs /e /g ZSW119\spofahl:w

But the problem remains the same, you are still not allowed to configure the com-portsSmiley Sad

Regards, Stefan

0 Kudos
Message 3 of 14
(6,280 Views)
I forgot the quotes:
cacls "C:\Programme\National Instruments\MAX\config.mxs" /e /g ZSW119\spofahl:w
 
0 Kudos
Message 4 of 14
(6,271 Views)
has the normal user read/write access to the NI folder?

what kind of visa version you use, since visa 3.2 there should be no errror "An unknown error occured while ...."
0 Kudos
Message 5 of 14
(6,257 Views)


@stefan! wrote:

Hi Timo,

thank you for the link!

Here on my XP machine it is quite different, e.g. under file properties there is no

security tab


That should only happen if you have formatted the harddisk as FAT. In that case individual file security settings are not really possible under Windows as FAT has no concept of file security.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 6 of 14
(6,254 Views)
With Windows XP, it's only important what format the SYSTEM disk is.  Even if all other disks are formatted NTFS, if the boot partition if FAT, there'll be no security options whatsoever.

As far as I know anyhow.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 7 of 14
(6,245 Views)
You are probably right here. But the opposite won't work. If only the boot partition is NTFS you won't get file security to the individual file level on FAT formatted drives.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 8 of 14
(6,239 Views)
That's true too of course.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 9 of 14
(6,237 Views)
> has the normal user read/write access to the NI folder?
Hi Timo,
the answer is no. I had to the the rights properly. And newer had the
errar message: "An unknown error occured while ...."
This is not the problem.
My question is:
How can I set the rights to be able configure serial ports for normal
users on an XP machine.
Regards, Stefan
0 Kudos
Message 10 of 14
(6,226 Views)