Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering analog output with digital edges

Hi.

 

I have a Ni DAQPad-6259 (USB Board) and use c++ to control it.

A external digital tigger is connected to one of the digital inputs (eg PFI1).

i need two states of the analog output: eg. -0.1V and 2V. These two states have to be triggered by the external signal.

That means if i have a rising edge (or high signal) the analog state should be 2V and if it´s a falling edge (or low signal) the analog state shoul be -0.1V.

How can i programm that? And is it posible that the board does this switching by itself and not the pc-software?

thank you.

navid

0 Kudos
Message 1 of 2
(5,715 Views)

Hi Navid,

 

well, thats quite a question. I dont think you can realize it by hardware, so you would have to programm it in the software. Here of course the question is which kind of delay is still acceptable for you.

 

Regards, RMathews

Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 Kudos
Message 2 of 2
(5,682 Views)