Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

the control vi developed in a pc does not run in another pc

why the GPIB program for a HP analyser developed in  a laptop does not run in another laptop or tower computer?
 
I copied all the drivers provided by the instrument company and vis. And tried to find out the port name and port number. Same driver, same windows OS and same address, but it still does work. But in the developed Laptop, the program runs very well. Thanks
0 Kudos
Message 1 of 6
(3,507 Views)
When you say drivers, do you just mean just the LabVIEW instrument drivers? Did you also install NI-GPIB and NI-VISA on the other computer? What happens when you open MAX on the other pc? Can you detect the GPIB board and the instrument? Can you talk to the instrument in MAX?
0 Kudos
Message 2 of 6
(3,501 Views)
thanks Denisen, I already installed the driver for the HP Analyser in both PC. MAX communication with the analyser is well, but the program does work. Is it because of port configure or else? The program successfully run in two Laptop already, but it does not run in another laptop and Tower, they all have same windows XP.
0 Kudos
Message 3 of 6
(3,494 Views)
Is the instrument driver IVI or native LabVIEW? Again, you need to go into MAX and verify that NI-VISA is installed and if IVI, all of the IVI software is installed and the correct driver is active. What kind of error code is the program generating? If your program does not do any error checking and display of error codes, then it's going to make troubleshooting the problem harder.
0 Kudos
Message 4 of 6
(3,491 Views)
the program was writen with instrument driver IVI and native LabVIEW. When I use MAX to verify the GPIB analyser, it can communicate well, but at the Hard Device list, it indicates "no VISA resource found", does it mean the NI-VISA has not installed and I need to install it ? I installed the LabVIEW, I thought the VISA was also installed automatically.
0 Kudos
Message 5 of 6
(3,487 Views)
If you created an exe from your application and created an installer for it, no, it's not automatic. The installer for the application does not install any hardware drivers. When you installed the drivers for the GPIB board, you also needed to select VISA for installation.
0 Kudos
Message 6 of 6
(3,482 Views)