Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

how to do logging and catch event of a array array of cluster shared variable?

Hi
I have a custom I/O periodic server which used to control multiple valve system. In each valve there are different sensors. I made the I/O periodic server which continously keep track of these sensors. Now I want to generate alarm in case there is one of the sensors of one of these valves. I cannot find out how to generate alarm for a custom shared variable like this. I also don't know how to manage the logging for this kind of shared variable. Please tell me how to solve this issue.
Thank you so much.
Thang Nguyen
0 Kudos
Message 1 of 4
(3,146 Views)
What is the datatype of the shared variable?
0 Kudos
Message 2 of 4
(3,094 Views)
It's an array of clusters of some number and boolean data.
0 Kudos
Message 3 of 4
(3,075 Views)

Hi Thang,

 

From the LabVIEW DSC Module Help, "Shared variables of data types other than double, Boolean, and U32 bit field have no alarm states based on shared variable value."  For other shared variables, "Bad Status" is the only alarm that can be set.  Additional details are in the Help topic Supported Shared Variable Types (DSC Module)

 

If you want to set alarms for the numeric and Boolean values, you will want to separate them from the cluster and array.

Jennifer R.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,052 Views)