09-30-2004 09:38 AM
09-30-2004 01:50 PM
10-01-2004 01:00 PM
10-07-2004 01:34 AM
10-07-2004 06:58 AM
09-24-2014 04:37 AM
Hi
I want to detect rising edge of FPGA DIOs(trigger0 in attachment) to the RT side.if rising edge happen i have to send some data to FPGA. For this i took while loop on RT side and read boolean indicator(DIO trigeer 0) from FPGA to RT and inplimented some logic to detect rising edge(plz see in attachment). if this indicator(2v on DIO) is true i am executing true case shown in attachment(dont consider logic inside true case).My problem is on RT side true case(plz see in attached file) is executing for both rising and falling edge.As per the logic imlimented to detect rising true case should execute only for 0v to 2v change on pin but this true case is execute for 2v to 0 v change on DIO pin.Why this happen.Can any one plz tell me.
I am testing this with power supply appalying 0v and 2v across the DIO pin no 86 of sbrio 9606.
09-24-2014 04:44 AM - edited 09-24-2014 04:44 AM
Hi asdsd,
did you do some debugging using probes? What are the values on each wire before the AND function?
This is basic LabVEIW knowledge: did you go through all the free online LabVIEW beginner courses offered by NI?
And you still don't follow the advices given to you…
09-24-2014 10:06 AM
yes i did...As per the logic initially o/p will 0 bcz vtg across DIO is 0v.when i apply 2v to DIO pin it should b 1 rit?this is correct but after this when i apply 0v again it should be zero as per the logic but it is giving true(this is problem).for this also true case executing.i cheakd values before AND gate it is showing true for both i/p for this case.
I tnk there might be two resion for this
1) bcz of getting delay on RT side?
2) bcz of may be i am not giving vtg on pin properly?
i set power supply to 2v and using PS swich(ON/OFF) to apply trigger(rising edge).
Can u plz tell me wht is exat prob?
Thaks in advance....
09-24-2014 10:49 AM
asdsd33 wrote:
i set power supply to 2v and using PS swich(ON/OFF) to apply trigger(rising edge).
There's your problem. Power supplies are known for having A LOT of capacitance on them. So even though you turned off the output of the power supply, there is still a good amount of voltage there. If you insist on using the power supply, I recommend at least one of the following options: 1) set the voltage of the supply to 0V to turn the digital line off or 2) add a resistor to ground to pull that voltage down (something around 1kOhm should work).
09-24-2014 12:16 PM
@asdsd33 wrote:
yes i did...As per the logic initially o/p will 0 bcz vtg across DIO is 0v.when i apply 2v to DIO pin it should b 1 rit?this is correct but after this when i apply 0v again it should be zero as per the logic but it is giving true(this is problem).for this also true case executing.i cheakd values before AND gate it is showing true for both i/p for this case.
I tnk there might be two resion for this
1) bcz of getting delay on RT side?
2) bcz of may be i am not giving vtg on pin properly?
i set power supply to 2v and using PS swich(ON/OFF) to apply trigger(rising edge).
Can u plz tell me wht is exat prob?
Thaks in advance....
Please use full words as Gerd as asked.
"bcz" "vtg" "tnk" "u" "Plz" ....
Please capitalize the beginning of sentences. Put two spaces after periods. The word "I" should be capitalized.
Not following these priniciples makes it very difficult to read the message. It looks like run-on sentences that don't consist of real English words.