08-19-2020 01:10 PM
Hello,
I'm looking for an hardware compatible with DasyLab and with the external clock option.
I tried different MCC's models but, even if this option is enable on the configuration module, that doesn't work. This was confirmed by MCC.
Could you suggest me multifunction USB Daq models that can perform my request ?
Thanks a lot.
Hugh
08-19-2020 01:56 PM
Hugh,
What are your other DAQ requirements?
How will you use external clocking? What is the purpose and how will you clock?
I'm not sure how the MCC hardware does not meet your needs, nor can I suggest other hardware, without understanding how you plan to use it.
In general, DASYLab's model is for continuous input of data, where the samples are equidistant in time. Each driver handles this a bit differently, but adding external clocking to this can affect the time stamp for each block of data.
08-21-2020 04:29 PM
Hello CJ,
Thanks for your answer
I need a min of 4 analog input channels. External & internal clocking options, with max frequency = 20 kHz (for timing recording)
The measurement must be clocked by a coder with x pulse/turn (x is variable, ex: torque & position)
The application will use coders for angular position information, that's why time is not important
MCC hardwares don't work in external clock mode under DasyLab. They confirmed me the pb.
Actually i use some MCC's Daq but i need to increase the frequency to see my coder TTL and then i latch data to my graph.
The pb is that if i use a high resolution coder at a high rotation speed, the hardware capability is not OK.
In the past i used some PCI card from NI or some ethernet IOTech's DaqBook, i made worksheets with external clock that worked.
But i prefer an USB system, if not possible, could you advise me a solution ?
Thank you
Hugh
08-24-2020 08:50 AM
First, I asked around at Measurement Computing, and at least one application with DASYLab and external clocking (USB-1808) works within reason. We're not sure who you spoke to.
You can contact us (see below) and mention this conversation.
Second, we offer an IOtech PersonalDAQ/3000 that uses the same driver that you've used.
I don't have the same familiarity with NI equipment, but, as the DASYLab driver uses NI-DAQmx tasks, external clocking should be supported. NI has many USB capable options.
DASYLab Full includes a Resample module that allows you to re-block the data using a timing signal (as in rotational ticks).
08-30-2020 07:03 AM
Hello,
Thank you so much.
I tested external clock with an USB-1808 and the problem is that i loose data (i can't acquire all pulse data).
I know that we talked about this subject in 2017, but i still don't understand how to configure the module to acquire all the data for each rising edge of my coder.
I need 8 analog channels with external clock.
I think that the solution with external clocking won't be possible.
Have a good day
Hugh
Below parts of ours emails about this subject (march 2017), my pb was counter input data synch with external clock
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
Hi,
Jeff and I are looking at this… and we now understand the problem.
This is a multiplexed device. It uses one A/D to successively acquire the defined channel list.
When you acquire one channel, the number of samples and the counter input match. It takes 1000 ticks to acquire 1000 samples.
When you acquire two channels, it takes TWO clock ticks to acquire them, so the number of samples per channel is 1/2 of the counter input, or, the counter input is double the number of samples per channel. It takes 2000 ticks to acquire 1000 samples for each channel, a total of 2000 samples.
When you acquire three channels, it takes THREE clock ticks to acquire them, so the number of samples per channel is 1/3 of the counter input. It takes 3000 ticks to acquire 1000 samples per channels, a total of 3000 samples.
Here's how I got it to work:
External timer set to 3,000 hz.
Number of channels = 3
DASYLab MCC-DRV Analog Input timebase, HW, set to 1000 samples/channel, block size 32
DASYLab MCC-DRV Counter Input timebase, SW, set to 100 samples/channel, block size 1
I also changed the Relay setup to more accurately stop after 5 seconds. The Action module is always slightly delayed (asynchronous, typically), so I try not to use it.
I also added a STOP module to stop the measurement after 5 seconds.
Another issue -- when you use external timing, the minimum block size is 32, and should be a multiple of 32 for higher sample rates. That's how this device works - it has a minimum buffer of 32. Use block sizes of 32, 64, 128, 320, 640, etc… try to keep the block size about 1/10 of the sample rate per channel.
Every time you change your input sample rate, configure the input timer so that it is a multiple of the number of channels that you are collecting, times the sample rate per channel. Configure the Analog Input timebase to match the sample rate per channel.
In my scenario, this is line 5007 of the file (the last line)
5 seconds, 157 blocks, 5001 samples per channel, and 15,017 clock ticks to do that.
5.000 157.00 5001.00 0.00 1.75 15017.00 1.52
I changed the external timer at 30,000 Hz, and the Analog Input timebase to 10,000 samples/second, block size 320.
This is line 50,007 of the data file.
5.0000 157.00 50001.00 0.00 1.75 150050.00 1.42
Because of the discrepancy of the sample rates for the Analog Input and the Counter input, those values are never going to match exactly.
Let me know if this helps.
Thanks,
-cj
Catherine Jo "cj" Butler | Account Manager and DASYLab Product Marketing
Measurement Computing/Data Translation
10 Commerce Way | Norton, MA 02766
Direct: 508-342-3042
From: Debruyne Hugues [mailto:techali_france@yahoo.fr]
Sent: Friday, March 24, 2017 7:29 AM
To: Jeff Greenberg <jeff.greenberg@mccdaq.com>
Cc: CJ Butler <cjbutler@mccdaq.com>
Subject: Re: 123471 RE: Tech Support DASYLab & MCC driver External Clock
Hello,
Thanks, I list all your requirements:
* DasyLab V13 Pro
* Win7 Pro SP1 32bit - 4Go RAM
* InstaCal V6.35
* MCC DasyLab version 13.0.0.180 en
* USB-202 Firmware V1.04, connected to an USB2.0 port
* Laptop DELL Latitude E5540 Intel I5 vpro
* Signal generator : Yokogawa CA150 => Frequency Output Mode with TTL Low=0V High=5.1V
I attach:
* The worksheet
* The picture of the USB-202 connected to the generator
If you need more information, don't hesitate.
Thank you for your support.
Have a good day
Cordialement
Techali
Solutions Techniques
Debruyne Hugues
9 allée Claude Debussy
93140 Bondy
Fixe: 01 70 07 12 14
Mobile: 06 04 65 27 72