Of course, please check the file section
In createwdqfile.zip, two sample files are included:
GenerateWdqfile uses writedatafileII control
GenerateCalculatedwaveform uses writedatafil control
--- In ultimaserial_group@yahoogroups.com, "Dale Hardy" <photon1@...> wrote:
>
> Can ' writedataqfile ' be used with Ultimaserial ?
>
> regards
> Dale
>
Per user request, the waterfall display in audio spectrogram program is now
resiziable
http://www.ultimaserial.com/UltimaSound.html
Also, a sample audio file to display the world "Hello" in frequency domain is
added
The new uMeter add-on seems to have replaced the old Meter and Alarm, but no
longer allows me to set averaging length and averaging mode. This is important
to me as when teaching I keep a window open for current load and a window for
peak load. Is there a way to restore this function or get access to the older
version of the program? Thanks.
The old meter is from dataq, not ultimaserial, and it has been discontinued. I
will see if I can find it somehow
--- In ultimaserial_group@yahoogroups.com, "jdeull" <jdeull@...> wrote:
>
> The new uMeter add-on seems to have replaced the old Meter and Alarm, but no
longer allows me to set averaging length and averaging mode. This is important
to me as when teaching I keep a window open for current load and a window for
peak load. Is there a way to restore this function or get access to the older
version of the program? Thanks.
>
Hello everyone,
I'm trying to use the 158U to add computer automation to an engine dyno and I
have a couple questions.
First let me say that the ultimate serial has been wonderful to work with. I was
able to quickly review the samples and get my VS2008 project up and working.
Does the ultimate serial have any sample frequency limits like windaq lite?
Should I poll with a timer or use events to retrieve samples?
I need to get engine RPM. I built a little hall sensor circuit and have tested
it at my desk. Do you think I will be able to read RPM up to 7000-8000 Rpm using
ultimate serial?
I'm a programmer by trade but I'm a little rusty on my electronics.
Thanks for any help with this project.
Sorry, but ultimaserial doesn't have frequency reading
--- In ultimaserial_group@yahoogroups.com, "theomccormick" <theo@...> wrote:
>
> Hello everyone,
>
> I'm trying to use the 158U to add computer automation to an engine dyno and I
have a couple questions.
>
> First let me say that the ultimate serial has been wonderful to work with. I
was able to quickly review the samples and get my VS2008 project up and working.
>
> Does the ultimate serial have any sample frequency limits like windaq lite?
>
> Should I poll with a timer or use events to retrieve samples?
>
> I need to get engine RPM. I built a little hall sensor circuit and have tested
it at my desk. Do you think I will be able to read RPM up to 7000-8000 Rpm using
ultimate serial?
>
> I'm a programmer by trade but I'm a little rusty on my electronics.
>
> Thanks for any help with this project.
>
Do you think I can write a function to do frequency reading using
UltimateSerrial and VS2008? I tested my code this weekend and it worked
OK at low RPM's. Should I use a timer or events?
ultimaserial wrote:
Sorry, but ultimaserial doesn't have frequency reading
--- In ultimaserial_group@yahoogroups.com,
"theomccormick" <theo@...> wrote:
>
> Hello everyone,
>
> I'm trying to use the 158U to add computer automation to an engine
dyno and I have a couple questions.
>
> First let me say that the ultimate serial has been wonderful to
work with. I was able to quickly review the samples and get my VS2008
project up and working.
>
> Does the ultimate serial have any sample frequency limits like
windaq lite?
>
> Should I poll with a timer or use events to retrieve samples?
>
> I need to get engine RPM. I built a little hall sensor circuit and
have tested it at my desk. Do you think I will be able to read RPM up
to 7000-8000 Rpm using ultimate serial?
>
> I'm a programmer by trade but I'm a little rusty on my electronics.
>
> Thanks for any help with this project.
>
--- On Mon, 8/31/09, Theo McCormick <theo@...> wrote:
From: Theo McCormick <theo@...> Subject: Re: [ultimaserial_group] Re: Dynometer automation To: ultimaserial_group@yahoogroups.com Date: Monday, August 31, 2009, 6:05 PM
Do you think I can write a function to do frequency reading using UltimateSerrial and VS2008? I tested my code this weekend and it worked OK at low RPM's. Should I use a timer or events? ----------------------------------------------------------------------------
Yes you can write a program to measure frequency. The limitation is the DI sampling rate, and whether all the buried UltimaSerial code can be completed within the sampling period. This is of course not known, so you have to try different counting algorithms and test their results against an input signal from a known audio signal generator. Both the input frequency and input signal level will affect the the limit on the measurement. At low signal levels, inherent A/D device noise will cause errors.
Is VS2008 a form of Visual Basic?
David Heiser
__________________________________
utimaserial wrote:
Sorry, but ultimaserial doesn't have frequency reading
--- In ultimaserial_ group@yahoogroup s.com, "theomccormick" <theo@...> wrote: > > Hello everyone, > > I'm trying to use the 158U to add computer automation to an engine dyno and I have a couple questions. > > First let me say that the ultimate serial has been wonderful to work with. I was able to quickly review the samples and get my VS2008 project up and working. > > Does the ultimate serial have any sample frequency limits like windaq lite? > > Should I poll with a timer or use events to
retrieve samples? > > I need to get engine RPM. I built a little hall sensor circuit and have tested it at my desk. Do you think I will be able to read RPM up to 7000-8000 Rpm using ultimate serial? > > I'm a programmer by trade but I'm a little rusty on my electronics. > > Thanks for any help with this project. >
Ave, Min, Max, RMS and AC RMS are added to Windaq Add-on uMeter:
http://ultimaserial.com/wmeter.html
--- In ultimaserial_group@yahoogroups.com, ultimaserial <no_reply@...> wrote:
>
> The old meter is from dataq, not ultimaserial, and it has been discontinued. I
will see if I can find it somehow
>
>
> --- In ultimaserial_group@yahoogroups.com, "jdeull" <jdeull@> wrote:
> >
> > The new uMeter add-on seems to have replaced the old Meter and Alarm, but no
longer allows me to set averaging length and averaging mode. This is important
to me as when teaching I keep a window open for current load and a window for
peak load. Is there a way to restore this function or get access to the older
version of the program? Thanks.
> >
>
Thanks for the reply. I'm programming in Visual Basic .NET using Visual
Studio. The UltimateSerial control is working fine in my program but at
high RPM's it is not accurate. I don't think the computer can keep up.
Someone suggested I use a LM2917 chip to convert to volts. I think this
may work.
I will let you guys know.
Hi,
I'm new to the group, new to Ultimaserial and new to DATAQ products as well
(also fairly new to programming in VB.NET).
I'm not sure how to word this question, so I will show what I AM doing, and then
what I would LIKE to do, and any help would be greatly appreciated.
Currently doing successfully in VB 2008.
Starting to monitor my DI-158U analog channels 1 and 2.
SampleRate = SampleRateBox.Text
AxUltimaSerial1.ChannelCount = 2
AxUltimaSerial1.set_PChannel(0, ULTIMASERIALLib.enumChn.Ch01_SE)
AxUltimaSerial1.set_PChannel(1, ULTIMASERIALLib.enumChn.Ch02_SE)
AxUltimaSerial1.Device = ULTIMASERIALLib.enumDeviceType.DI158
AxUltimaSerial1.CommPort = ULTIMASERIALLib.enumComPort.USB
AxUltimaSerial1.SampleRate = SampleRate
AxUltimaSerial1.Start()
Open MS Excel
oExcel = CreateObject("Excel.Application")
oExcel.Application.Visible = True
oBook = oExcel.Workbooks.open("C:\testcode\template.xlsm")
Send Info from DI-158u to Excel
Dim v(1, 199) As Short
v = AxUltimaSerial1.GetDataFrame(200)
oSheet = oBook.Worksheets.add
oSheet.Name = "Working"
oSheet.Application.Visible = True
oSheet.Range("A3").Resize(200, AxUltimaSerial1.ChannelCount).Value =
oExcel.Worksheetfunction.Transpose(v)
oExcel.Run("macro") ' VBA macro to process the data
Stop Monitering DI-158u
AxUltimaSerial1.Stop()
My Problem is that if I want to perform another test, the DI-158 still contains
the information from that one in its buffer and clearing the array does no good
because it gets repopulated with the same stuff.
What I would like to do is upon hitting start button:
1: Start Monitoring DI158u analog channels 1 and 2
2: open excel
3: Wait until the buffer has 200 items per channel
4: send the 200 items to excel
5: launch the macro
6: stop monitoring the DI 158u AND clear the buffer so the next time I do it, it
has fresh data.
step 3 and 6 seem to be the areas I'm not getting. Any Ideas? Thank you for
reading through this far and for any help you may be able to provide.
(I did not include my entire program in this post, I know it looks like I'm not
declaring variables, etc, but the code I did include is working, I'm just trying
to figure out how to do something differently)
Several options:
1) Based on the sample rate, add delay between each GetDataFrame, which simply
provides you with the latest batch of data
2) Make sure AvailableData property has enough data, then use GetData (not
GetDataFrame), which returns only the new data
> What I would like to do is upon hitting start button:
>
> 1: Start Monitoring DI158u analog channels 1 and 2
> 2: open excel
> 3: Wait until the buffer has 200 items per channel
> 4: send the 200 items to excel
> 5: launch the macro
> 6: stop monitoring the DI 158u AND clear the buffer so the next time I do it,
it has fresh data.
Besides the different text colors when the reading passes high or low limits,
now Windaq meter can output alarms via D3 and D3 of the device's digital port
See http://ultimaserial.com/wmeter.html for more detail.
FFT II and Spetrogram II are the second generation of the Windaq add-on FFT and
Spectrogram, with multiple FFT sizes, 1024, 2048, 4096 and 8192, and higher
resolution
http://www.ultimaserial.com/wdspectrum.html
Per user request, the scale of the waterfall is now adjustable
Place the mouse cursor in the top FFT waveform chart, drag the waveform up and
down, left and right click to reduce and increase the gain, and the waterfall
will follow it
Also added is AutoSet button. Like the similar button on a scope, single click
on this button will bring the signal in sight
UltimaWaterfall now accepts up to 4096 data points across the spectrum
Spectrogram II uses the above new features to allow expansion of its FFT
waveforms
Please download the latest and report any bugs
Hello
I would like to learn how can I use when one of the digital channel is input,
the other one is output. I searched in ultimaserial web site and I found some
codes but it is not clear for me...
I know following code line is used for that.
ultimaserial1.SetDIODir(0);
whats mean of 0. how does it express for digital channels I/O....?
and for example, how can I appoint when digital channels 1,2 are input and 3,4
are output.
thanks a lot for your support
See http://www.ultimaserial.com/standard.html#SetDIODir
Each bit in the direction register controls the direction of corresponding
digital I/O bits
For example, bit 0 controls the direction of digital I/O 0, bit 1 controls the
direction of digital I/O 1, bit 2 controls the direction of digital I/O 2...
So to make digital channels 1,2 as input and 3,4 as output, you need to set
digital IO direction register as 0011 (binary), or 3
--- In ultimaserial_group@yahoogroups.com, abdulaziz_aydin <no_reply@...> wrote:
>
> Hello
> I would like to learn how can I use when one of the digital channel is input,
the other one is output. I searched in ultimaserial web site and I found some
codes but it is not clear for me...
>
> I know following code line is used for that.
>
> ultimaserial1.SetDIODir(0);
>
> whats mean of 0. how does it express for digital channels I/O....?
> and for example, how can I appoint when digital channels 1,2 are input and 3,4
are output.
>
> thanks a lot for your support
>
DI-194RS has no digital outputs
--- In ultimaserial_group@yahoogroups.com, "olof.karlberg" <olof.karlberg@...>
wrote:
>
> Hallo,
>
> there are 3 digital i/o in this system. Can I use one as digital output and if
so, how do I set it up in a VB6 program?
>
> Thanks in advance
> Olof
>
Okay, I misunderstood the specification from dataq (say´s two digital inputs and
one output, however only to be used intenally??).
Would it be possible to use the the SquareWaveOutput on D2? I have noticed a
different voltage on this pin when toggling true/false?
Thanks in advance
Olof
--- In ultimaserial_group@yahoogroups.com, ultimaserial <no_reply@...> wrote:
>
> DI-194RS has no digital outputs
>
> --- In ultimaserial_group@yahoogroups.com, "olof.karlberg" <olof.karlberg@>
wrote:
> >
> > Hallo,
> >
> > there are 3 digital i/o in this system. Can I use one as digital output and
if so, how do I set it up in a VB6 program?
> >
> > Thanks in advance
> > Olof
> >
>
Not really
--- In ultimaserial_group@yahoogroups.com, "olof.karlberg" <olof.karlberg@...>
wrote:
>
> Okay, I misunderstood the specification from dataq (say´s two digital inputs
and one output, however only to be used intenally??).
>
> Would it be possible to use the the SquareWaveOutput on D2? I have noticed a
different voltage on this pin when toggling true/false?
>
> Thanks in advance
> Olof
>
> --- In ultimaserial_group@yahoogroups.com, ultimaserial <no_reply@> wrote:
> >
> > DI-194RS has no digital outputs
> >
> > --- In ultimaserial_group@yahoogroups.com, "olof.karlberg" <olof.karlberg@>
wrote:
> > >
> > > Hallo,
> > >
> > > there are 3 digital i/o in this system. Can I use one as digital output
and if so, how do I set it up in a VB6 program?
> > >
> > > Thanks in advance
> > > Olof
> > >
> >
>
Update on Windaq add-on FFT II & Spectrogram II
* For FFT size of 1024, all 32 channels can be enabled in Windaq
* For FFT size of 2048, up to 29 channels can be enabled in Windaq
* For FFT size of 4096, up to 15 channels can be enabled in Windaq
* For FFT size of 8192, up to 7 channels can be enabled in Windaq
* For FFT size of 16384, up 3 channel can be enabled in Windaq
See http://ultimaserial.com/wdspectrum.html
Does anyone have developed a Labview VI for the Agilent 4294A? I am having
issues to display the data and save it (if I do it too fast it locks up the
instrument). Any help would be greatly appreciated.
tks