LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read datas from table

Solved!
Go to solution

Unless you show us the code that you just have tried, we have no idear of what you are doing.

Post a picture of the code.

 

 

I have tried to help you a little bit, see the attachments.

And please DON'T use the Run Continuously button when you are testing your vi's.

Download All
0 Kudos
Message 111 of 189
(802 Views)

Hi dkfire,

 

"And please DON'T use the Run Continuously button when you are testing your vi's."

And I thought the RunContinuous-button was exactly for the purpose of testing VIs? Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 112 of 189
(799 Views)

dkfire,

           Iam using LV2009 version.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 113 of 189
(794 Views)

GerdW: He he, I know what you mean. But in this case I can see that this is what the OP is doing, and it is not working with him/her. Smiley Wink

0 Kudos
Message 114 of 189
(792 Views)

New version 2009

Download All
0 Kudos
Message 115 of 189
(791 Views)

Hi dkfire,

              Thanks for your attempt.While running your VI,The value in a particular index of the input array changes ones and then after some time only the output change can be viewed.But I want my input array(per index) to increase continuously and that change must be shown at the same time in the output array without any delay.

 

I have made one.But lot of problems in it,as Iam increasing the bytes to read it is attaching that number of values in one index itself.see my attachment.I know the problem with the  linefeed char and all(sorry if other problem with my design).Iam trying to correct it.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 116 of 189
(781 Views)

Hi danil,

 

we reached message #116 in this thread and now you give us some more precise guidelines of your programming duty:

"But I want my input array(per index) to increase continuously and that change must be shown at the same time in the output array without any delay."

That's what I call being able to write good questions... 🙂

 

Then:

- using serial communiction you will always have some delay.

- sending the array content element by element will always cause some delay.

 

Everything else has been discussed before...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 117 of 189
(776 Views)

Okay, lets stop here.

Please take a look at the code I send you.

Can you explain what it does ?

 

Why are you continuing to post code that has the same problems over and over. The Line feed problem has already been explained to you. And in the code I posted, you can see a solution.

 

This is basic LabVIEW coding, you only have a very! few functions in your vi, and you can't even get them to work.

Please take a break from your project now.

Use the next two weeks to go through the tutorials and ONLY post questions about the tutorials.

Then in two weeks we can continue this thread.

This is for your own good.

 

0 Kudos
Message 118 of 189
(774 Views)

This is the last try.

 

Download All
Message 119 of 189
(768 Views)

Hi dkfire,

            Sorry, for making this much post in a single thread and making everyone irritate.It's my mistake of not properly understanding the instructions you and other experts are given.Definitely I will spend next two weeks for learning basics.Actually Iam just 3 months experienced and no experienced persons in labview are working in our office to give me instructions(sometimes verysimple instructions).Thats why depending on forum completely.

 

I went through the final attachment that you have given,and I never thought in that way.

Suppose If I want the first two elements in the array as fixed and the others should be changing(as shown in the attachment write continuously.vi)

And I want to  the output array to display like that.Please give instructions to do it.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
Download All
0 Kudos
Message 120 of 189
(751 Views)