LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp precision issue

Hi folks,

 

I am trying to write some numeric data in Cassandra by using LabView.

 

My code is the following.

 

IMG. LabView code for writing data

 

Data in the table

 

For example, I'm waiting for while loop to execute 100.000 iterations. I expected in the data table in Cassandra there would be 100.000 rows with the timestamp according to them. But in my case there are only about 5500 rows, i.e. I'm losing my data during writing. I guess the reason is the timestamp. What is the precision of the Cassandra timestamp? (I mean when one is using to Timestamp(now()) function).

 

Any suggestions would be appreciated!

 

Thank you.

Kalyan bl

Mindmajix Technologies

http://bit.ly/2MdTmXN

0 Kudos
Message 1 of 2
(2,155 Views)

Hi kalyanbl,

 

why don't you ask in a Cassandra forum? (Or maybe read a manual for that database?)

 

- You are calling the database very fast without any delays in the loop: there might by less than 1µs between the calls…

- Can't you supply your own timestamp?

- Can't you use waveforms/arrays instead of single samples?

Best regards,
GerdW


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