04-19-2005 11:04 AM
04-19-2005 12:36 PM
04-26-2005 10:12 AM
04-26-2005 03:03 PM
07-21-2005 11:39 AM
07-21-2005 11:54 AM
Forget Winnt.h
Simply add to the top of the program
#include <Windows.h> and things should work.
wfc
07-21-2005 11:58 AM
07-21-2005 12:12 PM
Well,
If you aren't using PXI or one of the other NI technologies that can natively handle PWM, there are industrial PWM controllers available--catalogs full of stuff like this--for all different voltages. If your hardware isn't designed for PWM, using Windows and CVI to artificially do it is just spinning your wheels. It isn't even worth your time to try to program something like this, and it isn't worth your money to get a realtime kernel that will run in parallel with a Windows kernel--and there are some available... $$$
Orlan