LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Listing folder from a main board connected by serial port

Hi

I have a main board, I connected it serially and accessed it by VISA application and I have managed to write to and read from it.

My problem is how to list the folder from the board. There are many files in every folder with different file format.

Any help will be appreciated

0 Kudos
Message 1 of 3
(2,502 Views)

What is this "main board"?  What kind of folder is on it?

 

You said you have successfully communicated with it through VISA read/write.  You must have had some instruction sheet that gave the protocols do to that.    What does it say about "listing folders"?

 

It sounds like you have some confusion about communicating with an instrument through a serial port and dealing with a device that would behave like a mass storage device, and that would have nothing to do with serial communication.

0 Kudos
Message 2 of 3
(2,499 Views)

It is advanced embedded board, it can be counted as a storage device. We are aiming for friendly LV user interface for the customer to view the file stored on it.  

And farther we want to list the files, and might add:

 

loadapp                       (load application loader file)

loadmax2                    (load and program the Max2 using jam stapl)

reboot                         (reboot the blackfin)

boot <filename>         (boot an application)

flashapp                     (program the loaded application loader file to flash)

setboot <filename>   (tell bootmanager which application to boot on startup).

unsetboot                  (reset the application to boot).

setmac <address>   (ex. setmac 01:f0:cd:45:1f:2a).

setip <address>        (ex. setip 192.168.0.150).

dir                              (list all files).

settime                      (ex. settime 12:04:01).

gettime                      (print out time).

 

0 Kudos
Message 3 of 3
(2,491 Views)