08-31-2021 12:47 PM
How can I see in the dropdown of the visa resource name function the connected usb? I have an arduino plugged into the usb port. I use macos as labview's operating system. in vi MAX if the usb port appears. I have no visa installed.
09-01-2021 03:04 AM
@MRC85 wrote:
How can I see in the dropdown of the visa resource name function the connected usb? I have an arduino plugged into the usb port. I use macos as labview's operating system. in vi MAX if the usb port appears. I have no visa installed.
So VISA isn't working and you didn't install it?
Hmm. Perhaps installing VISA will make VISA work.
09-01-2021 05:04 AM
if I have visa installed and it does not appear even refreshing.
09-01-2021 10:16 AM - edited 09-01-2021 10:19 AM
09-02-2021 02:52 AM
You can probably loop over all VISA resources (or just the serial resources) and get information like (the port's) manufacturer ID and serial nr from the VISA properties.
That's probably as good as it gets, as the physical serial connection doesn't know anything about the device that is connect.
You can try to get serial device information, for instance by sending a *IDN, but there's no standard for that, so you'd have to send all requests for ID for all devices you expect, and then hope that one request (like *IDN) doesn't ruin other devices that don't support *IDN.
09-08-2021 11:38 AM
I have put an alias on the usb port and it works for me.
09-09-2021 02:58 AM
(Your first!) kudo, for posting the solution!
Please accept your solution as solution, so other can see this thread is solved, and find the answer easily.