05-11-2006 06:18 AM
I am using LabVIEW version 7.0. I did two programs, one for data acquisition, the other operating a solenoid through digital output to trigger the data acquisition. I first start the data acquisition program and wait the solenoid signal. However, the digital output program is inhabited with the data acquisition program on. If I stop the data acquisition program, it works fine. What would possibly be the reason? Thank you in advance if somebody can help.
05-11-2006 06:39 AM
05-11-2006 07:14 AM
Thanks Mark. Yes, ‘inhibited’ rather than ‘inhabited’ J
Attached please find the two programs. DIO is straightforward with NI-7334; for the AI program, I use four ADLINK 2204 cards working simultaneously. Signals are basically impulse type. I just aquire the data and do a FFT to get the power spectrum density for 4 channels.
05-11-2006 06:02 PM
I have tried using 1, 2, or 3 ADLINK cards simultaneously logging. The DIOs are all working. However, I use 4 cards at the same time, all DIOs stop working. As I need all the four cards in my application, what should I do?
All the digital I/O are hooked up with PCI 7334 stepper motor controller. Can I use MAX manually operate digital I/O to switch on and off the solenoid?
05-12-2006 10:49 AM
Hi
This could be a hardware problem. What speed are you acquiring at? If it is at a high rate you might just be using up your PCI bus bandwidth. Check the resources for you cards in device manager and see what IRQ and DMA recourses you are using.
Regards
Tim
AE NI
05-12-2006 11:22 AM
Many thanks, Tim
The scanning rate of the DAQ cards can be up to 1MHz. I set 100kHz.
I checked the IRQ according to your instruction, I found the DAQ cards are 17, 18,19, and 16, respectively. And the PCI 7334 card is also 16. It says no conflict. I guess, this is the problem?? Can I make change to IRQ settings ? And how? Thanks a lot!
05-12-2006 03:44 PM
05-15-2006 04:44 AM
I have tried unplugging the cards and placing in different slots. The PCI 7334 always shares its IRQ with one of the 2204 Cards, although for example IRQ 11 is never used. And they cannot be working at the same time. Under ACPI HAL, I cannot assign an IRQ number to the cards, as the ‘use automatic setting’ is greyed out. I did a little search on internet, windows does not recommend changing from ACPI to standard pc type http://support.microsoft.com/default.aspx?scid=kb;EN-US;237556 . Anybody has any idea? And does this will solve my problem if i make this change. Thanks a lot!!
05-16-2006 10:12 AM
Hi
I’m not recommending this but you could try turning off your plug and play OS support in your bios which should allow windows to assign its own IRQ levels which means you should be able to assign them. You could also try changing your CD to PIO mode this will seriously reduce the speed you will be able to use it at but it might free up a DMA channel. I think in windows 98 you can assign your own DMA channels.
You could try Windows 98, as this supports LabVIEW 7.0 and allows you to assign your own IRQ levels and memory ranges
Regards
Tim
AE NI