LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spreadsheet not displaying data in the file

when i read analog signals and write them to a write to spreadsheet file the numbers recorded do not appear in the file instead it shows a series of characters why does this happen and how can it be sorted out

0 Kudos
Message 1 of 10
(2,773 Views)

Hi 4268,

 

Who knows?

But you could show your VI and the file generated by it...

Best regards,
GerdW


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

it only displays the characters sometimes most of the time the data is wrote to file and can be seen in the file

0 Kudos
Message 3 of 10
(2,757 Views)

it only displays the characters sometimes most of the time the data is wrote to file and can be seen in the file

0 Kudos
Message 4 of 10
(2,756 Views)

Hi 4268,

 

"sometimes" vs "most of the time"

 

This sounds like you're using local variables and encountering a race condition...

Best regards,
GerdW


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

what do u mean by a race condition how can i fix the problem so data will always be wrote to the file. should i only allow it to write to file at a certain time or how can i resolve this problem

i am  also trying to write a digital signal to a file to record rpm of a motor but it will not display the correct rpm , it is displaying a rpm that is slower than the actual rpm how could i resolve this problem

0 Kudos
Message 6 of 10
(2,728 Views)

Hello 4268,

 

race condition - just do a search in the forum or in LV help...

 

"how could i resolve this problem"

Give more information. See message 2...

Best regards,
GerdW


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

where the analog and digital signals are there are two while loops inside a case structure. inside one while loop there is two analog signals being created in the one daq assistant and in the other while loop there is a digital signal being recorded in another daq assistant. each of the daq assistants are recording to a seperate write to spreadsheet file. inside the while loop that the digital signal is contained within the write to spreadsheet file is inside 2 case structures and a stacked sequence structure so where can i put notifiers to make both analog and digital signals run together. it is only the analog signals that do not write to spreadsheet the digital signals always log to file.

is it possible to make both the analog and digital signals write to the one write to spreadsheet file

0 Kudos
Message 8 of 10
(2,710 Views)

Hi 4268,

 

too much justified text, too less real VI to answer that...

Best regards,
GerdW


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

Instead of trying to use 1000 words to describe your code, please upload it so we can see what you're actually doing. You should not need to resort to notifiers to do this.

0 Kudos
Message 10 of 10
(2,690 Views)