08-10-2009 04:16 AM
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?
08-10-2009 07:36 AM
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
08-10-2009 10:01 AM
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.
08-10-2009 11:17 AM
Hello Davidek
How can i know the alias and the adress match? I have given the address as 11.
08-11-2009 04:25 AM
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
08-11-2009 06:57 AM
08-11-2009 07:14 AM
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
08-24-2009 02:39 AM - edited 08-24-2009 02:40 AM
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.
08-24-2009 03:09 AM
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
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
08-24-2009 03:45 AM
Hi davidek
Hehe... its ok... it happens at times....
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.