01-27-2009 10:10 AM
I need to output 4 different high speed PWM signals. I understand that using a R-Series Reconfigurable DAQ with FPGA is the way to go. The problem is that I would like to communicate with the DAQ card through a C++ program in Visual Studio.
I do have LabView and will use it to precompile the FPGA vi. I also know how to get that vi to autoload from flash memory when the device boots, but from there I'm stuck. How do I, from C++ code, tell the FPGA what the PWM output frequency should be. From Labview, I would just access the front panel variable, but I'm unsure how to do this from C++ code.
01-29-2009 01:37 PM
Hello,
To accomplish this, you would create a dll and call it in your C++ program. Below is a link with more information about this.
Can I Use a Programming Language Other Than LabVIEW with a Reconfigurable I/O Board?
http://digital.ni.com/public.nsf/allkb/CF5427DEE53A3A0786256D4B0055D713?OpenDocument
Best Regards,
Anna K.