- Sep 8, 2004
- 1,495
- 0
- 0
OK well i have a USB controller i designed in FPGA that is connected to a windows machine. The basic interface is the windows program sends a command out to the USB and it returns some data, always.
So in my program i have button, when click it sends a command to do something, receives data (accepted command basically), then it sends another command asking if it is done yet, receives such data. If it is done, the button click function ends. But if not i keep sending a command out to the USB device till it is finished.
So what this does it freezes the application until the button event is done. It works for now but soon i would like some more function out of the program such as status updates as while the device is doing what ever i told it to do.
I know using a MCU i am able to use timers and interrupts to check at certain time allowing for other things to happen in between. So how would one go about doing such a C++.Net?
I guess you probably can tell i don't have a lot of programming experience as i am an EE student and unfortunately our EE program there is hardly any programming classes required or even offered, which is shame, that counts toward our degrees other than EE classes involving Assembly/C programing for MCU and HDL for digital circuits.
any help for links to sites with help would be great.
thanks,
chris
So in my program i have button, when click it sends a command to do something, receives data (accepted command basically), then it sends another command asking if it is done yet, receives such data. If it is done, the button click function ends. But if not i keep sending a command out to the USB device till it is finished.
So what this does it freezes the application until the button event is done. It works for now but soon i would like some more function out of the program such as status updates as while the device is doing what ever i told it to do.
I know using a MCU i am able to use timers and interrupts to check at certain time allowing for other things to happen in between. So how would one go about doing such a C++.Net?
I guess you probably can tell i don't have a lot of programming experience as i am an EE student and unfortunately our EE program there is hardly any programming classes required or even offered, which is shame, that counts toward our degrees other than EE classes involving Assembly/C programing for MCU and HDL for digital circuits.
any help for links to sites with help would be great.
thanks,
chris
