ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 232 RTS Assert With Delay

Hey, everybody.  I'm trying to see if there's a way as part of a standard VI (possibly as part of the Modbus serial init vi?) to set the RTS line, wait a programmer-specified delay period, and then start sending data.  I see that I can set up the communication line to use hardware handshaking via MB Serial Init.vi, and I see that I can manually set the RTS line using property nodes, but is there a property that will let me set a "default" delay time?

Thanks,
Greg Turnipseed
0 Kudos
Message 1 of 4
(3,336 Views)


GTurnipseed a écrit:
Hey, everybody.  I'm trying to see if there's a way as part of a standard VI (possibly as part of the Modbus serial init vi?) to set the RTS line, wait a programmer-specified delay period, and then start sending data.  I see that I can set up the communication line to use hardware handshaking via MB Serial Init.vi, and I see that I can manually set the RTS line using property nodes, but is there a property that will let me set a "default" delay time?

Since you know already how to turn the RTS line on and off, why don't you simply introduce a delay (with the wait function for instance) between the on/off instructions ?
Where is the problem ?
Chilly Charly    (aka CC)
Message 2 of 4
(3,325 Views)
Hi, CC.  I'm just looking to see if there's a more elegant way to do it, using built-in functions.  I'm guessing that such a built-in function does not exist then?

Thanks,
Greg
0 Kudos
Message 3 of 4
(3,317 Views)
Good guess ! Sorry 😉
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 4
(3,293 Views)