LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labsql deciding when to send data

Hi all!

 

I'm programming a SCADA with Labview and want to send data to a MySQL database, I'm using LabSQL and I've been able to send and receive data to the database. The problem is that I have no control on when this data is sent. I'm using a while loop because and introducing the LabSQL ADO's in te while this is sending information to the database continously (even if the data to send hasn't changed) and I want to decide when to send this dat, I've tried adding a Case conditioning the data sending to a button, and it doesn't send data until I push the button but when I push it, it sends exactly the same data as it if have recorded it.

 

Could you help me?

 

Thanks a lot.

0 Kudos
Message 1 of 2
(2,321 Views)
To send data only when it changes is generally pretty simple. Event structures, case statements, etc are all possibilities. It would help if you would attach your code so someone can look at what yuo have.
0 Kudos
Message 2 of 2
(2,306 Views)