12-06-2007 08:06 PM
12-07-2007 05:28 PM
Hi wired,
As I understand it, you built an application in LabVIEW 8.2.1 on a PXI-8186 controller. When you moved to a new controller, one without LabVIEW 8.2.1, the program to find your PXI cards returns only a third party device and not your DAQ cards, despite the devices being visible in Measurement and Automation Explorer (MAX). You have an Installer for your application that installs the runtime engines for VISA and LabVIEW and the DAQmx driver. Is my understanding correct?
You mentioned that you had tried setting the PXI option in MAX to report all PXI devices, not just the registered ones. By this, did you mean that you set the VISA option to Show all devices accessible to VISA? If you did not mean this, then I would suggest doing so. In MAX, you can expand the Software tab in the Configuration Tree to the left. By selecting NI-VISA, the VISA options become visible. You should select show all devices accessible to VISA as seen in the attached screenshot.
If you did in fact select this option already, can I ask if you also enabled the NI-VISA tulip Passport? In order to do this, on the VISA Options page, under General Settings, if you select the Passports option a list of checked boxes appear. Select the Tulips option as seen in the second screenshot and then click the Save button at the top of the MAX window. You will then need to close LabVIEW or your application and restart it.
I built a simple program to test this post, and until I followed the above steps, the only devices that appeared were my com ports. After doing this I was able to all of my DAQ cards.
Could you clarify some things for me? When you said that the application works on a PXI-8186 controller with LabVIEW, was this the development machine or just a controller you tried the executable on and it worked? What is in your installer? Is the VISA version on the test controller the same as that on the development machine? And lastly, in MAX, do the DAQ cards appear under DAQmx devices or under PXI systems and can you communicate with them using a test panel?
Good Luck, Mallori M.
12-08-2007 04:48 PM
Thank you for the response. My machine is not accessible right now, but I will try the "Tulip" suggestion as soon as I can. Of course, this begs the question "What is a Tulip Passport, and why do I need to enable it"? I do have the "show all devices..." checked.
I have never heard of Tulip Passport, and have developed a number of VISA executable applications in the past. I will be very disappointed of this is what is required to make my application work. IMO, the end user should not have to perform ANY operations outside of the installation for an application to run.
To clarify my problem: I developed the app on a PXI-8186 with LabVIEW 8.2.1. I built the executable and made an installer for the program which included the run-time of LabVIEW 8.2.1 and the VISA run-time. I installed it to a different PXI-8186 controller and it does not work. FYI, I have a different application that uses only the ZTEC card, and it works fine. The problem seems to be related to recognition of the NI devices.
I think the VISA version is the same, but I will check again when I have time.
The devices all show up properly in MAX, both as DaqMX and PXI devices. I was able to query attributes, such as slot number and product name, using the VISA test panel.
12-10-2007 08:14 AM - edited 12-10-2007 08:20 AM
Well, this morning I went back into MAX, and I no longer can see any PXI devices under the PXI chassis. I also am not able to bring up the VISA menu options when I highlight NI-VISA in the software configuration tree. This is getting rather frustrating... Apparently the uninstall/reinstall of NI-VISA must have caused some problem with MAX. I am currently uninstalling MAX, NI-VISA, and daqMX.
12-10-2007 08:47 AM
12-10-2007 09:51 AM
12-11-2007 10:31 AM
12-11-2007 11:18 AM
12-11-2007 12:17 PM
Pankaj,
I checked the configuration setting you mentioned, and it is set to 1 already. I still do not see all of my NI PXI devices. Can you recommend anything else? Should I use MSI Blast and wipe everything out? I only want to try that as a last resort.
12-11-2007 12:52 PM