LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with reading data with visa

Solved!
Go to solution

Hi when i try to open your files it says that (photo)

I am using labview version 2022

What should i do?

Can you reveret the files in to 2022 version??

tominsek_1-1752598607565.png

 

 

0 Kudos
Message 11 of 28
(454 Views)

Here is a 2020 version

Tim
GHSP
0 Kudos
Message 12 of 28
(442 Views)

First of all thank you very much for all this!

I'm also interested if you could quickly explain to me how this works and what the fifo functions mean?

 

And where could i insert data storageing in sql when the power is greater than 0? Should i put all this storageing outside of while loop or anywhere inside?

 

Thanks for any answer, you helped me a lot.

0 Kudos
Message 13 of 28
(431 Views)

Hi,

one more thing : it seems ok

1.png

 

but when i stop the program and start it again all the values are shiftet by one. if i stop the program again and start it again all the values are shifted by one.( photo 1 and 2)

2.png

And on graph it show me only one value not all 4.

0 Kudos
Message 14 of 28
(410 Views)

Hi tominsek,

 


@tominsek wrote:

but when i stop the program and start it again all the values are shiftet by one. if i stop the program again and start it again all the values are shifted by one.( photo 1 and 2)


Then you need to implement a better synchronization between sender and receiver!

 

(Mind to downconvert your VI for LV2019 so I could open it?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 28
(389 Views)

Hi Gerdw,

 

Here is 2019 version of my VI.

 

 ----Could you please take a look and help me so that the graph shows all 4 values, each on its own line?

----- And also could you give me a hinw where should i put procedure for saving in sql?

0 Kudos
Message 16 of 28
(392 Views)

Are you sure that 100ms are enough time to wait for an answer of the instrument?

Consider using a termination char (does the instrument send any?)

 

Greets, Dave
0 Kudos
Message 17 of 28
(363 Views)
Solution
Accepted by tominsek

OK here is a version that plot all four of your channels. I had to insert a build array to the values to make them all appear correctly. I also had to clear everything in the software in the INI state to get it to clear the previous data. That should make the system start correctly.

Tim
GHSP
Message 18 of 28
(361 Views)

I will post a version the has explanations of what is going on in a few minutes.

Tim
GHSP
0 Kudos
Message 19 of 28
(360 Views)

hi dave tv,

 

Yes it is enough time, instrument response is great and all values are shown corretcly

0 Kudos
Message 20 of 28
(354 Views)