LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sending out analog signal more than 100 times per second with while loop?

Hi there,

I would like to trigger my piezoelectric motor more than 100Hz, can I do that with motion controller PCI-7344/PCI-6036E and using while loop in Labview? if yes how can I do such high oscilation. any one interest please advice.

 

 

thanks

 

Aneece

0 Kudos
Message 1 of 6
(3,329 Views)

Hi!

 

Sorry if my post is unhelpful.  I'm not very familiar with piezoelectric motors or with the PCI-7344/PCI-6036E motion controllers.  So, in short, there is probably a much simpler solution than what I'm about to present.

 

 

If my assumption is correct, the motor is driven by a square wave or something similar in a PWM configuration?  If so, you can make a PWM circuit that varies the duty cycle based on the input voltage.  I've set this up when I needed PWM at a frequency in the kHz and I controlled the duty cycle using an analog output.  The frequency of the PWM is dependent on an RC circuit, so a potentiometer can be used to adjust this frequency.  There are a lot of examples online to copy.  Sorry!  This is a programming with a soldering iron approach!

0 Kudos
Message 2 of 6
(3,316 Views)

Then running a non Realtime OS, and Labview. The software timing will be somewhat inaccurate. If accurate interval timing is needed it is much better to use hardware based timed like the counters in your PCI-6036E. It is just a friendly tip;)



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 3 of 6
(3,307 Views)

HI,

Sorry for late reply, my over all envelope of my signal is cosine signal,so the amplitude of the signal will decrease gradually untill almost zero then increase gradually until first value. I need to know can i send out the analog signal using labview 100 hz with while loop.

0 Kudos
Message 4 of 6
(3,264 Views)

I don't think software time update is fast enough to write 100Hz sine wave.

I'd recommend to use M-series, http://sine.ni.com/np/app/main/p/bot/no/ap/daq/lang/en/pg/1/sn/n17:daq,n24:PCI,n3:7691,n14:7564,n21:..., which can be update analog output by on-board clock.

0 Kudos
Message 5 of 6
(3,243 Views)

Thanks for the reply,

I have between my hand the PCI-6036E series, can I use it for updating the analog signal more the 100 Hz, could you please give an example for that? 

0 Kudos
Message 6 of 6
(3,215 Views)