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
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
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
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,
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,
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,
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
Hi Veeru,
Can you please provide your code so that we can try and diagnose the problem better?
Thanks,
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