LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set and log alarms for string indicator

hello Friend,

I have some coding where fault is displayed as a string indicator. i want to set alarm for that if value is not equall to zero.(alarms occurs) to set alarms for shared variable is easy i have dont that but dont know how to do that. Please guide me.

 

Regards

asif 

0 Kudos
Message 1 of 8
(1,619 Views)

Hi Asif,

 


@Asif138 wrote:

i want to set alarm for that if value is not equall to zero.(alarms occurs) to set alarms for shared variable is easy i have dont that but dont know how to do that.


I guess you are talking about "alarm feature" of DSC module: when you know how to set an alarm for a SV then you could place another SV next to your string indicator and wire the same value to the SV…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(1,612 Views)

@Asif138 wrote:

hello Friend,

I have some coding where fault is displayed as a string indicator. i want to set alarm for that if value is not equall to zero.(alarms occurs) to set alarms for shared variable is easy i have dont that but dont know how to do that. Please guide me.

 

Regards

asif 


Is your problem is to ignore the alarm when the Value of Shared variable (HOIST INVERTER FAULT CODE) = 0 and for the rest display the Fault/Alarm from the array?

 

Use Select function map the empty string when the value=0 and index array element if not equal to 0Faultcode.png 

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 8
(1,577 Views)

Thanks for your replay

when there is no fault, value is zero and indicator shows invert ok but when fault occurs the fault code tag has some value, according to that values out is showed on indicator. 

i want when any fault occurs, the fault displayed on indicator should also be showed on alarm end event windows where shared varibale alarms is shown.

i hope i make it little more clear.

 

Regards

Asif

0 Kudos
Message 4 of 8
(1,563 Views)

Have you checked my earlier post, Is that not solving your question?

How does that deviates from your requirement?

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 5 of 8
(1,558 Views)

Hi 

I want that alarm to show here

 

Please see the attached.

0 Kudos
Message 6 of 8
(1,555 Views)

@Asif138 wrote:

Hi 

I want that alarm to show here

 

Please see the attached.


I am not able to get based on the attached image (Is that Excell/CSV File) and do you want to log?

More details will help us to understand better.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 7 of 8
(1,546 Views)

that is image.

i used DSC module and opc server to read data from PLC.

and shared variable is configured for alarms which is displayed alarm and event windows as attached in previous email.

but all that shared variables are boolean here now i want to also show fault code text on same alarm window.

 

0 Kudos
Message 8 of 8
(1,537 Views)