Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

Update digital output at kHz


  • Please log in to reply
2 replies to this topic

#1 Elliott

Elliott
  • Members
  • 2 posts

Posted 27 August 2012 - 10:19 AM

Hi, I am trying to use a UE9 to test another data acquisition system that has a digital input. I want to output the DB37 or DB15 ports to the digital input of the DAQ that I'm developing, then output known values with the UE9 and ensure that they are all received correctly. It is critical that I can change the digital outputs of the UE9 at a high rate. For this to be a useful test I need to do it at at least a kHz, 20 would be preferable. I have gone through the LabJack documentation and examples (very useful by the way) and have seen some useful features but none that really does what I need. In the LabJack API, it seems like what I want is the "stream-DAC", but for the digital outputs. Does this exist and I'm missing it? I have also looked at using timers, but I don't see a way that I can change the digital outputs at known intervals. I'm currently using a Windows 7 machine and the LabJackPython sources, but I have OSX and Linux machines around and am comfortable with Matlab and C. Good job with all the online information. I apologize in advance if I'm just missing something. Elliott

#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 27 August 2012 - 02:04 PM

From Section 3.1 of the UE9 User's Guide we see command/response times of 1.7 or 1.5 ms, so you can get close to 1 kHz but likely not quite there. Stream-DAC only supports analog outputs on the UE9. On the upcoming T7 you will be able to do digital also. Also, the T7 will eventually have scripting support so you could program it to do what you want in hardware. Timer outputs are just square or rectangular waveforms. The one other thing you might look at is the SPI or Asynchronous functionality. You can use these to get digital information out on one channel quickly.

#3 Elliott

Elliott
  • Members
  • 2 posts

Posted 28 August 2012 - 08:19 AM

Thanks for the response. I'll follow up on those couple of ideas. I'll update this if I get something to work out. Thanks again, Elliott


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users