LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire and generate a signal

Oh I see, the substraction isn't right just deleted it.

 

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 11 of 23
(1,588 Views)

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

0 Kudos
Message 12 of 23
(1,585 Views)

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.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 13 of 23
(1,560 Views)

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

0 Kudos
Message 14 of 23
(1,556 Views)

Yes probably that wasn't my intension, try it.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 15 of 23
(1,551 Views)

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

Download All
0 Kudos
Message 16 of 23
(1,538 Views)

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.+

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 17 of 23
(1,532 Views)

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

0 Kudos
Message 18 of 23
(1,525 Views)

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

 

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 19 of 23
(1,517 Views)

Hi Koen, 

 

Actually, the problem as before, nothing shown in graph that display the input  signal.

 

Khalid

0 Kudos
Message 20 of 23
(1,510 Views)