01-13-2006, 11:55 AM #1Enrico SchirattiGuest
pmsystem logics section: random values
it had been asked a while back, but I never added it to the
docs or mentioned it... there is a system variable called
"random", which each logics cycle generates a new value
between 0 and 1000.
You can use it for all sorts of things, such as random
if random = 666 then
To make it rarer, you can add another variable and make it
count up to a given threshold.
I updated the doc with that and am also working on a
description for the native phidget support as well (beyond
the phidgets.txt file comments).
By jimthomasjohnston in forum PMSystemsReplies: 6Last Post: 08-05-2008, 02:43 PM
By Michael Carter in forum I/O Interfacing Hardware and SoftwareReplies: 20Last Post: 12-05-2007, 09:55 PM
By Bogysim in forum PM General Q & AReplies: 4Last Post: 01-04-2007, 04:17 PM
By Thomas Richter in forum PM General Q & AReplies: 1Last Post: 01-06-2005, 12:36 PM
By null null in forum PM General Q & AReplies: 4Last Post: 11-24-2004, 03:00 PM