Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

6501 event handling

Is it possible to trigger events in C using a 6501, if so what are my choices?  What is the difference of using the NIDAQmxBase.h or VISA?  Which is better?
I think I heard somewhere that the counter can be hijacked for a event trigger, does this apply to the 6501?

I'm trying to recieve inputs from sensors as objects pass by and then execute some code.

Thanks for any help,
Matt
0 Kudos
Message 1 of 4
(3,543 Views)

Matt,

The 6501 has no hardware timing, so hardware triggering is not an option.  You are going to have to poll in software for an event.  Sorry.

As far as the driver goes, I highly recommend using NI-DAQmx 7.5 which you can download here.

To upgrade this device's firmware to be able to use it with NI-DAQmx 7.5, however, you will first have to install NI-DAQmx Base 1.5 and then choose to switch the mx driver version in MAX (Measurement and Automation Explorer).

Hope this helps out.  Good luck, Matt.

Travis W
DAQ Enthusiast

 
0 Kudos
Message 2 of 4
(3,524 Views)
Software polling ehh :grits teeth:
Where's NiDaqmx7.5 for linux?

Here: http://forums.ni.com/ni/board/message?board.id=250&message.id=15722
Talks about using 'Digital Edge using Counter', this is supposed to work with the E and M series. 

Is there something better I should be using (for a comparable price)?

Thanks,
Matt Kubilus
0 Kudos
Message 3 of 4
(3,519 Views)

Matt,

I didn't realize you were using Linux.  You're gonna need to go with NI-DAQmx Base 1.5.

As far as hardware triggering goes, the USB-6008/6009 can do triggering on Analog Inputs but not DIO.

The next step up is the M-Series PCI cards which CAN do correlated DIO.  The base model is the PCI-6220 with 16 AI and 24 DIO and 2 counters.  This is what you need to look into if you want to hardware trigger your DIO.  See page 5 of this data sheet.

Travis W
DAQ Enthusiast

 
0 Kudos
Message 4 of 4
(3,509 Views)