Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

.Net read counter Ondemand

Hi to all, I'm Luca.

I have a PCI6601 board and I'm developing an application with vs2008 c#. I'm trying to acquire data from an encoder without an external sample clock. I have created a linear position acquiring task with 'Measurement & automation explorer' software . I have set Timing settings\Acquisition mode to OnDemand and I have got data. I'm trying to do the same with c#. Can anyone give me some example code?

 

thanks a lot

0 Kudos
Message 1 of 3
(4,075 Views)

Hi Luca,

 

try this link:

 

http://zone.ni.com/devzone/cda/epd/p/id/4086 

http://zone.ni.com/devzone/cda/epd/p/id/4812 

 

Have a nice day,

 

M

Matteo Brunella
Application Engineer
NI Italy
0 Kudos
Message 2 of 3
(4,065 Views)

Hi Luca,

 

I have the same problem as you had with an encoder.  I would like to have an "OnDemand" sample clock and I don't know how to write it in C#.  It would be appreciated if you tell me how you resolved that issue.

 

 

Thanks,

 

Faraz 

0 Kudos
Message 3 of 3
(3,743 Views)