cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Simulator Driver Generate Random Boolean?

TW_10347398
4-Participant

Simulator Driver Generate Random Boolean?

Hi,

 

Is it possible to generate a random Boolean using the Simulator Drive?
I would like to Simulate a Tag that's value will swap between True/False.

 

Thanks

 

Tim

1 ACCEPTED SOLUTION

Accepted Solutions

Hey Tim,

 

To create a Random Boolean simulator tag, use User(frequency,0,0,1,0,1,1,1,0,0,0) function where frequency is ms of tag update.

 

Hope this helps.

 

Chris

View solution in original post

2 REPLIES 2

Hey Tim,

 

To create a Random Boolean simulator tag, use User(frequency,0,0,1,0,1,1,1,0,0,0) function where frequency is ms of tag update.

 

Hope this helps.

 

Chris

Works! Thanks!

Top Tags