10-24-2008 09:20 AM
I am using a LabVIEW program to read the values from a deive through GPIB.
The problem is the program works fine in windows 2000 but when i run the same program in XP the values are inconsistent(reads the value from device and goes to zero then for sometime it reads the correct value from the device and repeats the same).
I tried few options:
1.Changed the GPIB cable( with the same GPIB it works fine)
2.Checked with other PC with XP
3.Rebuilt the program( i am using V8.5)
Any help is much appreaciated.
Thanks
Veera
10-25-2008 10:54 AM
Hi,
What GPIB card are you using on the two systems?
What version of VISA are you using on the two systems?
Regards
Ray Farmer
10-27-2008 04:21 AM
Thanks Mr.Farmer
GPIB card in working system is AT-GPIB/TNT(pnp) and in othere system it is PCI-GPIB
VISA on both systems is V4.3
Thanks
10-27-2008 06:13 AM
Dear Veeru,
Just a few things.
- What version of 488.2 are you using?
- Have you tried any example code? If not then search GPIB in LabVIEW help and the code is: GPIB-VISA.vi
- Would you be able to post your code for us to have a look over here?
Regards,
10-27-2008 07:47 AM
Thanks Mr.Thomas
Both are same version, V1.70
Thanks
10-27-2008 09:55 AM
Dear Veeru,
I hate to ask the questions twice but can you just confirm the following:
- Have you tried any example code? If not then search GPIB in LabVIEW help and the code is: GPIB-VISA.vi
- Would you be able to post your code for us to have a look over here?
Regards,
10-28-2008 06:01 AM
Hi Veeru,
I have a couple of other ideas that you could try
Firstly, have you tried uninstalling the GPIB driver and reinstalling it? Have you checked you have the latest driver for both of your cards? Have you tried changing the transfer rate? Does the XP machine have a sufficiently high specification to run LabVIEW without straining the system resources, could you possibly provide you PC's specification?
Thanks,
10-30-2008 04:26 AM
Thanks Andrew
I tried uninstalling the GPIB driver and installed again. I didnt tried changing the transfer rate.
PC spec: P4, 2.4GHz,1.5G RAM
Thanks
10-30-2008 05:46 AM
Hi Veeru,
Can you please provide your code so that we can try and diagnose the problem better?
Thanks,
10-30-2008 07:23 AM
Hi,
You should be using version 2.6 for your 488.2 on XP not 1.7
Also what versions of LabVIEW are you using as 1.7 may not be compatible.
see ( http://zone.ni.com/devzone/cda/tut/p/id/5326 )
Regards
Ray Farmer