LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 652x change notification

Hi folks,

I am working with a NI PCI 6527 DIO card and want to detect a change in a particular channel without polling but rather using occurences. Yes,I know there are examples like "DIO652x Change Occurrence.vi" which show how to do so. However, it seems there isn't any opportunity to unset an occurence. I wonder how I can stop my program if no change has occured on the DIO channel. Up to now I always have to shoot LabVIEW down and restart it afterwards. This is not gentleman-like as you will agree. Any opportunities to stop the program more gently?

Thanks a lot for any hint!
Peter
0 Kudos
Message 1 of 3
(2,860 Views)

Hello Peter,

National Instruments has just released a brand new driver for the PCI-6527 board. This driver, NI-DAQ 7.1, includes the old Traditional NI-DAQ driver that you have currently been using, but also includes a completely new API for programming the board. This driver is known as DAQmx. You can easily program your 6527 board for change detection and you will not have to worry about polling nor using occurrences this new DAQmx driver has the change detection functionality built in and it is breeze to program. You can download this new NI-DAQ 7.1 driver for FREE from the website. You must have LabVIEW 7.0 to use the new DAQmx part of the driver. If you do not currently have LabVIEW 7.0, an upgrade is ve
ry affordable and just being able to program your board with the new DAQmx driver is worth it. LabVIEW 7.0 also has a new digital waveform data type which makes working with the data from the 6527 very easy. I have attached an example VI and also some screen shots of the application in the case that you do not currently have LabVIEW 7.0.

Download All
Message 2 of 3
(2,860 Views)
Hi Bill,

thanks a lot for your helpful answer!

We solved the problem with LabVIEW 6.1 in the meanwhile but think seriously about upgrading.

Peter
0 Kudos
Message 3 of 3
(2,860 Views)