cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with list folder

SOLVED
pengxin
Member
Solved!

Problem with list folder

Message contains an image

 Hi

 

 I am trying to use List Folder to list out all the LVM file in the folder. However , i am getting this error message when i run the VI.

 I have tried to key in the pattern as *.lvm or even using loop, this error message still pop out. Please help me.

 

Cheers

PX

 

 

1.png

 

 

 

 

5 REPLIES 5
Mavis
NI Employee (retired)
Solution

Re: Problem with list folder

Hi PX,

 

I guess you need to input a folder instead of an LVM file path.

 

Hope this helps,

Mavis

pengxin
Member

Re: Problem with list folder

Hi

 

 

 

Previously i am using a control to direct my path, so that it force me to choose a file.

 

Now i have changed to use constant and type in the path name of the folder and problem solved.

 

Thank you Marvis

 

 

Cheers 

PX

RavensFan
Knight of NI

Re: Problem with list folder

Perhaps you should mark Mavis's post as the solution to your problem rather than your own thank you message.  First you will have to go to the options menu on your message to Unmark it as the solution.
Dennis_Knutson
Knight of NI

Re: Problem with list folder

Also, a control does not 'force' you to choose a file. Right click and select 'Browse Options'. Change the selection mode.
Highlighted
pengxin
Member

Re: Problem with list folder

Thank you Raven and Dennis

 

 

I have changed the accepted solution to Marvis Thread. And under the browse option i have noticed the selection mode, i did not know beforehand i can do this.

 

Thank you guys

 

Cheers

 

 

 PX