10-23-2008 08:14 PM
Is there anyway you could send me the PWM triangle wave example from ipnet under signal generation in labview 8.5 format? It looks like something that could help me. The application engineer I talked to earlier said she would email it to me, but she may have forgot.
Thanks,
Dane Miller
10-23-2008 11:32 PM
The main problem I seem to be having now is getting a sawtooth wave to go around 300KHZ. So far the fastest I have seen on my output of the 9263 is 30KHZ sawtooth and PWM output. I need ten times that. Do you think a derived clock could perform that much faster? I tried the SCTL and the Q and R requires more than one tick as well as the module read and writes.
Thanks,
Dane Miller
10-24-2008 01:39 PM
Dane,
Did you receive the example from the other AE? I was talking with her last night regarding this so if you don't have it I can definitely look into downgrading it. Derived clock 'may' help with that, but the best thing to do would be to have the AO module (possibly AI as well) in a dedicated loop so it will run faster. You will not be able to use the SCTL with any of the analog modules, that is correct. Try to break up things into different loops and use a FIFO between loops to get data from one to the other.
10-24-2008 02:42 PM
Jared,
I never did receive it from the AE I talked to last night. Could you downgrade it for me.
Thanks,
Dane
10-25-2008 02:00 PM
I have tried everything I know how to do to try and make the sawtooth wave go around 300KHz and I can't seem to figure it out. I even tried using a relay with a LUT to see if that would perform faster. Is there anyway you could post me an example of what you had in mind using a determinstic loop with a FIFO?
Thanks,
Dane Miller
10-26-2008 01:37 AM
I just now received the example from the AE I talked to the other day. Not sure if it will be fast enough, but I will try it. I did attempt putting the triangle wave in a SCTL with a LUT and a FIFO to communicate the data to another loop. It doesn't seem to want me to use a shift register? Any ideas?
I attached my most recent attempt to achieve a triangle wave with 3MHz steps and 300kHz period on FPGA for crio 9074:
Thanks,
Dane Miller
10-27-2008 09:27 AM
10-27-2008 11:39 AM
Thanks, that makes more since now. In the end I don't need to see the sawtooth and I would like to ouput the PWM signal from the 9401 digital I/O module do you think this would be sufficient for a freq of 300kHz?
Thanks,
Dane Miller
10-27-2008 12:52 PM