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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Simulator Driver Generate Random Boolean?

TW_10347398
5-Regular Member

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

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

TW_10347398
5-Regular Member
(To:cmaccormack)

Works! Thanks!

Announcements




Top Tags