08-19-2013 11:43 PM
Hello Sir,
I am trying to simulate arbitary signals from a set of data. I have attatched two VIs first one isFF.png which is just simulating the signals and sending the output to a oscilloscope using DAC assistant.
I have attached another code inwhich i have two signals going into DAC assistant one generated from triangular signals generator and another from Simulate arbitary signal. Now in this case it is not working.
If i send two signals from tri signal generator to DAC it works fine. but when i use simulate signal VI there is not output through dac.
Is there anything wrong with my code.
08-20-2013 12:10 AM
@Sachindian wrote:
I have attached another code inwhich i have two signals going into DAC assistant one generated from triangular signals generator and another from Simulate arbitary signal. Now in this case it is not working.
Not working: as in throwing any error OR just there is no output being generated from the DAC OR something else happening... NEED MORE DETAILS
@Sachindian wrote:
Is there anything wrong with my code.
Can't say anything (but wild guesses) without seeing your code...!!
08-20-2013 12:24 AM
Another problem i am facing is that the simulate arbitary signal vi generates only one set of data which is written in the file in the main VI.
08-20-2013 12:27 AM
I am not able to attach the code dont know why.
There is not output also not error in the code while running it.
08-20-2013 12:29 AM
here are the codes in a zip file
08-20-2013 12:40 AM - edited 08-20-2013 12:41 AM
@Sachindian wrote:
I am not able to attach the code dont know why.
Why are you not able to attach it???
ZIP your code, make sure that in the name of ZIP file there should be just ONE '.' (dot, period) that too before extension.
So the valid name would be: Myzip.zip
and example of invalid name is: Myzip_LabVIEW8.5.zip
This is a bug I observed, sometimes while uploading files, if there is a period in the name of file, forum page doesn't allow to upload the file by saying, invalid file.
08-20-2013 12:48 AM
I have aatached the code in my previous reply.
just to summerise there are three main problems.
1) the FF code runs perfectly fine. I am getting the wave form out of dac. But when i write the data which is input to the dac its just the same data which is i put in the simulate signal. i mean it is not a continous waveform its just the data of one period.
2) When i copy the feed forward code and connect to the DAC in the main code it doesnt work. I believe that its because there are two signals comming in to the the dac.
08-20-2013 01:38 AM - edited 08-20-2013 01:38 AM
@Sachindian wrote:
just to summerise there are three main problems.
1) the FF code runs perfectly fine. I am getting the wave form out of dac. But when i write the data which is input to the dac its just the same data which is i put in the simulate signal. i mean it is not a continous waveform its just the data of one period.
2) When i copy the feed forward code and connect to the DAC in the main code it doesnt work. I believe that its because there are two signals comming in to the the dac.
--> Where is the 3rd main problem??
--> What is the exact problem in point 1, it's not clear
--> can you remove all extra code (as your VI is too clumsy) and save it to another VI, with just relevant code, where you think problem exists.
--> remember to use 'Clean up diagram' tool (Ctrl+U).
08-20-2013 01:47 AM
IN the first part what i am trying to explain is that the simulate arbirary signal just generates the same data which i have given to it. it just gives one single waveform. The DAC is regenerating the waveform. The simulate arbitary signal VI is not generating a continous signal just one timeperiod. I want it to continue generating the wave.
08-20-2013 01:57 AM
I have cleand up the part which is not required in the vi and attached the relevant one.
in ths Vi there are two signals which are generated one from the trigular signal generator and another is the simulate signal.
The problem is DAC is not giving any output. It works fine when I put one signal at a time.