03-25-2019 05:18 AM
Hi All,
I'm currently using Veristand 2018.While configuring the input/output(not item properties) channels, I have always used numeric data type. However, I have never come across any example programs, specifying the channels as Boolean. Can you please help me understand whether the input/output channels can be configured as Boolean in Veristand 2018?
Solved! Go to Solution.
03-25-2019 05:35 AM
Hi,
so far VeriStand uses DBL as the only data representation for all channel values. So from the memory economy point of view - Boolean channels do have significant overhead.
03-25-2019 03:38 PM
The general implementation is to translate booleans into zero or non-zero to go to VeriStand. On the VS Workspace, you can drop down a boolean control or indicator, which will be a 0.0 or 1.0 DBL when written from VS or zero and non-zero when reading from a custom device. When I make custom devices, I just use Not Equal To 0? to translate it to a bool to use in my logic or Boolean to (0,1) to translate to a double to go to VeriStand. It's not terribly efficient, but it's the only way
04-02-2019 05:33 AM
Ok, but I think we must be able to map the DIO signals as it is, without comparing numeric values. Hope in future versions, this will be taken care of.