Discussion:
Pulse Generation from Fieldpoint IO Point Digital Input
(too old to reply)
M_Atif
2007-01-20 10:10:08 UTC
Permalink
I want to generate a single digital Pulse based on my input from field (i am using Fieldpoint IO Point) to acquire digital signal. I want a High Pulse if my input goes High.
 
Inputs: Fieldpoint IO Point
OutPut Required: Single Boolean Pulse
 
 
Hardware Used: CFP-DI-330
Software Used: Labview 8.2 Full Development System
 
Thanks!


Single High Pulse Generation.vi:
http://forums.ni.com/attachments/ni/70/6246/1/Single High Pulse Generation.vi
Simon H
2007-01-22 19:40:13 UTC
Permalink
M_Atif,Have you considered just using a sequence structure with a local variable, like so?<img src="Loading Image..."> Regards,Simon HApplications EngineerNational Instrumentshttp://www.ni.com/support/Message Edited by Simon H on 01-22-2007 01:34 PM


SinglePulse.png:
http://forums.ni.com/attachments/ni/70/6249/1/SinglePulse.png
M_Atif
2007-01-23 06:10:08 UTC
Permalink
Please check Attached VI.


Single Pulse.vi:
http://forums.ni.com/attachments/ni/70/6253/1/Single Pulse.vi
M_Atif
2007-01-24 06:40:10 UTC
Permalink
Please analyze the attached file I have created, It will generate a single pulse for a small duration of time even if my input remain high. now can you please make it as a sub-vi. Problem is that when i create a sub-vi while using the local vairables it does not work. Please try to sortout this problem. Now i want to use it in a single VI multiple times.
&nbsp;
&nbsp;
Thanks for being with us.


Pulse1.vi:
http://forums.ni.com/attachments/ni/70/6262/1/Pulse1.vi
M_Atif
2007-01-27 04:40:09 UTC
Permalink
Thanks Simon,
You are right that i am not able to use it as a sub-vi when i am using Local Variables, When i use a local variable and reuse it as a sub vi, if i change the value for one variable it changes everywhere, &nbsp;then what are your suggestion to avoid the use of Local Variables except wires you discussed&nbsp;because i need Local Variable, &nbsp;without these i am unable to develop a VI.
M_Atif
2007-01-24 06:40:10 UTC
Permalink
Please analyze the attached file I have created, It will generate a single pulse for a small duration of time even if my input remain high. now can you please make it as a sub-vi. Problem is that when i create a sub-vi while using the local vairables it does not work. Please try to sortout this problem. Now i want to use it in a single VI multiple times.
&nbsp;
Thanks for being with us.


Pulse1.vi:
http://forums.ni.com/attachments/ni/70/6261/1/Pulse1.vi
M_Atif
2007-01-23 06:10:08 UTC
Permalink
I think i was unable to explain my problem, I want a SINGLE PULSE (Output should be High for a small period of time and then low even my input&nbsp;remain&nbsp;high). It should generate pulse only If i change my&nbsp;input from low to high.
&nbsp;
The problem with your solution is that it remain High. I want it high for a small duration of time and then should remain low continuossly. It should generate pulse if a change the input from low to high.
Loading...