Jump to content
  • 0

Data Acquistion


Roosevelt

Question

Hi,

I'm having software issues with my MCC-DRV digital output on the USB 1616HS-4. My goal is to control the digital out channels on the DO port 2 portion of the USB 1616HS-4 because I want to activate/deactivate an 8-relay module that I have wired to the USB 1616HS-4 Dig-Ctr I/O. 

A scan rate error pops up when I attempt to run the test and no matter what I change in output module's time base settings, and it continues to pop up. Any suggestions? 

Also, In DASYLab's 2020 and USB 1616HS-4 manuals there's a lack of information on how to handle MCC-DRV's output module. All I can find is the pinout. Is there any configuration I need to do from a software standpoint in order to get those ports and channels functional. 

DigitalOutIssue.thumb.PNG.5922345c0e80f12ffeb24387a5270b7e.PNG

 

Link to comment
Share on other sites

22 answers to this question

Recommended Posts

  • 0

Hello,

Understand thoroughly the frustration you feel. The fix is to set both the Switch module and the Digital Output module to use the DASYLab time base. By default, the Switch uses the DASYLab time base, and the Digital Output uses the USB-1616HS time base. Below is a picture showing where to set the digital output to use the DASYLab time base. I tested it with the DASYLab time base set to a 10 Hz block size of 1 and found it to work.

Your next problem will be with the 3.3v outputs. I recommend not using them to source current to the relay control. Instead, use an external power source and treat the outputs like an open collector transistor configuration. For example, tie the (+) relay control to your (+) power source and the (-) relay control to the digital output. Then, connect the power source (-) to the USB-1616HS ground. In this configuration, the relay will turn on when the output is set low because the current will flow through the output to the ground like a switch. I hope this help, John

image.png

Link to comment
Share on other sites

  • 0

Hi John, 

Is there a way I can click one switch to turn on the I/O ports on my USB 1616HS-4 and have it read the sensors I have wired to the ports, but also have another switch that I can click to start and stop recording my data to an excel sheet. By default, everything is coded to one switch which is no good for the tests I'm trying to execute. 

 

To reiterate, I want to be able to start and stop writing data on command but when I'm not writing data to an excel, I still want to see live data on my digital meter. 

 

StartStop.thumb.PNG.9be4ce17e12000b980805519115ee891.PNG

Link to comment
Share on other sites

  • 0

A basic concept with DASYLab is that data is flowing all the time and Relays are used to gate data to different parts depending on the design. So use Relay modules before your Write Data modules. You can tie all the control inputs to a single switch to enable or disable when data is saved.

John

Link to comment
Share on other sites

  • 0

Could you explain more? I'm not as technical as most when it comes to data acquisition. 

From what I see within DASYLab the start/stop module is an output module, so I'll have a difficult time trying to incorporate it. 

I'm just trying to have the "start and stop" operation completely independent from the "start/stop" of recording my data. 

Link to comment
Share on other sites

  • 0

You're not going to like my answer. See how the Analog Input is against the left side of the worksheet and other modules crowd it. The error message  should say, "There is no room to expand the Analog Input module."  The solution is to move the other modules to the right to make room. This may require you to delete and redraw wires. To delete a wire, double-click the right mouse button. Or you could start over with a new worksheet.

Link to comment
Share on other sites

  • 0

Hi John, 

I hope you're having a good day. 

I'm having a small display issue with my software. All of my display modules are chart recorders and I've noticed when I record live the display is not plotting all of the inputs I have going into the module, but the module picks up each input because it has each of them labeled in the legend. Could this be because a chart recorder isn't the most suitable thing for what I'm trying to achieve? should I use a Y/T chart? 

regards, 

GraphIssues.thumb.PNG.6d4e35dc3ebed9f3e3164b89372a596b.PNG

Link to comment
Share on other sites

  • 0

In the lower-left corner, the channel labels are displayed. However, they are not just labels, they also enable and disable the channel. For example, on the PSI Graph, click the label Recorder 0, and it will pop out instead of indented, indicating disabled. Also, you have the plot control showing a single plot. For example, if the temperatures are all very close, it will look like a single trace. On the Chart Recorder, click the Multiple Windows icon found on the ribbon bar to show four mini charts in this case.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...