LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Record data at different times

Good afternoon, I have a project that reads several sensors and also communicates with arduino. From labview can turns on several motors, it works perfectly, but I would like to instead of registering every second register every 60 minutes, instead every second. If I put on timer 60000, it takes 60 seconds to turn on the motors.

Forgive my English is not very good. thanks.

Greetings.

I leave the project.

0 Kudos
Message 1 of 5
(1,896 Views)

Well your problem is you are not using a proper program architecture.

 

I would use a simple State Machine in this case with separate states for initialization, monitoring, recording, controlling the motors, etc...

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 5
(1,884 Views)

@RTSLVU  ha escrito:

Well your problem is you are not using a proper program architecture.

 

I would use a simple State Machine in this case with separate states for initialization, monitoring, recording, controlling the motors, etc...

 

 


RTSL Thank you very much for responding, you can send me a link or an example pic. Greetings.

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

Hi joliv,

 

just open that StateMachine example project coming with LabVIEW!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(1,852 Views)

Hello gerdw

I'll do that, thanks.

Greetings.

Joaquin

0 Kudos
Message 5 of 5
(1,818 Views)