04-29-2006 09:33 AM
05-01-2006 03:54 PM
Hello Cbh,
The best way to generate a single digital pulse (of specific period) is to use the onboard counters. You could generate this digital pulse based off some hardware trigger, or have these VIs to execute an a Case Structure. I have attached two VI that could be used for this purpose. The first example does not use any triggering and would only generate a single pulse. The second example does the same thing, but it waits for a specified trigger to file.
Regards,
Chetan K
Appplication Engineer
National Instruments
05-07-2006 09:40 PM
05-08-2006 01:31 PM
Hello metumu,
What are the specifications of your stepper motor? Specifically, how much current would you need to drive this motor?
Usually stepper motors demand higher currents than what the DAQ device can supply. For this reason, stepper motors are associated with external drives.
You can find another similar discussion forum by following this link
Chetan K
Application Engineer
NI
03-21-2012 10:53 AM
Could you provide an example that uses an express VI? I don't fully understand how to use DAQmx items, and my current VIs use Express VIs and I'm not sure how to integrate them.
I am using a rotary encoder on a motor shaft, and want to send out a pulse train to trigger a camera. The rotary encoder outputs a relatively clean digital signal, at 1000 pulses / rotation. However, I would only like to send the trigger to the camera 25 times per rotation (so a decimating factor of 40).
I am using LabVIEW 8.5 with a PCI-6251 and BNC-2110. There are two BNC connections under "Trigger/Counter": PFI0/AI START and CTR 0 OUT, and I was wondering if/how I should be using these connections, instead of analog input or digital input for the encoder signal, or where to send the output.
Also, if you can provide any insight to how much, if any, of a delay will result from decimating the signal, or a way that I could measure that.
Thanks!