LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to put delay on DTR?

Hi to all,

 

Can somebody tell me how could you put a delay on DTR program of labview? i would like to add some delay to it so that it wont shift so easily. Please see attach to see the sample program and i want to put a delay in it. Thanks

 

Also, can somebody help me with my C program? Can anyone make this program a lot simpler and will have a shorter lines but the content wont be affected? Right now i have a problem with my microcontroller. It cannot burn the said program because it has many lines and codes in it, so i would want to simplify this program so that the microcontroller would be able to recognize it. Please see attach as well. Thanks 

Download All
0 Kudos
Message 1 of 5
(3,268 Views)
What do you mean by putting a delay on the DTR, and what do you mean by "not shifting so easily"? Shift to what?
0 Kudos
Message 2 of 5
(3,256 Views)
uhhhmm..because when you send multiple signals or characters from labview going to the microcontroller, for it to light up a single bit from the micro, it easily shifts one lighted led to another in a split second and the led on that bit doesnt light up long even if it should when another character was sent. 
0 Kudos
Message 3 of 5
(3,248 Views)
In your VI is the Write supposed to happen before or after the DTR setting? If so, why isn't it inside the loop? The Time Delay VI can be used to insert a delay between function/VI calls by using the error cluster to wire it in series and use data dependency to enforce execution order. The same thing can be done by creating a simple wrapper VI that has error in/error out clusters around the Wait (msec) function.
0 Kudos
Message 4 of 5
(3,237 Views)

jmvrd wrote:
uhhhmm..because when you send multiple signals or characters from labview going to the microcontroller, for it to light up a single bit from the micro, it easily shifts one lighted led to another in a split second and the led on that bit doesnt light up long even if it should when another character was sent. 

 

There is really no need for the attitude.  Smercurio, I, and I'm sure many others had no idea what you were talking about when you said "shift".  Now with your description, I'd say we understand what you are referring to.  But I what you describe doesn't now anything like a "shift" other than that you are using the most general definition possible.
0 Kudos
Message 5 of 5
(3,224 Views)