04-18-2012 08:29 AM
I developed a vi having GPIB operations (read, write, etc.,). it is working good in Win XP OS without issues. Now I am using the same vi in the Win 7 PC, which is having issues. Its not opening properly (freezing always). I installed all the latest drivers. Please help me in this topic.
Regards,
VGS
04-18-2012 03:01 PM
Hi,
Can you post some code to see what is going on. Is the VI freezing when opened, or are the gpib commands freezing, so to speak? SOme more detail would be helpful.
04-18-2012
07:01 PM
- last edited on
11-11-2024
03:13 PM
by
Content Cleaner
Hi VGS,
Have you tried using MAX to talk to the GPIB instrument?
Check out this video
steve
04-19-2012 04:41 AM
Please find the sub VIs are attached. In the Main VI, first VBATPowerSupplyConfig.vi is called and then VBATPowerSupplyControl.vi. VI is getting freezed when opening. GPIB power supply is able to talk through the MAX.
Regards
VGS
04-19-2012 01:40 PM
VGS,
Your vis are in LabVIEW 7.1. Are you aware that 7.1 is not supported with Windows 7?
Are you running your vis in development mode or do you have an executable?
steve
04-20-2012 02:46 AM
Its an executable file. Am able to run sometimes without issues in some PCs.
Regards,
VGS
04-20-2012 04:11 PM
VGS,
Have you tried XPMode?
Available (free) in Win7 Professional, Enterprise, and Ultimate versions, XPMode allows you to emulate an XP machine.
I don't know if this will work with your GPIB interface hardware.
steve
04-21-2012 08:13 AM - edited 04-21-2012 08:13 AM
Your issue is not likely to be with LabVIEW, but rather with NI-VISA. The version of VISA that you have installed for LabVIEW 7 is simply not compatible with Windows 7. Face reality. You need to upgrade LabVIEW or you need to downgrade Windows to an earlier version. XP compatibility mode will be worse in terms of getting it to work since you need to be able to get NI-VISA to talk to the hardware, and you don't want an emulation layer to be sitting between your software and the hardware.