Discussion:
PXI System does not appear in MAX 4.0
(too old to reply)
RonC
2006-03-07 23:11:30 UTC
Permalink
Hello,
 
My system comprises LabVIEW RT 7.0, target PXI-8176 controller in PXI-1000B chassis, PXI-6608, PXI-6711, NI-4472, PXI-6704, PXI-6527, PXI-8423/4, PXI-8422/4.  This has been stable for two years. I recently solved an RS-485 2-wire mode configuration problem, using information in a discussion forum thread, by upgrading to NI-VISA 3.4.1 and NI-Serial 2.5.5.  MAX 4.0 was installed as part of this process.  Everything seemed to work fine.  I instructed a distant customer to do the same, but they experienced some difficulty. To ensure we were working from the same starting point, I re-initialized my PXI system, using PXI Format Hard Drive Disk, version 7.0, from MAX 4.0.  I configured TCP IP address, and re-installed the RT software on the PXI controller.
 
Next, I attempted to configure the PXI controller and chassis, in MAX, to update the pxisys.ini file, but the PXI System (Unidentified) does not appear under Remote System>>IP address>>Devices and Interfaces.  Similarly for the serial ports.  This worked before, but I cannot get this back.  What is wrong?
 
Best regards,
 
RonC
Bassett Hound
2006-03-09 20:11:46 UTC
Permalink
Hi Ron,
Are you able to see any of your cards under devices and interfaces?  I would suggest reformating again and then start out with only putting LabVIEW RT 7.0 on your PXI system and see if you are able to identify the chassis.  After that add drivers one by one until everything is working correctly or you run into the same issue.  If the serial driver was the newest driver save this driver for last.
Regards,
Bassett
RonC
2006-03-09 20:41:42 UTC
Permalink
Hello Bassett
 
Thank you for your assistance.
 
- I can see all the DAQ cards, under Tools>>Traditional NI-DAQ Configuration>>Remote DAQ Configuration...
- Nothing appears under Remote Systems>><IP Address>>>Devices and Interfaces.
- I cannot see the controller, the chassis, or the serial cards anywhere.
 
I tried as you suggested, and nothing appears under Devices and Interfaces, either after LabVIEW RT 7.0.0 installation, or at any step along the way after that.  One thing I find particularly confusing is that, after the intial install of NI-VISA 3.4.1 and NI-Serial 2.5.5, I could see and configure the PXI system.
 
After the software is installed, there is a default pxisys.ini file in C:\NI-RT\SYSTEM\.  I tried replacing this with the pxisys.ini from the working configuration (I saved this before reformatting) but it made no difference. I did the same thing with the ni-rt.ini file, it also made no difference.
 
Thanks,
 
RonC
Bassett Hound
2006-03-13 19:44:40 UTC
Permalink
Hi RonC,
You might check to make sure that your controller is not booting up in install mode and is booting up into Real-Time.   Also check to make sure your VISA settings and VISA Server settings are correct.  The document linked will explain how to setup NI-VISA for remote systems. 
Accessing PXI Instruments with NI-VISA in LabVIEW RT<a href="http://digital.ni.com/public.nsf/websearch/01F9536A7A1D12A486256FF000561DA6?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/websearch/01F9536A7A1D12A486256FF000561DA6?OpenDocument</a>
Let me know if&nbsp;either of these help out.
Regards,
S. Bassett
RonC
2006-03-17 00:11:47 UTC
Permalink
Hello S. Bassett
&nbsp;
The controller is definitely booting in RT mode -- I can still run my applications on the RT target.&nbsp; VISA seems configured properly also, I can make VISA calls without error in the application.
&nbsp;
In fact, the RT system seems to work correctly, and I contemplated leaving it as it is. However, the fact that MAX does not recognize the PXI system makes me nervous, and I cannot do some of the things I may want to do, for example independently configure RS-485 port wire mode in MAX (the ports do not show up either).&nbsp; Traditional DAQ configuration in MAX works.
&nbsp;
After your last post, I found a brief reference in MAX Help that indicated "PXI Services" had to be downloaded before the chassis could be configured.&nbsp; But there are no other mentions of what PXI Services is, what it does, or how to install them. PXI Services does not show up as RT Software in MAX. In the Windows Add/Remove Programs control panel in Windows, in the National Instruments software section, there are two apparently related entries:
&nbsp;
- NI PXI Platform Services for LabVIEW Real-Time 1.5.1
- NI PXI Platform Services for Windows 1.5.1
&nbsp;
But, I cannot get these to install on the RT target.&nbsp; Not knowing what was causing the problem, I uninstalled everything from&nbsp; National Instruments, deleted all folders, and reformatted the PXI platform.&nbsp; There was one problem during this process -- after uninstalling NI-Serial 2.5.5, it does not get removed from the Add/Remove programs control panel.&nbsp; There is still a registry key that the uninstaller did not remove -- presumably this is the problem.
&nbsp;
I have rebuilt everything, but could not get NI-Serial to install -- the installer thinks there is a newer installed on the RT target (there isn't) and refuses to install NI-Serial 2.5.5.&nbsp; So right now, I cannot install NI-SERIAL (any version), or remove the 'existing' NI_SERIAL, because it isn't actually there, and there is no uninstaller.
&nbsp;
Otherwise, everything seems to be back to where it was before I "upgraded" to NI-VISA 3.4.1.&nbsp; This was NI-VISA 3.0, LV RT 7.0, and MAX 3.0.2.&nbsp; I have not yet been able to install NI-Serial, so I cannot yet see if I have also restored my original problem -- the one that led me to have to upgrade NI-VISA and NI-SERIAL in the first place.
&nbsp;
Most importantly, there is now a "PXI Services v1.1.2" installed on the RT target.&nbsp; I am quite sure the problem with MAX 4.0 not recognizing my PXI system has to do with the absence of this driver on the RT target.
&nbsp;
Thanks again for your interest and help,
&nbsp;
RonC
Bassett Hound
2006-03-20 22:41:58 UTC
Permalink
Hi RonC,
Without installing the NI-Serial Drivers the ports will not be visable.&nbsp; After installing&nbsp;NI-Serial for RT&nbsp;they shoud be accessible under devices and Interfaces&nbsp;as normal.&nbsp;&nbsp;If the registry&nbsp;key was not removed you may have to remove it manually.&nbsp; &nbsp;PXI Services should be installed&nbsp;when&nbsp;MAX was installed.&nbsp; Just so we are on the same page, when you said you have gotten everything back to normal&nbsp;this means you are able to identify your PXI chassis in MAX.&nbsp; If this is true there may be an issue with MAX 4.0 and LabVIEW RT 7.0.
I have a PXI-8176 and will install LabVIEW RT 7.0 on it to see if it exhibits the same behavior and will let you know the results.
Thanks,
S. Bassett
&nbsp;
RonC
2006-03-21 01:42:19 UTC
Permalink
Hi S. Bassett
Yes, in answer to your question -- the PXI system showed up in MAX, as PXI System (Unidentified), and I was able to identify the controller and chassis, and this information persists between restarts.&nbsp; Other than the serial driver, everything has been returned to where it was before I attempted the NI-VISA 3.4.1 upgrade.&nbsp; I thought this NI-VISA install would be safe, because the original recommendation came from a thread discussing a problem with LV 7.0 and not being able to get&nbsp; an RS-485 device into 2-wire mode.&nbsp; This was the exact problem I was having.
I am still stuck on the serial driver.&nbsp; I deleted the only registry key I can find related to NI-Serial, but this has made no difference. MAX does not recognize any serial software as being present, either on the host or the target. The Windows Add/Remove Programs control panel shows an item in the National Instruments software list; "NI-Serial for LabVIEW RT".&nbsp; Attempting to remove this item fails -- NI-IRDA gets removed, then the process chokes on NI-SERIAL -- get Error 1638 (unexplained).&nbsp; The "NI-Serial for LabVIEW RT" does not get removed from the list.&nbsp; NI serial driver installation, attempting to re-install the NI-SERIAL v2.5.3 (the version on my LV 7.0 CDs) fails because the installer says a newer version is already installed (it isn't)&nbsp; The installer for NI-SERIAL v 2.5.5 that I downloaded, which is actually only an updater, will not run because it reports a "different" version is already installed.&nbsp; So the NI installer for 2.5.3 reports a "newer" version, the updater for 2.5.5 reports a "different" version. The highest previously-installed version is 2.5.5, the pre-upgrade version was 2.5.3. The uninstaller reports a driver that does not exist, and then chokes trying to&nbsp; "uninstall" it, but without explaining what the error is.
So, I am stuck right now on this issue.&nbsp; Obviously there is persistent information retained somewhere that is confusing the installers/uninstallers but I cannot find where this is.
Thank you for your continuing interest and help on this.
RonC
Bassett Hound
2006-03-21 02:12:01 UTC
Permalink
Error 1638 is an MSI installer error that means another version of this product is already installed. Installation of this version cannot continue. Since you have already uninstalled it I would concluded there was problem with the uninstall leaving some installer files behind.&nbsp; You may want to give NI Technical support a&nbsp;call as they&nbsp;have an&nbsp;un-installer&nbsp;program to help resolve MSI installer errors.
&nbsp;
I recently installed LabVIEW RT 7.0 on my PXI-8176 Controller and found that the PXI Device does not show up in Devices and Interfaces when using MAX 4.0 and LabVIEW RT 7.0.&nbsp; I was able to see my cards in the Remote DAQ Config.&nbsp; I'll investigate a little further and let you know what I find out too.
&nbsp;
Regards,
&nbsp;
S. Bassett
Bassett Hound
2006-03-23 20:10:18 UTC
Permalink
RonC,
After investigating futher&nbsp;and doing several &nbsp;installs,&nbsp;&nbsp;it does look like there may be an issue with the PXI Chassis being recognized on a RT System with LabVIEW Real-Time 7.0 and MAX 4.0.&nbsp;&nbsp;I will need to investigate a little further to try if there is a work around for this issue.&nbsp; I'll let you know what I find out.&nbsp;
Regards,
Steven B.
RonC
2006-03-28 16:10:19 UTC
Permalink
Hi Steven,
Here is the link to the thread I mentioned:
<a href="http://forums.ni.com/ni/board/message?board.id=140&amp;message.id=12580&amp;requireLogin=False" target="_blank">http://forums.ni.com/ni/board/message?board.id=140&amp;message.id=12580&amp;requireLogin=False</a>
It is recommending "at least 3.3", so I simply got the latest (3.4.1).&nbsp; Thanks for the tip using property nodes, I did stumble across that when using VISA 3.4.1, but I did not realize this went as far back as 3.x.
Just today I had another problem.&nbsp; PXI did not start up cleanly, I may have caused that while trying to target PXI from LabVIEW RT, while PXI was just starting up.&nbsp; Would not boot after that so I reformatted PXI hard drive. But then I cannot install software. I did successfully install software after logging on as another user,&nbsp; but PXI system does not show up in MAX, and PXI cannot be targeted from LabVIEW to complete the configuration.&nbsp;
MAX reports network error 12163, but I cannot find what this means, anywhere.&nbsp; Do you know, by any chance?
Thanks,
RonC
Bassett Hound
2006-03-28 16:40:19 UTC
Permalink
I have not come across that error before but I found a Knowledge Base document on the NI website that may help you out.&nbsp; <a href="http://digital.ni.com/public.nsf/websearch/0EE9B92A8E0ACA5E86256D9400323AC6?OpenDocument" target="_blank">KB 31034ADX: Error 12163 While Trying to Download Software to a Real Time Target</a> Basically it looks like this is caused by an ActiveX dependancy between Internet Explorer and object used in Measurement and Automation Explorer to download the software or might be an issue with a firewall blocking ports
&nbsp;
RonC
2006-03-28 20:40:18 UTC
Permalink
Thank you, Steven.&nbsp; I feel pretty stupid -- I searched for that error in Knowledgebase, in fact in all of Support, and nothing turned up. I tried again just now, with the same result.&nbsp; Search behavior seems a bit odd, but I can't recall what happened before. I select KnowledgeBase, search for "12163", and no results are returned, and the search area switches to "Support".
Anyway, that was the problem.&nbsp; I had created a new user, and Internet Explorer was not configured, and I guess by default in Offline mode.&nbsp; I had an additional problem with NI-Serial RT installation; this required removing the PXI serial boards, configuring the PXI chassis and installing software without the boards, then re-installing the boards and once again completely reconfiguring the chassis and installing software.&nbsp; This problem may have initially been caused by having worm protection enabled, I am not sure.&nbsp; Worm and virus protection was disabled during the final, successful, installation.
I have added the use of Property Nodes to configure the RS-485 wire mode, and initial testing indicates all is working, with the "original", i.e. pre-upgrade to NI-VISA 3.4.1 and NI-Serial 2.5.5.&nbsp; Current configuration is LabVIEW RT 7.0.0, NI-VISA 3.0.1 and NI-Serial RT 2.5.3.&nbsp; I am satisfied this configuration is meeting the needs of the application, and do not plan to re-attempt the NI-VISA upgrade right now.
If you continue to be curious, and find more about the possible LabVIEW 7.0 &amp; MAX 4.0 conflict, then I would be also interested to know.&nbsp; But please do not invest any additional effort on my behalf.&nbsp; Once again, thank you for your persistent efforts, and I am very grateful for the information you have provided to me.
Best regards,
RonC

Loading...