取消
显示结果 
搜索替代 
您的意思是: 

multiple of a value

已解决!
转到解答

Hi everyone,

 

I would like to create a case structure which will operate when there is a true value of a multiple of 24. Can someone pls help me out??

Thanks a lot for your effort.. 😉

 

Ray...

0 项奖励
1 条消息(共 8 条)
7,580 次查看

you might find the LabVIEW help files, shiping examples, tutorials or

 

your professor's sylabus helpful.  did you inspect any of these referances?


"Should be" isn't "Is" -Jay
0 项奖励
2 条消息(共 8 条)
7,579 次查看

Capture.PNG

 

As you can see above, the while loop will keep operating and I want the case structure in "True case" whenever the iteration +1 is equal to the multiple of 24. I am doing a project to pass the data to another table of database whenever the "True case" comes out. It's like when it is "24" hours a day, all the data will be passed on to the daily table. Can you please help me out?? thanks

0 项奖励
3 条消息(共 8 条)
7,576 次查看

You need the Quotient & Remainder function. Same as modulo operation in text laguages.

4 条消息(共 8 条)
7,571 次查看

Hi As i'm not so familiar with Labview, can you please demonstrate that funtion for me?? Maybe a .jpg picture...thanks a lot

😄

0 项奖励
5 条消息(共 8 条)
7,568 次查看
解答
已被主题作者 Ryamnod 接受

Read the help on the function and run the VI. It will count 0-23 and start over. Read about Modulo operation.

 

6 条消息(共 8 条)
7,564 次查看

It is a very basic LabVIEW function, and as you aren't familiar with LabVIEW I will hint that you should look on the  numeric palette on the diagram. If you enable the context help on the diagram page, it will explain how the Quotient & Remainer function works. You will not learn LabVIEW without trying to find the answers yourself. We will help, but not do the work for you.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



7 条消息(共 8 条)
7,563 次查看

Thanks a lot for ur effort,Sir. I really really appreciate your kindness and hoping you to help me in my future problems

 

With loads of regards,

Ray

8 条消息(共 8 条)
7,554 次查看