-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I have various USB instruments, which have resource names like
USB0::0x0957::0x4D18::MY54190007::INSTR
This is currently not recognized by Lab::Visa. However, if this is added to the _check_resource_name function in Visa.pm, all works fine for me.
elsif (
$resname =~ /^USB[0-9]*::0x[0-9A-F]*::0x[0-9A-F]*::\w+(::INSTR)?$/ # USB INSTR
) {
return 1;
}
I don't know, if the regexp captures all valid USB resource names, but I can't improve this, because I don't know the rules for these resource names. Maybe you do...
Thanks & regards, Gerhard
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels