04-09-2013 04:28 PM
I am having trouble controlling a MCC Relay (USB-ERB08) using LabVIEW. Can someone help with this? If there is a way to attach my VI, I can do that so it might be easier to see what I am doing wrong. Thanks!
04-09-2013 05:56 PM
I found this knowledgebase article, but it doesn't explain very much. I have the VI from the article attached.
04-10-2013 01:42 PM
Do you have the ULx drivers installed from http://www.mccdaq.com/daq-software/universal-library-extensions-lv.aspx ? Aside from that was there something in particular you couldn't get to work with the code?
04-10-2013 01:50 PM
I called the MCC tech support, and they just sent me an example VI that I will be testing soon. I will let you know how that goes. Basically, I am trying to control two things via LabVIEW using the USB-ERB08 relay: an LED and a GenieTouch Syringe Pump. If you have any knowledge on how to approach this, your input would be much appreciated. Thanks!
04-10-2013 01:53 PM
And to answer your question... Yes, I have ULx already installed and am currently using it to run a USB-1208FS daq via LabVIEW (which I haven't had a problem with yet)
04-10-2013 04:04 PM
Ok I now have a functioning VI for the USB-ERB08 relay, so you can ignore that. Now our issue is with filtering out noise on the DAQ (USB-1208FS). My advisor recommended using a butterworth filter. I watched a youtube video on "smoothing" (where they use a butterworth filter), but the video gets WAY too complex compared to my project. For the butterworth filter, when I try to hook up the "filtered X" to the waveform graph (as shown in the video), a wiring error pops up saying "cannot connect to more than one data source". I've attached the VI for the DAQ....comments?
04-11-2013 01:00 PM
Glad to hear you were able to get the drivers working!
If you set the ULx read mode to Analog -> Single Channel -> Multiple Samples -> 1D DBL, the output will be an array of doubles rather than a waveform, which is what the Butterworth Filter function is expecting for 'X'. You will still be able to connect the array of doubles from 'filtered X' to the Waveform Graph, it just won't have the timing information like the waveform.