Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger a software interrupt on NI-6527

Hi!

I am using NI-Daq Traditional with NI-6527 DIO board. I would like to know if there is any option for my application to trigger DIO event? To put it simpler, I would like my application to simulate DIO input to DAQ driver. Is there any possibility to do that?

Best regards
0 Kudos
Message 1 of 5
(3,849 Views)
Hi kovalenkov,

What are you trying to accomplish by simulating a DIO input to the DAQ driver? NI-6527 supports change occurrence and unstrobed digital I/O. One possibility I can think of is, with the knowledge of the digital state, setting the rise or fall channels in a manner to set a change occurrence. Can what you're trying to accomplish use an event structure in LabVIEW instead?

Thanks,
Lesley Y.
0 Kudos
Message 2 of 5
(3,837 Views)
I am not using LabView, but Visual C++. What I am trying to achieve is simulate a driver call of a callback function, so I don't have to set callback function as global and start using mutex whenever I am calling it. It is a really generic problem. Now I didn't notice any function like that in NI-DAQ Traditional documentation. I was hopping you ahd some backdoor functions made.

Message Edited by kovalenkov on 06-15-2005 01:56 PM

0 Kudos
Message 3 of 5
(3,824 Views)
Hi kovalenkov,

There's a Config_DAQ_Event_Message function available with NI-DAQ for some events. Unfortunately, the PCI-6527 device doesn't support it.

Regards,
Lesley
0 Kudos
Message 4 of 5
(3,802 Views)
Thank you. I noticed that function. As you said, it doesn't work for 6527. 😞
0 Kudos
Message 5 of 5
(3,797 Views)