{}

Nos marques

Bienvenue sur le site Web de Schneider Electric

Bienvenue sur notre site Web.
En quoi pouvons-nous vous aider aujourd'hui ?
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 Belgium

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 Belgium

En savoir plus
Gamme :
En savoir plus
Gamme :
En savoir plus
Gamme :
En savoir plus
Gamme :
move-arrow-top
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.