06-05-2009 04:47 AM
I developed a spectrometer application for a customer using VISA RAW communication on a Mac.
The software had been running fine until he decided to install the latest OS uzpdate (10.5.7). Now the software doesn't work. The problem seems to lie with NI-VISA not being started on boot.
Has anyone got any idea where I should look to try to solve this problem?
The software runs fine on my mac mini with all latest updates installed. The customer was just here and I was able to verify that indeed the software was not running. The Visa configurator wouldn't start, VISA server wouldn't start and even though the Spectrometer was visible int he System profiler (i.e. the hardware was recognised by the system), my Software couldn't access it.
Can anyone help?
Shane.
06-10-2009 09:47 AM
Nobody has any idea?
Any tips on how to see where the conflict is taking place? Any OS X cracks out there?
Shane.
06-10-2009 12:00 PM
Maybe sth could help you.
I haven't seen him on the forum lately..
06-10-2009 12:33 PM
Shane,
I can manually launch both VISA Server and the Configurator on my Mac with 10.5.7.
How are you telling them to start? Does the computer have more than one user account? If so, which one(s) launch VISA?
Lynn
06-10-2009 02:14 PM
Problem is, it's not my computer....
AFAIK, there's only one account.
VISA worked fine before upgrading to 10.5.7 (I don't know 100% that this was actually the problem, but the problem definitely arose at that time).
After the upgrade, VISA just doesn't seem to be working. Any search for a USB RAW device returns immediately (normally takes a short while) and VISA server and VISA configuration both will not launch, complaining about "unexpected error".
How do I check what's trying to launch VISA? Is there some start script for Mac OS X? I'm pretty much a newbie when it comes to OS X.
Shane.
06-10-2009 02:39 PM
Shane,
The only things which are launched at startup (in addition to OS functions) are linked to the user accounts. Look at System Preferences >> Accounts >> Login Items. System Preferences is an application. It usually has an alias in the Dock if it has not been modified. In Login Items you (as Administrator) can add items to be started at login. If there is only one account (out of box default) it is logged in automatically.
Can you post or send me a VI which generates the error so I can try it? Those VISA applications do not launch automatically on my system. If they are launched when the VI calls for them, perhaps it throws an error before they complete the launching.
Lynn
06-10-2009 02:45 PM
Lynn,
thanks for taking the time to help me out with my Mac adventures (again).
The programs VI Server and VI Configurator are in themselves not the problem. The inability to start them is simply an indicator to where the problem might lie.
The problem is that the entire VISA service seems to be unavable. I have a piece of software (a previous version of which you are familiar with) which ran fine before the upgrade and now doesn't. I tried a re-install of VISA but itjust doesn't seem to work. I'm not using anyhting beyond VISA control in and out and an initial VISA search in the software.
I'll check out the start items tomorrow in the office (it's evening here already).
Thanks
Shane.
06-10-2009 02:59 PM
Shane,
Look to see if there are files at Macintosh HD: Library: Frameworks: VISA.framework: Frameworks:... My system has nine folders there which are listed as Passports in the VISA Configuration program.
Lynn