10-13-2015 04:18 AM - edited 10-13-2015 04:22 AM
Hello guys !
I have a labview programm that runs correctly on Windows Xp . As i changed to Windows 7 on a another Computer , i had some trouble runnig the programm properly.
#Description of the experiment :
The Keithley 2400 takes measurement from the resistance which is connected to a peckering card 40-575 and drows a curve from the resistance .
My problem is that, when the Keithley is on , the labview programm does not find the Pickering card and i get this error message on keithley's Display : "Overflow MΩ''
However ,When Keithley is off the prog. does find the relay card.
This problem didnt occur at all when the prog was runnig on Windows Xp .
I don t think thats a driver problem because in NImax i can find the device .
I am stucked with this problem scince a week and i couldnt move on
10-13-2015 04:47 AM - edited 10-13-2015 04:47 AM
Do you have the same device configuration/aliases/resource names as your Windows XP machine? How does your LabVIEW software find the correct devices? Compare the MAX on your XP machine to your Windows 7 machine. You can export the MAX configuration form one PC and import on another.
I doubt the issue is related to Windows XP versus Windows 7 and is much more likely to be a driver or device configuration issue.
10-13-2015 07:25 AM
I have compared the MAX configuration and noticed that in Imput/output Panel( In VISA test Panel ) there is a difference in Witdh : in 7. i have 8bits instead of 16 bits i tried to change but it couldnt be saved .
**Labview recognize the card thanks to Vi named 'Rlay test' which i guess had bin done from the programmer . With the 'Relay tests' i can test all the pins to see if the connected card to pickering is not defected and to also check if the Pickering card is readable .( of course if the card isnt readable i cant do any test , thats why i cant move on )
I have imported the MAX configuration from XP but it didnt change any thing . http://digital.ni.com/public.nsf/allkb/0E0D3D7C4AA8903886256B29000C9D5A
10-13-2015 07:35 AM
The two configurations you have posted are completely different!
Windows XP - the PXI is PXI0 (but the VISA names are PXI11::)
Windows 7 - the PXI is PXI2
Windows XP - you have PXI-GPIB (a PXI card in the PXI chassis)
Windows 7 - you have PCI-GPIB (i.e. a PCI card inside the PC)
In Windows XP you have 6 cards on the PXI chassis!
The software probably looks for the resource names and they are all different! You are probably sending commands to the Keithley instead of the Pickering card! Who knows?!?!
10-13-2015 09:38 AM
it doesn't change any thing that on Windows Xp have 6 cards on the PXI chassis . I have tried with one and it does work .. .
I couldn't change the configuration oN windows 7 . you have any idea on how i can handle it ?
does it make any difference if tis PCI-GPIB or PXI-GPIB ?
10-13-2015 10:23 AM - edited 10-13-2015 10:23 AM
It depends on how the program was written! How do you specify which pickering card / GPIB device to use? If it isn't configurable then it probably requires the resources to have the same name, then you need to rename the devices on the Win 7 PC to match on the Win XP PC.
If you can't change the configuration, maybe you are missing the configuration support for those devices when you installed the NI drivers.