11-12-2012 11:20 AM
I am using a VME-MXI-2 with a PCI-MXI-2 card installed on a Dell Optiplex 390 running Windows 7 64-bit.
The PCI card is plugged on a PCI express X1 slot using a PCI to PCIe adapter. To test my communication I use a VME card manufactured in house that contains relays with LED's to indicate which relay is ON. The relays are connected to registers and by writing to this registers the relays can be controlled. The VME-MXI-2 is installed in slot 0 of the VME bucket and my test card on slot 1.
My test card is setup on A16 address space using LA 256 and uses address 4000 to 407F.
This entire setup was used on an older computer running Win XP professional and using MXI Visa ver 3.3 and it worked fine. We need to build a second test set and a new computer was purchased without PCI slots and that is why we had to use an adapter. Initially I installed the MXI software (ver 3.3) but nothing was working. The PCI card would not appear on Device Manager. Reading on this web site I learned that this version of software was not compatible with Windows 7 and I needed to download NI-VXI 3.8.1. I removed the old software and I installed the new software and now the PCI card shows on Device Manager and Resman runs successfully.
Here is my problem, in the old computer with visa 3.3, I created a new VME device and using Visa interactive I could open a panel to control the card manually. By using the I/O tab on the panel I could set the offset address for a register and write a number to control the relays. When I create a VME device in the new computer with Visa 3.8.1 and I open a Visa test panel on MAX to control the card I can only see a tab to send messages but I don't have a tab for I/O to write to the register. If I open a test panel on the VME-MXI card on slot 0, I do have an I/O tab to access the registers on that card. For some reason the panel for my card is different and I can figure out why.
I want to add that if I select MEMACC on MAX and I open a Visa test panel, I get the I/O tab and if I write the absolute address of a register instead of the offset, I can write to them and turn on relays that way. So it seems that the communication is there, I just can do it with a test panel from my test card.
I am not a wiz at this stuff and I am out of Ideas. I would appreciate any help anybody can provide. Sorry for the lengthy explanation. Thanks.
11-13-2012 06:04 PM
Hello,
I believe VXI Interactive Control may give you functionality you're looking for. You can take a look at some details in the user manual linked here. It should be installed with NI-VXI Drivers.
Repost if that helps at all or if you run into further problems.
Regards,
11-15-2012 07:32 AM
Hi Chris,
Thank you for your input, I believe I had tryed VXI Interactive control and I didn't have any luck with it. Since I had the document you refered me to, I decided to give it another try but I can't open it now. It pops an error message saying "Unable to load device info fields. File DEVINFO.TBL missing".
Any ideas of what may be causing the problem. Is there any way to regenerate the missing file ?
I appreciate your help.
11-16-2012 06:16 PM
The in-house card you're working with won't be officially supported, but I suspect you should still be able to communicate with it.
What I'd try is using some simple LabVIEW VXI examples to open up communication with the module. You can open basic examples through LabVIEW under Help >> Find Examples, and then do a search for "VXI".
11-26-2012 07:25 AM
Chris
We do not use LabView, we have LabWindows/CVI. I tried running a LabWindows program with a panel that allows me to control the relays in my card. This program worked fine on the older XP machine but it's not doing anything on the new Win 7 computer. Do you think that maybe I should recompile the program in the new machine under Win 7 ?. Also I am not sure if I am installing my DLL and LIB files in the correct folders since the folder structure look different than in the older system. If you could give me some direction as to where I should install these files under NI-VXI 3.8.1 would be greatly appreciated. Any ideas about why the VXI Interactive Control is giving me the error about the "DEVINFO.TBL" being missing (see my previous reply). Thank You.
11-27-2012 08:31 AM
Hector,
My best guess is that something didn't properly install with the NI-VXI driver. DEVINFO.TBL should just be a component of NI-VXI, and I can't find any resources that suggest specific reasons why that message would pop-up. We may want to try uninstalling and reinstalling the drivers to see if we can alleviate that problem.
As far as the LabWindows/CVI program, we could double check if the functions being used are still supported in NI-VXI 3.8.1 (I'd imagine they would be) and recompiling wouldn't be a bad idea as well. The NI-VXI 3.8.1 files should automatically install to the correct directories, are there other DLL and LIB files that you are needing to manually place?
Regards,