From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get continuous data in excel file from Instrument device using USB-RS232

Hi Intern,

 


@InternlABVIEW wrote:

Hi GerdW Bro,


Please don't call me "Bro"! I'm not your bro… 🙂

 


@InternlABVIEW wrote:

As still the problem with the downloads remains. Is there a way to give me some lead as I am stuck with my project as well? Thank you 


It seems the problem with downloading those snippets has been resolved now. I could download my last snippet and have attached it as VI now…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 41 of 54
(991 Views)

Sorry, I will call you sir now if you do not mind. As you are teaching me about LabVIEW. Thank you for the VI. I tried so many ways but can not get anything from the array. This is my VI now.

0 Kudos
Message 42 of 54
(977 Views)

Hi GerdW,

 

Sorry if I offended you in anyway. Please help me finish this project as I have to finish it quickly. Thank you.

0 Kudos
Message 43 of 54
(957 Views)

By using the Spread string to array. I can get array but it is not not storing values and I am getting all channels value in index 1. However, I still could out to fix the Array Index / Replace Elements Border Node to get data in array. Please help me here, I am new in LabVIEW and I have lack of knowledge in LabVIEW. My latest code is attached. Thanks. 

0 Kudos
Message 44 of 54
(940 Views)

My due date is tomorrow please help me. This is latest VI that I have been trying to get some thing from In place element structure. Still no result. 

 

 

 

0 Kudos
Message 45 of 54
(926 Views)

I have been working on a small project. I have to get 8 individual graph from the value I am getting from 8 individual channel. When I try to get a graph I am getting 0 when the VI reading other channel values. How do I fix this? My txt is the way the values are recorded. 

Download All
0 Kudos
Message 46 of 54
(944 Views)

I can extract the channel value separately and delete all the 0 from the array this way I can get the graph and value from the channel. But its not efficient way to do it. That's why looking for better solution.

0 Kudos
Message 47 of 54
(916 Views)

The code works fine now but when I get the data in the file it comes like 

Value1 0.000    0.000    0.000    0.000    0.000    0.000    0.000

From txt:

0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000
0.000    -1809.400    0.000    0.000    0.000    0.000    0.000    0.000
0.000    0.000    -1809.400    0.000    0.000    0.000    0.000    0.000
0.000    0.000    0.000    -1809.400    0.000    0.000    0.000    0.000
0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000
0.000    0.000    0.000    0.000    0.000    0.000    0.000    0.000
126.856    0.000    0.000    0.000    0.000    0.000    0.000    0.000
0.000    -1809.400    0.000    0.000    0.000    0.000    0.000    0.000
0.000    0.000    -1809.400    0.000    0.000    0.000    0.000    0.000

For that reason I can not draw a graph form a single channel as it gives a value 0 when not reading the channel value. 

Is it also possible to get the value as: Value1 Value2 Value1 Value3 Value4 Value5 Value5 Value7 Value8 and draw sperate graph from each channel? 

0 Kudos
Message 48 of 54
(896 Views)

Hi Intern,

 


@InternlABVIEW wrote:

The code works fine now but when I get the data in the file it comes like 


Where's the current version of your code?

 


@InternlABVIEW wrote:

Is it also possible to get the value as: Value1 Value2 Value1 Value3 Value4 Value5 Value5 Value7 Value8 and draw sperate graph from each channel? 


Yes.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 49 of 54
(891 Views)

Here is my current version thanks. 

0 Kudos
Message 50 of 54
(887 Views)