05-22-2016 04:53 AM
Hello all
I am working with a parallel manipulator which has its controller in Labview. NI PXI-8102RT controller is used. A start up VI (developed and deployed by the makers of the parallel manipulator) runs on the controller and I operate the parallel manipulator from a user PC where Labview interface for parallel manipulator is provided. Untill recently it was working fine but from few days, I am not able to operate the parallel manipulator from the user Labview interface. I am trying to troubleshoot the problem. When external monitor is connected to the PXI controller, I could see the following screen as in attachement. Looking at the screen, I am assuming that start up vi is running fine. I checked the external ethernet cable connection from Labview controller to the user PC, it is also fine. But when I try to control Parallel manipulator from labview interface on my PC, it is not responding. I am not familiar with labview, please guide me on how to proceed to troubleshoot the problem.
Please let me know if more information is needed.
Thanks and regards.
05-22-2016 10:00 AM
This sounds like you are running a LabVIEW RT system, with part of the LabVIEW code running on your PC, and part running on your PXI. If you have access to the LabVIEW code, it will be much easier to advise you and potentially "fix the problem". Here are some questions/comments.
A key element of a LabVIEW RT system involving a PXI is the communication path between the two, typically TCP/IP over Ethernet. If your Network goes down, a Firewall blocks traffic, or a setting gets screwed up so the two machines can't "talk", you could get the symptoms you are seeing. The question about MAX, if it fails, suggests a problem with TCP/IP.
If (a) you have LabVIEW (particularly LabVIEW RT) installed on your PC, and (b) you have access to the LabVIEW source files, it could be helpful to include, in your reply a screen shot of your Project Explorer when you open the Project with LabVIEW, similar to the screen shot below, which shows the top level organization of code running on the Host (My Computer) and on the PXI Target (RT-NEW, at IP 10.0.1.103)(note the cute PXI Chassis Icon provided by NI).
Bob Schor
05-23-2016 01:43 AM
Hello Bob
Thanks for the reply.
Please let me know if further information is needed.
Thanks and regards.
05-23-2016 03:22 AM - edited 05-23-2016 03:30 AM
Hi Linus77,
> Yes Labview (2009) is installed in the PC and MAX (ver. 14.0) is also installed.
Did someone change the DAQmx drivers?
MAX version 14 comes with NI-DAQmx 14:
It looks like DAQmx 9.7 is the highest version for LabVIEW 2009, which would be MAX version 5.4
DAQmx and LabVIEW Version Compatibility
Note: I just noticed that on the MAX compatibility page, it says:
"Higher versions of MAX will always support lower versions of NI-DAQmx."
So if your DAQmx is older, the MAX version may not be an issue
steve
05-23-2016 10:31 AM
Hello Steve,
Thanks for the reply.
As far as I remember, I didn't install any NIDAQmx drivers. Is it possible that drivers got updated when I click on install regular updates form NI ?
Any ways, when I follow the link:
and try to check for the version of my 'NIDAQ mx' drivers by expanding software tab under 'My System' in MAX, an error popped up saying 'Max Database exited abnormally' as shown in the attachement and 'software tab' does not expand afterwards (screen shot is attached). Solution I found from NI website is to 'Reset the MAX Data base'.
Do I need to save some settings before 'Resetting MAX Database'.
Thanks and Regards
05-23-2016 02:59 PM
> Is it possible that drivers got updated when I click on install regular updates form NI ?
I don't think NI would update you to a version that is not compatible, so probably not.
> Do I need to save some settings before 'Resetting MAX Database'.
It does not seem that there are any settings to save at this point.
If you can get MAX working, then you can check the DAQmx version.
I'm assuming that this is a fairly old system, so you should check the integrity of your hard drive (chkdsk).
steve
05-23-2016 09:05 PM
Linus,
I wrote a long response with some ideas and suggestions for you this morning, but must have forgotten to hit "Post" because I don't see it! Sorry, I'm not sure how that happened.
Thank you for posting your Project Explorer view -- it seems to confirm that you are working with a LabVIEW RT project, one that involves a PXI Chassis at IP 192.168.10.15, which is the same IP that your screen shot shows.
I have several comments and questions.
I'm going to sign off now, push Reply, and make sure, this time, this gets posted ...
Bob Schor
05-23-2016 10:45 PM
Steve,
Why are you talking about DAQmx? What is it in the RT system that makes you think those drivers are needed? Beyond that, what makes you think it's a compatibility issue? If it was working, that means any drivers installed were the compatible version. Do you believe there was another installation that would have changed this?
Also, why are you so focused on MAX? You do know it installs with pretty much everything, LabVIEW included.
05-24-2016 03:39 AM
Hello Bob,
Thanks for the reply.
05-24-2016 09:37 AM
@linus77 wrote:Hello Bob,
Thanks for the reply.
- The 'target filename' is 'Startup.rtexe'.(screen shot attached). Good -- if that's been deployed to your PXI, then it is being properly started.
- How to cross check version of device drivers(apart from expanding software tab in MAX)?? and should I reset Max database before upgrading? Well, MAX is the way to do that, but if MAX isn't working, you've got other problems ...
- I am student, located in Abu Dhabi (United Arab Emirates). (I think we are of completely different time zones.) Yes, many hours, oh well.
- U have suggested to upgrade to newer Labview version and to make sure that Labview code is under some version control. I am trying to figure out how to do this (using tortoise subversio, subversion server), Is there any detailed procedure on how to put Labview code under version control. First question is do you have access to a Subversion Server. If you do, then you need to install the Tortoise Subversion Client on your PC. In the US, we go to tortoisesvn.net and click the Download tab. Be sure to choose the right 32- or 64-bit Version based on your Operating System (I'm assuming you are running 32-bit LabVIEW on 64-bit Windows, so would want 64-bit Tortoise SVN). Once you have this installed, you need to create a Repository for your LabVIEW code on the Subversion Server. If you need help getting started at this level (and there is noone at your school who can help), send me a Private Message.
- I don't have Labview 2014 distribution but I have 2013 dvd set up. Should I upgrade to Labview 2013? The more important thing is to have all of your LabVIEW components "consistent", but having them "more current" is also a benefit (as I said, it does generally get Better and Better). Doing the install will take a day, but you will probably save time and aggrevation in the long run. If you decide to go this route, I would advise a complete removal and reinstallation procedure to do your very best to get a "clean" system. Again, you may want to continue this off-line ...
- As you mentioned, my PXI rt components are of 2009, if I upgrade Labview to 2013 will it not create compatibility issues?? Well, you appear to currently have compatibility issues. The goal is to do a "clean" LabVIEW install on your PC, do a "clean" install of device drivers on the PC, then do a "clean" install of all of the software on the PXI. This might involve reformatting the PXI's hard drive and starting really "fresh" ...
- Locally (student friends), there are no Labview Gurus here. Well, you'll have to Go International, then ...
Hi. From a Long Way Away, it is difficult to recommend a drastic "remove and reinstall", particularly if you can't provide "hands on" assistance. However, unless someone on this forum has another idea, getting a clean, consistent LabVIEW installation, after protecting your code base (very important, as we'll potentially be "losing" the code both on your PC and definitely on the PXI) may be the surest way to getting things to work.
A note on the code -- if you upgrade LabVIEW to, say, 2013 from 2009, the moment you open and save a VI in 2013, you will not be able to open it again (without doing some extra work) in 2009, so it's a "one-way trip" unless you have a backup (which is why I strongly recommend protecting your code by using Subversion). As for the PXI, who knows what the state of the code deployed to it is? In any case, you will probably need to rebuild on the PC and re-deploy, hence overwriting what is there (particularly if you do a LabVIEW upgrade).
Consider carefully, talk to your advisors and teachers, and ask questions here.
Bob Schor