LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read file stored on flash Momery

Hi..!
I'm  planning to list files stored on flash momery. I need a clue to get it work.
I used VISA R/W to communicated to the device.
There is only one file at the time being named as "boot.ldr".
Any help will be appreciated
Thanks
attached the code
 
0 Kudos
Message 1 of 8
(2,782 Views)

Questions:

 

1) Does the device show up as a drive-letter in the OS?

2) Is the device part of the "Mass Storage" USB Class?

3) Are you familiar with low-level USB communication?

 

If the answer to 1 is YES then simply write files using the normal "Write file" function.

If the answer to 1 is NO then I strongly recommend (assuming the answers to 2 and 3 are YES) you look at THIS Page under "Mass Srtorage".

 

I don't know anything about Mass Storage commands myself except for the fact that it should be possible with VISA Read and Write (Bulk communication).  As to Filesystem and / or ATAPI comands or such, can't help you there I'm afraid.

 

Shane.

0 Kudos
Message 2 of 8
(2,778 Views)

Hi Shane,

 

Thanks for the reply, and the tips. I will read it soon.

 

Attached a snapshot from the code when I run it.

 

Regard

Guresha

0 Kudos
Message 3 of 8
(2,768 Views)

First: that's not a picture of the code, it's a picture of the front panel.

 

Second: you're obviously dealing with a device which has flash memory internally, not directly with the flash memory itself.  That's a whole different thing.

 

Third: check the manufacturer's documentation.

 

Shane.

0 Kudos
Message 4 of 8
(2,763 Views)

Hi again,

 

Sorry, I ment the picture of the front panel.

I attached the code at the first post, but I can attached again.

as you said the device has an internal flash memory and can be stacked together to extend the data memory to 64G.

 

Thanks

Guresha

 

0 Kudos
Message 5 of 8
(2,755 Views)

I don't have 8.6 so I can't open the code.  Sorry.

 

Does the manufacturer deliver documentation for communication?

 

Shane.

0 Kudos
Message 6 of 8
(2,751 Views)

Hi Shane,

 

It is serial for communicating with RS232.

 

Regard

Guresha

0 Kudos
Message 7 of 8
(2,740 Views)
There are examples for RS232 communications that come with Labview.  Open the example finder window and search for RS232 or Serial.  Study the example vi's, or just copy one and change it to do what you need.
- tbob

Inventor of the WORM Global
0 Kudos
Message 8 of 8
(2,710 Views)