LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CCB from DIO 6533

Hi,
Iam using a PXI 6533 Board for digital input. I watch some digital line in a loop and I want to react on a change of the level at this digital line.
because a software loop needs a lot of performance I want to know if it is possible to get a Callback from the 6533 board on a change of a special line.
I know that the board can start a measurement on a change of a special line but I did not found anything about a Call back.

Is it possible to get a call back from the board on a change of a digital line  ?

Thanks
Oliver
0 Kudos
Message 1 of 4
(3,131 Views)

You can use the function DAQmxRegisterSignalEvent() to Register a Callback, that is called when a specific Event occurs at the DAQ-Card. To react to a change of a digitla line, you have to use the Constant "DAQmx_Val_ChangeDetectionEvent" for the second parameter (SIgnal ID). See the help for more details.

 

Hope this helps!

 

André

 

0 Kudos
Message 2 of 4
(3,117 Views)
Hello,
many thanks for this tips. I will check it.

In the moment we use NIDAQ 7.x not DAQmx but we will upgrade one of our systems to try this.
Do you know if the upgrade from 7.x to mx is easy to do or if there are some problems ?

Thanks for your help
Oliver
0 Kudos
Message 3 of 4
(3,113 Views)

You can install the DAQmx Driver in parallel to traditional DAQ, so there shouldn´t be any comatibility issues.

If you want to use traditional daq, there is also a way to use events, via the function Config_DAQ_Event_Message(), but I would recommend using DAQmx.

 

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