05-27-2009 10:05 AM
Hi,
I just want to create a 5V TTL signal with a NI 7330 card. If I have this, I want to change the frequency. How can I manage this with LabView?
Thank you very much
Phil
05-28-2009
03:34 AM
- last edited on
03-05-2025
01:53 PM
by
Content Cleaner
Phil,
this is not a typical usecase for a NI 7330 motion contol card, but anyway. For your task you could use the step signal of an axis configured as open loop stepper. Then run a simple 1-axis example and you will see a 0 - 5 V output signal at the step output. You can vary the frequency of this signal by changing the velocity on the fly or by using the Load Velocity Override function.
If you need better control over your output signal (e. g. control the pulse width), you better should use a board with clocked general purpose digital I/Os like a PCI-6220.
Another option is using the PWM outputs of the 7330 (Configure PWM Output and Load PWM Duty Cycle). The drawback of this solution is the limited number of discrete frequencies that are available. Here is the list of output frequencies for your board:
If this list meets your needs, this could be an option for you.
Regards,
Jochen
05-28-2009 03:44 AM
Hi Jochen,
thank you very much for your answer. I know, that this is not a typical use for this card, but I've to do this *g*
I'll try it by the first way
Phil
05-28-2009 09:57 AM
Hi Jochen,
I did it like you told me and I got a TTL Signal.
Then I started the Labview Example "1D Straight Line Move.vi" from NI-Motion and it worked.
When I raised down the velocity, the frequency was decreasing, so it was okay.
But when I raised up the velocity, over 10000, the TTL signal didn't change.
So, is there anywhere a velocity maximum in the NI-Motion Control?
And one other question: When I start in the NI-Motion Control Program an Interactive test, the signal raises up to 5V and stays there and the red light "Motor Axis kills off" appears. Why?
I would be very happy, if you could answears my questions
Thank you very much
06-18-2009 06:45 AM
Hi Tscherni,
sorry for the late response, but I was out of office for vacation. Have you been able to solve the issues, yet?
Regards,
Jochen