03-14-2010 09:42 PM
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
03-15-2010 01:23 PM
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