How can we help you today?

It is possible to detect a USB memory stick and the volume name on an LMC078?

There is no direct function or variable showing that a USB key is available or not and the related root path.  But you can use the following workaround:
FC_GetFreeDiskSpace
depending on the status value you know
0  : USB key is mounted and the device has no partition table   --> You must use ´usb2msd:0/' for the root path of the USB memory stick
-1  : USB key is mounted but the device has a partition table      --> You must use ´usb2msd:1/' for the root path of the USB memory stick
-318 : USB key not mounted

Schneider Electric Canada

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:

Need help?

Need help?

Product Selector

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Get a Quote

Start your sales inquiry online and en expert will connect with you.

Where to buy?

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Center

Help Center

Find support resources for all your needs, in one place.

  • Help and Contact Center
  • Contact Sales
  • Find our Offices
  • Where to Buy
  • Careers
  • Company Profile
  • Investors
  • Newsroom
  • Report a Misconduct
  • Product Documentation
  • Product Selectors
  • Software and Firmware
  • Product Substitution and Replacement
  • Blog
  • Events
  • Schneider Electric Community
  • Sustainability
  • Legal Information
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings