04-05-2010 04:40 AM
we are generating sine weighted PWM using carrier of 2.5 Khz , we want to generate 1 micro sec delay between each iteration of while loop. Output pulse Ton and T off time are in microsecs .
04-06-2010 03:14 AM
Hello,
I would like to know what is the hardware platform on which you are going to use this setup. The reason is your Windows OS will only allow you till 1 milli-sec. But for 1 micro sec you will require Real Time OS. Now you will have to use the Timed Loop structure which will allow you to have a selection of 1 MHZ sample clock. So you can refer to this loop under Programming>> Structures>> Timed Loop.
Hope this helps.
Thank You.
Priyank.
04-06-2010 11:38 AM
Hi
The Hardware platform is core2 quad processor with windows OS. and using cDAQ-9178 with NI 9474 card. I also tried with Time loop but windows is not supporting 1MHz sample clock. can I configur my PC for Real Time LabView module in that I have one function "wait for"in that I can select microsecond unit and use in while loop. I have also tried this but I have'nt get the expected result. do u know who to use RT module or who to creat RT project. Is there any other method to generat 1microsecond delay.
04-06-2010 11:40 AM
Hi
The Hardware platform is core2 quad processor with windows OS. and using cDAQ-9178 with NI 9474 card. I also tried with Time loop but windows is not supporting 1MHz sample clock. can I configur my PC for Real Time LabView module in that I have one function "wait for"in that I can select microsecond unit and use in while loop. I have also tried this but I have'nt get the expected result. do u know who to use RT module or who to creat RT project. Is there any other method to generat 1microsecond delay.
04-06-2010 10:47 PM
Hi,
The problem is what you are trying to achieve is itself not possible on Windows operating system. The clock on Windows is a 1KHz clock, so you cannot go above this value. To achieve the 1 MHz rate you will require an all together different system which supports the Real Time OS. We have range of hardware which can work on RT. Now the modules that you are having are C series modules which can be used on cDAQ as well as on a hardware called cRIO which has a RT OS and here you can achieve the 1 MHz clock. Apart from this you can make your desktop as a RT target. But I doubt if you can achieve that much rate on this.
Thanks.