LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB User account error

GPIB ERROR:

 

I created a prgm in LV to control a  3561A signal Analyzer via GPIB. I was able to run the program in my account.


I copied the main VI along with all the subVIs to another user account (Administator Account) in the same computer. There i could not run the program. The error msg in the attachment always comes.

 

I have installed the GPIB drivers in this  Administator Account.

 

What could be the problem?

 

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 12
(3,964 Views)

Hi Nghtcrwlr

 

This could be a lot of different things. First thing that comes to mind is if you are using an alias for the instrument or the actual instrument adress? Verify that the alias and the adress match with the ones in MAX.

 

Best Regards

David

0 Kudos
Message 2 of 12
(3,941 Views)

Nghtcrwlr wrote: 

I have installed the GPIB drivers in this  Administator Account.


This statement doesn't make any sense. GPIB drivers are a computer installation, not an account installation. 

 

Also, why would you need to copy the code to another user account? Saving code in the "My Documents" directory is a BAD idea. 

0 Kudos
Message 3 of 12
(3,927 Views)

Hello Davidek

 

How can i know the alias and the adress match? I have given the address as 11.

 

 

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 12
(3,921 Views)

Hi Nghtcrwlr

 

Just make sure that the address you use in your VI is the same as the instruments address in MAX. Also, can you see and communicate with the instrument in MAX?

 

Best Regards

 

David

0 Kudos
Message 5 of 12
(3,897 Views)
In my user account i can see the NI device in Measurement & Automation. When i search it in Admin account, i cant see anything.,
Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 12
(3,890 Views)

Ok, is this file there:

C:\Program Files\National Instruments\MAX\NIMax.exe ?

 

The problem could be that when you installed LabVIEW you were asked if you want to install it for all users or just for the current user. Let me know if the MAX exe is there and if you can open it.

 

Best Regards

 

David

0 Kudos
Message 7 of 12
(3,886 Views)

Hi davidek,

Sorry for the late reply. Yes its possible to run the MAX from the other account. It has been installed to use for all users.
Administators have full control and other users have the permission to read and execute.

 

 

 

 

permission.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Message Edited by Nghtcrwlr on 08-24-2009 02:40 AM
Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 8 of 12
(3,818 Views)

Hi nghtcrwlr

 

Sorry, I must have missread you second to last post. What you said was that you could not see the instruments in MAX using the Admin account while you could find them using your user account. I read it as you couldn't find MAX in your admin account. Time to get glasses Smiley Sad

 

Anyway, your problem sounds wierd. Have you installed the software using your account or the Administrotor account? If you open the software tab in MAX does it show the same software in both accounts?

 

Best Regards

 

David

0 Kudos
Message 9 of 12
(3,810 Views)

Hi davidek

Hehe... its ok... it happens at times....Smiley Wink
I installed the softwares using Admin Account, and that is what suprises me... I created the LV VIs in my user account and then i copied it to Admin account and tried to use them in the Admin account. Then  its showing the error msg...
And the software version in both accounts are the same.

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 10 of 12
(3,806 Views)