LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data saving from PIC code

Solved!
Go to solution

hello,

 

I was trying to save my experimental data from PID code. I used the queue options but I can't get any saved file on my computer. I have attached the PID code here. 

Would anyone check and help me to solve the problem? TIA 

0 Kudos
Message 1 of 7
(599 Views)

Hello,

 

Could you send your file in the 2015 version ?

What is the size and the type of the data ?

 

Kudos are welcome! Smiley Wink

0 Kudos
Message 2 of 7
(579 Views)

You are not putting any data into your Queue only a Boolean (Stop) 

-------------------------------------------------------------------
Unfortunately, most readers of this Forum, including some real Experts, have not mastered the skill of being able to read the code that Posters fail to post. If we cannot see "what you did wrong", we are unable to tell you how to fix it. (Bob Schor 28 August 2018)
Message 3 of 7
(560 Views)

hi RTSLVU,

 

Actually, I followed another example. Would you please modify the code?

 

Thanks in advance

0 Kudos
Message 4 of 7
(549 Views)

Hi Fred19ni

 

I have attached the 2015 version of my code here. Actually, I want to save numeric data from the sensor. I have low knowledge about data type and size. Sorry, I can't give the exact answer to your question. 

0 Kudos
Message 5 of 7
(547 Views)

Hi Chowdhury_Milon,

 

I can't open this file because it's the 2017 version, not 2017.

Anyway, if you want to save numéric data, you can use Excel file.

This link will help you to choose the best file and to do it.

 

Moving Data From LabVIEW Into Excel

 

Kudo are welcomeSmiley Wink

Message 6 of 7
(532 Views)
Solution
Accepted by topic author Chowdhury_Milon
03-10-2018 03:46 AM

1. You have a data dependency between your two loops.  Data flow will therefore dictate that you second loop connect run until the first loop is complete.

2. You are just using the queue as a stop condition.  You need to pass the data through the queue.

3. Get rid of those Dynamic Data Types whenever possible.  They make things more difficult to understand.

 

You might also want to give the Producer/Consumer a good read over.  But here is your VI set up to be a proper Producer/Consumer.  You still may need to tweak things to get the display and file format the way you want it.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Message 7 of 7
(529 Views)