LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

my program run only on one account

Hi, My program run with the local administrator account but fail with other account. problem come from data who are'nt correctly send to the gpib instrument.(not sure if the problem is behind the sent, i need to check that) I've check and modify access right on: - my program - Documents and settings\account\local settings - program files\national intruments what can i do? hdan.
0 Kudos
Message 1 of 9
(3,177 Views)

What OS (windows version - 2K? XP? Vista?) and what version of Labview are you using?

You may have to set the administrative rights appropriately on your PC.

RayR

0 Kudos
Message 2 of 9
(3,159 Views)
I work with Labview 8.5 / windows xp.

When i was developping the program i was on a local administrator account.

when user will use the program he will use it with him own network account.
0 Kudos
Message 3 of 9
(3,156 Views)

You can provide any user account with administrative rights on the PC.  You may need to ask your IT department first.  They should be able to do that for you.

RayR

0 Kudos
Message 4 of 9
(3,149 Views)
Try to provide the user account with administrator rights for the National Instruments entry in the registry and let us know if this solves your problem.

regedit >> HKEY_LOCAL_MACHINE >> SOFTWARE >> National Instruments

0 Kudos
Message 5 of 9
(3,147 Views)

it doesn't solve my problem.

I attach 2 images from my program.

with the same place for the break points.

the array can't pass in the while loop.

Download All
0 Kudos
Message 6 of 9
(3,128 Views)
You mean to say that if you login with admin privileges, the While Loop executes, but if someone logs in as a regular user that the While Loop does not execute?
 
Something is missing in this story.  What has to execute in front of the While Loop?  Did you try "Highlight Execution"? 
Can you post your entire code?
 
Just a comment:  I see many Local Variables.  You have to be careful when using them. 
 
RayR
0 Kudos
Message 7 of 9
(3,114 Views)
I try to explain better:

- on the first pc:
.the two accounts are admin account.
.the first account where i have developped my program the program run correctly.
.the second account is also a admin account. the program bug.

- then I make an installer. I use it on a second PC with a user account.
. When i loggon with the user acount (witch used for install) all is good.
. If i loggon with another account it's bad.

=> the program seem to run correctly only with the install login.


when i put break point in the while loop, in one case my array 1D of cluster is full of good values, in the second case (second account) all are zero. in both case, before the while loop, values are good.

It's difficult to used the code without gpib instrument. And i think i can't give it(it's not mine).

questions: Is the array temporary stored? if yes, where?

thanks,
0 Kudos
Message 8 of 9
(3,104 Views)
You have a breakpoint in your While Loop? Did you remove it before creating an executable?
 
The array is in the wire, so yes it is in memory, but not stored "temporary elsewhere" as your question intends.. 😉  
The reason it is greyed-out in the loop is because it has not yet executed.  Can you show a bigger screen capture (more code) without the probes?
 
But the login issue is still bizzare... 😮
 
RayR
0 Kudos
Message 9 of 9
(3,097 Views)