How to get names of USB card readers and check if there are cards present.

I’m trying to create a video ingest station.
We have a setup with an iMac with multiple card readers attached.
I want to put a label (physically) on the various slots and in my application present the user with a listbox with names of devices with cards present.

This is what I have now:

Dim vols As Integer vols = VolumeCount - 1 For i As Integer = 0 To vols ListBox1.AddRow(Volume(i).Name) Next

If you mount two SD cards in two slots (formatted in a GoPro camera) they will share the name “NO NAME” and they will be hard to distinguish.

How can I make the mounted cards reflect the physical labels?

In Terminal, try to parse “diskutil list” and/or “diskutil info”

Thanks @Detlef Kahner
I’m shaky with Terminal (newbie) – but it looks promising

This is on Mac?

you could check the DiskArbitration classes in MBS Xojo Plugins.

Thanks Christian – will do :slight_smile:

In case of Terminal, new thread and/or shell, with sending the commands given above.

Textvariable= s.result, then parse it with string modifications (left, mid, right).

I see myself as an advanced beginner. :wink: