Is there a function or a way to pulse an output either from writing a script or from the commands within the Polyscope ?
@FredJames703 Can you share a some more information about your application? To what do you want to send an output to? At what frequency? etc.
You can do it in a thread, it’s how we flash warning lights and such. Loop Set DO0 = not DO0 sleep(0.1) EndThe time could be any number down to around 0.001 though I’m not sure how accurate times less than 0.008 are, never really tested them. This is how you would set your pulse frequency. If you need the on time to be different t than the off time you’d do something likeset DO0= Truesleep(0.1)set DO0=Falsesleep(0.2)If if you put that in a thread you wouldn’t need the loop so long as the thread is set to always loop.
@matthewd92 That might do the trick I will try that thanks well what i’m trying to do is to flash a ring lights after the robot has put the pick up object and drop it in a container
Is there a function or a way to pulse an output either from writing a script or from the commands within the Polyscope ?