LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi to check

Hello Guys,

 

Can everyone please check attached VI. Its not working properly........ when i select the particular date....it gives data but two alarms are always missing..... sometimes it doesnt give no data @ all. can anyone tell me where do alarms go. Because in alarms & event display I am able to see missing alarms.

0 Kudos
Message 1 of 9
(3,924 Views)

Hi,

 

The attached VI is broken. there is an another vi required to run your attached vi. Post that also.

 

Regards,

 

Bijay K S

0 Kudos
Message 2 of 9
(3,910 Views)

Why dont you put the code in the timeout event, it'll be the same and look better.

 

Since we cant see the query we can only guess, but might it be a case of Greater than instead of Equal or greater that's the reason for missing, say first and last?

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 9
(3,897 Views)

hmmm.... no there is no other sub vi with it. In this vi im just reading the data base to extract alarms and events on basis on data selection.

0 Kudos
Message 4 of 9
(3,868 Views)

yameda i have put it in timeout structure...... bt i didn get ur greater or equal reason........ im just tryin to make simple vi to print alarms on the basis of date selection.... If u can give me better VI. Pls do that. As mine is not working properly.

0 Kudos
Message 5 of 9
(3,858 Views)

You didn't attach the Alarm & timeout query.vi, so we cannot see what it does, but it's safe to assume that's where the problem is.

 

/Y 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 9
(3,856 Views)

@Yamaeda wrote:

You didn't attach the Alarm & timeout query.vi, so we cannot see what it does, but it's safe to assume that's where the problem is.

 

/Y 


Actually the OP is using some tool-kits that are not part of the base package.  It open OK for meSmiley Very Happy

 

 

@ OP

What are you trying to do?  there is no use of the data in the listbox, no use of the output data of the DB Querey, the event struncture with a 250mS timeout AND the 0.1 sec delay is just poor practice (And why not just add a Stop button?  what do you want the vi to do? I just can't tell since it is so disconnected (and  Documantation would be a good habit to learnSmiley Wink)


"Should be" isn't "Is" -Jay
0 Kudos
Message 7 of 9
(3,845 Views)

hello Jeff,

 

I simply want a VI to print old alarms on the basis of date selection. Sometimes it works ok and sometimes some alarms are missing in list box whereas those missing alarms can be seen in the other vi using alarm & event display. I dont know its the databas problem or i have to modify the logic to make it work.

0 Kudos
Message 8 of 9
(3,826 Views)

ahan.... u dun have the toolkit to open alarm & events query.vi.

0 Kudos
Message 9 of 9
(3,824 Views)