LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

import data for selection

Evening,

 

I'm sure this is a simple thing I've just never used, so apologies in advance if a simple one.

 

I'm importing a tab delimited list and want to make a selection from it.  Is there an easy way to make a selction from the imported list?  All data for a test is recorded in tab-delimited file so dont need to show all columns  but the remaining column data sets up the labview test.

 

Is it a proprty node or something similar......................not really created that many property nodes so if it is: please treat me like an idiot 🙂

 

Many thanks in advance

 

Martin

0 Kudos
Message 1 of 4
(2,933 Views)

It would help to (a) see an example file (to see if the data are numeric, string, mixed, single line, multi-line) and (b) know which version of LabVIEW are running.  There is a function (whose name varies depending on the LabVIEW version) that will transform a tab-delimited file into a 2D array.  Now, what do you want to do with a 2D array?

 

Bob Schor

0 Kudos
Message 2 of 4
(2,922 Views)

Apologies for no VI, didn't want to seem condescending.  Using Labview v14/v15

 

Have attached example of what trying to achieve, along with some sample data.  It demonstrates importing the data for viewing but idealy want to select a row of data, and then importing that row. There is three ideas of what maybe the imported data could be selcted from but just my ideas so far.

 

I've used reading data from file for my dyno work in the past: setting parameters, load profiles etc with array manipulation, but that has just been the user selecting the file then automatically reads selected bits of the file but never have had the user select 'rows' from within the imported file.

 

For some reason i cant seem to upload the VI, so apologies for image instead (The attachment's Importing Product List Forum v001.vi content type (application/octet_stream) does not match its file extension and has been removed).  Not looking good for me if i cant even manage to upload the file!!

 

Thanks for any help in advance

 

Kind regards

 

Martin

 

 

Download All
0 Kudos
Message 3 of 4
(2,906 Views)

Afternoon,

 

Resorting replying to my own posts 🙂

Couldn't find anything that imported the array straight into a 'selection box or similar' so resorted to array manipulation (attached) although did find a great 'mouse click' solution by Mark Ridgley, but was a bit complex for this project.  Great solution for mouse click though: https://decibel.ni.com/content/docs/DOC-22434

 

Please post more elegant solution if one

 

Thanks for help in advance

 

Kind regards

 

Martin

 

 

Download All
0 Kudos
Message 4 of 4
(2,856 Views)