LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Waveforms/Modifying them

Hey everyone.

 

I have a few problems...

 

First question...

 

I’m adding two waveforms, one at approximately 80 Hz, and the other at 200 Hz... This works fine using the ADD block... but the waveform is "jaggered"... as in i need to add more samples... if i increase the samples over 1000 the ADD block returns an error and i recive nothing for the waveform graph. ( im using the sin wave generator block )

 

Second question.

 

(completly unrelated to the first)

 

I am reading in an analogue input from a DAQ card. I can successfully save the sample and output it to an AO. The problem is, is that I want to modify the signal before I output it... i have modified the standard Analogue read/write located in labview 9 examples. Under hardware I/O --> DACmx -- analogue ---> voltage... I have broken down the waveform using uncluster and get wave form components ( y t0 dt)... I then put it back EXACTALLY the same... as in build waveform.. recluster. Etc... And it crashes because of a channel error. It’s really frustrating because I’m changing absolutely nothing and it has errors.

 

thanks for any help.

 

 

0 Kudos
Message 1 of 3
(2,561 Views)

I figured out the error with the first problem. Turns out my case statement when false I was adding a wave from of 0, but with a different Dt.. All fixed.. But problem two still exists.

0 Kudos
Message 2 of 3
(2,542 Views)

Hello Josh,

 

Can you post a screenshot of your VI´s block diagram?

 

Regards

 

Martin G

Applications Engineer

National Instruments Corp

 

 

0 Kudos
Message 3 of 3
(2,525 Views)