LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering led

Solved!
Go to solution

Also, you can configure your Call Library Function by right clicking and then choosing the type of data you want to output. Is it necessary for your Call Library Function to out put I32?

 

Sorry, it is difficult to advice further without knowing the whole code.

 

Also, look here for above refererence https://decibel.ni.com/content/docs/DOC-9069

0 Kudos
Message 51 of 60
(765 Views)

Hi RedAG,

 

It is a long time ago. I have good news. I finished the first part. Still in the second part, I did not find the way to solve my problem yet for the second part.

 

 

0 Kudos
Message 52 of 60
(753 Views)

Hi Nadjil,

 

If I remember correct, your second part of the project involved sending digital pulses at a set interval or at intervals you choose? Is this the case? If so, it can be done easily. I am not sure your device, the K8055 have a digital pulse generator. If it does, you can program it to do so.

 

RedAG

0 Kudos
Message 53 of 60
(743 Views)

Hi RedAG,

 

K8055 does not have counter, I have to program it. Do you have link for that?

Alos I have to record the signal. I have to put it in a sheet or file.
I have to measure the time between each pulse from my signal.

 

What can I use to do that?

 

Kind regards,

Nadjil 

0 Kudos
Message 54 of 60
(736 Views)

Nadjil,

 

I have no idea how to program the K8055 or for that matter, know nothing of it.

 

How are you planning to send the signal from your K8055?

0 Kudos
Message 55 of 60
(732 Views)

RedAG,

 

The first part of my work, I build counter for my signal every one second I send my pulse to trigger the IR-LED.

 

The second part, I can not do that. I don't when I got my signal. I need to build another counter but the time should be different or shorter. Using this counter to plot my signal on wavegraph then export it to excel file where I can see my signal I measured.

 

After that I want to put both in one package to run them at the same time. I know this possible in LabVIEW but still don't know how to do it yet!!!???

 

 

0 Kudos
Message 56 of 60
(719 Views)

Nadjil, could you please explain the 2nd part of your project again, I don't understand your last reply.

0 Kudos
Message 57 of 60
(699 Views)

Hi RedAG,

 

It is been a long time, after I did the first part and it is working also accepted from my supervisor. I am blocked by the 2nd part. I am working on it, I build my circuit but it doesn't working good yet. 

 

I want to ask you do you know how to record a signal in LabVIEW then transferee it to array or table. I am suing waveform chart to look to my signal.

x-axis: for time

y-axis: for amplitude

 

I am interest in time, I want to measure the time between each signal. I don't know how to do it or if there is another function or block to do that???

0 Kudos
Message 58 of 60
(683 Views)

Hi Nadjil,

 

I don't understand what you mean by recording the signal.

 

The time difference between two amplitudes can be easily measure. I am not sure what kind of signal you have, analog or digital, so here are soem links for both.

http://forums.ni.com/t5/LabVIEW/Measure-Frequency-and-Amplitude-from-Analog-Signal/td-p/979544

http://forums.ni.com/t5/LabVIEW/How-to-measure-pulse-amplitude-droop/td-p/227889

http://forums.ni.com/t5/LabVIEW/how-can-I-measure-the-time-difference-between-spikes-interspike/td-p...

 

Also have a read through this if you have the time http://zone.ni.com/reference/en-XX/help/371361H-01/lvwave/amplitude_levels/

0 Kudos
Message 59 of 60
(676 Views)

My signal is digital.

 

I have light gate, when the light cut I got my signal to the input of k8055 (digital input).

Every time the the light cut I got a pulse. I need to measure the time between the first pulse and the second pulse.

Then put everything in a file where I can read it. Because this pulses are responsible for triggering the MRI (Magnetic Resonance Imaging).

I have to know the time difference between each pulse in msec.

 

I found a block for pulse duration, but I have the problem with time, I don't have counter on k8055 I made one but does not work good with the function block I found.

I am going to read the links you send me, thank you.

0 Kudos
Message 60 of 60
(673 Views)