Jump to content

DanCzar

Members
  • Posts

    2
  • Joined

  • Last visited

DanCzar's Achievements

Newbie

Newbie (1/4)

1

Reputation

  1. Thank you @Fausto! I was able to take what you put together and tweak (capturing finite samples instead of continuous) and it seems to be working correctly now. I think my biggest issue was timing between the two paths, input and output. I setup the two in a sequential frame to make sure the input trigger would be setup and waiting before the digital out fired. I think what was happening was that the digital out would fire before the input trigger was ready so it would get missed and just time out. I've included a screenshot of the relevant block diagram in case it's helpful to anyone in the future.
  2. Hello, I'm trying to use a USB-1808X with LabVIEW to simultaneously output a pair of digital signals on DIO0 & DIO1 (step and direction signals for a stepper driver) while simultaneously acquiring data on 4 analog voltage input channels and a rotary encoder. I can successfully send out the digital signals. Separately and independently, I can simultaneously acquire data on the 4 analog channels and 1 encoder channel. What I am trying to achieve now is to trigger the input acquisition for those 5 channels from the digital output. Specifically, I'm trying to use a third digital port, DIO2, to output a signal that just goes from 0 to 1 to trigger a rising edge trigger. I have tried using the "Basic Digital Edge" trigger, but I get an error indicating the basic trigger type is not supported by the task. I'm assuming this means a basic trigger can't be used on a composite input channel. Building on that, I've tried switching to a Composite trigger. If I choose "None", I successfully acquire data but it's obviously not synchronized to anything as it's simply starting as soon as it can. The next option would seem to be the Composite external TTL. However, I cannot find any documentation or examples related to this. Does this option use the ITRIG port or does it need to be wired somewhere else? Is there a better overall strategy for what I'm trying to achieve? Any help is greatly appreciated.
×
×
  • Create New...