MikeG Posted April 5, 2022 Share Posted April 5, 2022 I have a project with a Labjack T7 and a T4 operating a machine and collecting data. My client wants to add a stepper motor to the machine. I setup the labjacks on ethernet and the channels on DaqFactory are device type LabjackM, D# is 192.168.1.207 and 204. How can i add a pulse output to one of my channels. Quote Link to comment Share on other sites More sharing options...
LabJackSupport Posted April 6, 2022 Share Posted April 6, 2022 We support a PWM output feature that runs continuously until stopped and a pulse output feature for a discrete number of pulses. For either feature you will need to do some configuration via a sequence in DAQFactory, or a startup configuration on the device. Also note that these features are only supported on certain FIO terminals for each device as described at the start of the feature documentation. Please see the following documentation: https://labjack.com/support/datasheets/t-series/digital-io/extended-features/pwm-out https://labjack.com/support/datasheets/t-series/digital-io/extended-features/pulse-out If you wanted to set up the feature as a startup configuration, you could use the following guide to set the feature up in our Kipling software, then use the power up defaults tab in Kipling to save it as a startup configuration: https://labjack.com/support/software/applications/t-series/kipling/register-matrix/configuring-pwm-output To do the configuration in a sequence, you can use the StartUp sequence in our LJM_Basic.ctl example as a starting point. You could remove the "AIN#_RANGE" LJM_eWriteName calls and add in your feature config calls. For example, to set the feature to pulse output on FIO0 (only valid on a T7) you would do make the following call: LJM_eWriteName(identifier, "DIO0_EF_INDEX", 2) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.