12-03-2013 05:19 AM
Oh I see, the substraction isn't right just deleted it.
12-03-2013 05:29 AM
Hi Koen,
Actually, it is running without error, but nothing shown in data graph. It seems the code doesn't read the signal that is generated.
Khalid
12-03-2013 06:16 AM
Hmm, strange. Did you connect everything right?
Are the physical channels filled in right?
Is the read function compatible with your phyical channel, it's now on 1channel1waveform.
12-03-2013 06:31 AM
Hi Koen,
Actually, I have connected A 12 with Ao0 and AI GND with Ao GND and every things as before. However, I noticed in the new code, you replaced the mode of reading from continuous to signal sample. Is this cause problem?
Khalid
12-03-2013 06:38 AM
Yes probably that wasn't my intension, try it.
12-03-2013 07:16 AM
Hi Koen,
Thank you so much for the help. Actually it is working with replacing the mode to continuous sample and the performance of the response is enhanced. However, the x axis of reading graph (time), it seems to be multiply by the number of the sample comparing with time of generation. How I can solve this problem. I have attached the VI and copy of the front panal that shows a difference between the time of generation and reading.
Khalid
12-03-2013 07:33 AM
The x axis of the input graph are the acquired samples.
When I look at the vi, it is put on 1ChanNSamples with samples on 200.
The x axis represents those samples, if you higher the amount of samples you higher the x axis maximum.+
12-03-2013 08:46 AM
Hi Koen,
How I make the x axis of the input graph acquiring samples with real time instead of representing the number of samples.
Khalid
12-03-2013 09:02 AM
Hi Khalid,
To be honest I'm not so familiar with waveforms.
I changed the vi a bit. Hopefully it will now use the dt from your other waveform.
Don't forget to change the read function again.
Koen
12-03-2013 09:46 AM
Hi Koen,
Actually, the problem as before, nothing shown in graph that display the input signal.
Khalid