Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to start an AC motor with a C# code

Hi,

 

I want to develop an application for starting and stopping an AC motor.  The module I am using is NI-9472.

 

Does anybody know how to do that or is there any sample code in visual C# 2008 for that?

 

 

Thanks,

 

Faraz 

 

 

0 Kudos
Message 1 of 2
(3,462 Views)

Hello Faraz,

 

If you included Text-Based Code Support when you installed DAQmx for the NI 9472 DO module, you can find examples on how to communicate with your instrument by navigating to: Start»All Programs»National Instruments»NI-DAQ»Text-Based Code Support».NET 3.5 Examples. A good place to get you started would be writing to a digital channel i.e. Start»Programs»National Instruments»NI-DAQ»Text-Based Code Support».NET 3.5 Examples»Digital»Generate Values»Write Digital Channel»CS. I have also included additional Text-Based Code Support information in the link below:

 

1. Text Based NI-DAQmx Data Acquisition Examples: http://zone.ni.com/devzone/cda/tut/p/id/6999#.NETDIO

 

Regards,

 

Ali M

Applications Engineer

National Instruments

0 Kudos
Message 2 of 2
(3,453 Views)