Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 2 > Newsgroup comp.lang.labview

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-30-2008, 03:40 PM
ERLphase
Guest
 
Posts: n/a
Default How to do a digital waveform subtraction

i am trying to subtract two digital waveform using subtract operation, but it seems that the subtraction opertation doesn't like digital waveform.
error message:"You have connected two terminals with different types. the type of the source is digital waveform, the type of the sink is double"
anybody can help? please.
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 07-30-2008, 04:10 PM
Jorge Amaral
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

Hello,
 
First you have to connect "get digital data components.vi" and select "data". Then you can do math operations on it.
Reply With Quote
  #3 (permalink)  
Old 07-30-2008, 04:40 PM
ERLphase
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

thanks bro. it works. appreciated.
Reply With Quote
  #4 (permalink)  
Old 07-30-2008, 05:10 PM
ERLphase
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

well bro. i found it only works for the waveform components of "t0 and dt" wont work if you choose the waveform component "Y", which is what i want. any idea? Thanks.
Reply With Quote
  #5 (permalink)  
Old 07-30-2008, 05:40 PM
Jorge Amaral
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

You didn't mention digital waveform? Like binary?
 
Do one thing.... Attach a small vi with the operation that you want. And i'll try to fix the error.
Reply With Quote
  #6 (permalink)  
Old 07-30-2008, 06:40 PM
ERLphase
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

here is the vi.  i hope you can help. thank you.


dither tech.vi:
http://forums.ni.com/attachments/ni/170/345235/1/dither tech.vi
Reply With Quote
  #7 (permalink)  
Old 07-31-2008, 09:40 AM
Jorge Amaral
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

Hello,
See the attached modified example. Now you can access data in a 2D array .
 
 


dither tech2.vi:
http://forums.ni.com/attachments/ni/170/345406/1/dither tech2.vi
Reply With Quote
  #8 (permalink)  
Old 07-31-2008, 02:40 PM
ERLphase
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

Thank you very much. Now i am going to change that 2-d array back to a waveform. i will try to figure it out by myself, if i encounter any question,  i will ask you.
thank you, bro.
Reply With Quote
  #9 (permalink)  
Old 07-31-2008, 06:10 PM
ERLphase
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

well, how to show this 2D array digital data in the time domain, one corresponds to time, one corresponds to the amplitude? the idea is to show the output waveform after A/D converter and compare with the original analog waveform. please help me, thank you.
Reply With Quote
  #10 (permalink)  
Old 07-31-2008, 10:40 PM
Ipshita_C
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

Hi,
 
Please clarify your objective--do you mean that you want to plot the difference between the waveform before and after the A/D converter and have time and amplitude as the X and Y axes respectively in your chart?
 
Ipshita C.
Reply With Quote
  #11 (permalink)  
Old 08-01-2008, 12:40 AM
ERLphase
Guest
 
Posts: n/a
Default Re: How to do a digital waveform subtraction

yes, sort of. i need to convert analog sinewave with noise to digital waveform and add up another random digital noise, then show the result as digital waveform but the result waveform should have less noise than the orignal signal. it's called dither technique
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: HELP - NEED A SAS ROUTINE TO HANDLE SUBTRACTION on LARGE Paul Dorfman Newsgroup comp.soft-sys.sas 0 12-22-2007 04:50 AM
Re: HELP - NEED A SAS ROUTINE TO HANDLE SUBTRACTION on LARGE Muthia Kachirayan Newsgroup comp.soft-sys.sas 0 12-22-2007 03:36 AM
Re: HELP - NEED A SAS ROUTINE TO HANDLE SUBTRACTION on LARGE Nat Wooding Newsgroup comp.soft-sys.sas 0 12-21-2007 11:57 PM
Re: HELP - NEED A SAS ROUTINE TO HANDLE SUBTRACTION on LARGE Ian Whitlock Newsgroup comp.soft-sys.sas 0 12-21-2007 09:13 PM
HELP - NEED A SAS ROUTINE TO HANDLE SUBTRACTION on LARGE NUMBERS Charles Patridge Newsgroup comp.soft-sys.sas 0 12-21-2007 06:22 PM



All times are GMT. The time now is 01:02 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.