Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Init VISA/Serial Port returns error -1073807300

I am trying to dialog with a serial instrument using an USB port, a Keyspan serial adapter and LV 7.1.
Everything works perfectly on my PC.
Unfortunately, this is not the same on my PowerBook G4 running MacOSX 10.3.5. I can't initialise the port and I get the error message "Insufficient system resources to perform necessary memory allocation". I have tried various VISA ressource names (ASRLx, COMx, Portx... and so on), with increasing index number, without any success.
The Keyspan adapter seems to be recognized by the OS (led blinking).
Any idea ?
Thanks for your help !
Chilly Charly    (aka CC)
0 Kudos
Message 1 of 3
(4,524 Views)
The VISA resource name that works cross-platform is ASRLx[::INSTR]. COMx works on Win32-based platforms only.

But you did say you tried ASRLx without success. Please run the attached VI. It will show you all serial ports that VISA can access. If it doesn't find your port, well, I'm not sure what's going on.

The error code you indicated was VI_ERROR_ALLOC, which seems to indicate that at least VISA could see the port, but for some reason couldn't open it. If the attached VI has the same problem, it will show the port names on the left but the descriptions on the right will be blank.

Dan Mondrik
National Instruments
Message 2 of 3
(4,524 Views)
Your solution works perfectly !
It happened that the serial port number was 14. I never went so far during my search...

Thanks Dan !
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 3
(4,524 Views)