From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting signal

Solved!
Go to solution


Hello



I’m beginner in LabView programming and I would
like to apologize for my simple questions . I have the following problem. I
need to make a program that prints the signal after the photodiode on a display.
I made a small program, but it does not work. I have NI-PCI-6534 (Digital I/O)
card. Please if it possible show me what I am doing wrong
Download All
0 Kudos
Message 1 of 8
(3,097 Views)

Which version of labview are you using?

 

There is no loop there to acquire data continuously!

 

I would prefer you to go through example vis that shipped with your LabVIEW and search for continuous acquire and Monitor digital ports

0 Kudos
Message 2 of 8
(3,081 Views)

What do you mean by "print a signal"?

 

Print as in print something on a printer?  Show some value on the screen? ...??

 

You mention a photodiode.  Where does that come into play in the screenshots you posted?

 

What version of LabVIEW are you using?

 

When you say "it does not work", in what way does it not work?  What are you getting vs. what are you expecting?

Message Edited by Ravens Fan on 11-24-2009 09:56 AM
0 Kudos
Message 3 of 8
(3,079 Views)
Solution
Accepted by topic author s.koroidov

For getting signal I do the following.



I connect photodiode into the port of Digital I/O
card. And for example illuminate photodiode flashlight (
give photodiode
flash
) and run the program.

I expect to get the signal and see
change on a waveform graph, but this does not occur.
 I think that I am doing something
wrong.


0 Kudos
Message 4 of 8
(3,044 Views)

 You have not answered the questions asked before.

 

Did you check in MAX if you are reciving a high/low signal at the digital port of the card when you activate the sensor?

 

Further questions still remain a mystery


 

What do you mean by "print a signal"?

 

Print as in print something on a printer?  Show some value on the screen? ...??

 

You mention a photodiode.  Where does that come into play in the screenshots you posted?

 

What version of LabVIEW are you using?

 

When you say "it does not work", in what way does it not work?  What are you getting vs. what are you expecting? 

 

 


0 Kudos
Message 5 of 8
(3,037 Views)

And when you mark an answer solved in a thread which was never solved, chances of solution posts by experts are very less. 

 

Since you have already marked as Solved thread, nobody would be willing to have a look into it.

Message Edited by Vsh on 11-25-2009 03:21 AM
0 Kudos
Message 6 of 8
(3,024 Views)


I’m PhD student in Umea University.
I have to make program that to control electrode by LabVIEW. This electrode detect
oxygen emission.

 

And I want to get and record signal and monitor value on the
screen with LabVIEW. But in the beginning I want to solve more simple task and
get signal with photodiode.

I connected photodiode to oscilloscope and observed
how curve moved up when I gave flash for photodiode. It means that the
photodiode is working.

After that I connected photodiode into the port of
Digital I/O card. And using my small program I expect to get signal and see (not
print) value on the screen in a graph.

But my program does not function for
some reason. It means I do not see change on the graph when I give flash for
photodiode. I’m using LabView 2009.

I checked the digital port in MAX and it
works. Sorry for misleading in terms. My English is not so good.

0 Kudos
Message 7 of 8
(3,003 Views)

Ok. Thats a sufficient enough information. I really wonder how your LabVIEW vis are so old. I guess they are obsolete.

I recommend you to use DAQmx vis in your daqmx palette.

 

Now its time check some example vis shipped. (Open NI Example finder from Help>>Find Examples) Just browse for digital input acuisition. you will find lot of examples. Then let us know if you find any problem. 

 

PS- You can use simple Read Dig Chan.vi from the example finders

 

Godd luck 

0 Kudos
Message 8 of 8
(2,998 Views)