07-17-2016 02:36 PM
Hello all,
I am using LabVIEW 2015 with the FPGA module and running my VIs in the simulation mode using the Desktop execution Node (DEN).
I read data points from a tab delimited text file using the block below
Now, when I run the VI from the host, it freezes!! This is not an error in the code since the "freezing" occurs at a random data point each time I run. Is this an issue in LabVIEW's buffer for viewing? or what?
Thanks in advance.
07-17-2016 06:17 PM
Just trying to understand....
Can you explain why you are mentioning reading a file while describing freezing at random times. Where are these data points and how do you tell where it is freezing? In what order do these things occur?
Does reading the file actually succeed? Where is this file located if you are not in simulation mode?
(Sorry, I have never tried reading a file like that, so I am not sure how this is supposed to work....)
07-18-2016 06:58 AM - edited 07-18-2016 07:02 AM
If you have some data stored into an excel sheet and you want to read it in LabVIEW, you first transform it into a tab delimited text file from excel then use the VI above to read the text file.
In my project, I then index the output of the VI into a loop that contains the Desktop Execution Node. From the ongoing loop number, I know that the file was read successfully. I also know from the loop number where the simulation "freezes", which is a random number each time I run it.
Hope this answers your questions.
07-18-2016 07:00 AM
I wonder if the FPGA code size inside the Desktop Execution Node can affect LabVIEW's viewing. [The FPGA code contains a few parallel loops, some FFT blocks, and target scoped FIFOs to transfer data in between loops]
07-18-2016 08:54 AM
@hazem93 wrote:
In my project, I then index the output of the VI into a loop that contains the Desktop Execution Node. From the ongoing loop number, I know that the file was read successfully. I also know from the loop number where the simulation "freezes", which is a random number each time I run it.
Hope this answers your questions.
No it does not.. Can you show us some code?
07-18-2016 05:30 PM
I attached a simplified version of the code that illustrates the overall concept.
Open the project and run the Design Simplified (Host) VI.
07-18-2016 05:34 PM
Here is the text file to be read.
Please note that this code won't freeze. I am sharing it for the purpose of concept clarification.