02-05-2015 12:10 PM
How do you address the instrument through raw USB? What are the command sets or pipe calls? Where are they described? You help is greatly appreciated.
Thank you.
02-05-2015 01:26 PM
02-06-2015 12:36 AM - edited 02-06-2015 12:38 AM
Hi Agolovitser,
Just use the serial command-set found in the user-manual on Newport's web-site.
Here's a TEST VI in case it may help.
Cheers!
P.S. The top-level VI is named "Dvr.PM.Newport.2936-C(VISA)_Tools.TEST.vi"
02-06-2015 07:15 AM
Thank you for your help.
02-06-2015 08:08 AM
I'm just checking to see if this issue got fixed. I am using a Newport power meter and yes you have to install the interface software that comes with it to get the USB drivers installed for the device.
I attached the VI I put together to read from it.
11-17-2017 09:58 AM
Hello all,
*Solved*
Solution:
Manually copy the following DLLs in the application directory:
1. powermetercommands.dll
2. powermeterlib.dll
3. usbdllwrap.dll
Findings:
During application build, the powermetercommands.dll is not identified as a dependency, so its not added to the project. This file is required by InitCmd vi. I didnt check to see if it'll work if DLLs are placed in "Data" support folder.
What didn't solve the issue:
* Installing the Newport software
What I didnt try:
* Raw USB communication - sounds tedious
05-01-2018 10:49 AM
Did you have to create a name for the USB channel in the NI-VISA driver wizard? What is the Device Key in your jpg.? Just can't seem to get the USB to work once it's created in the NI-VISA driver wizard.... Tried basic *IDN? query in the NI-VISA test panel...always get error.
Any help is appreciated.
05-01-2018 10:57 AM
I assume that you installed the USB driver for the device. Does the device come up on your device manager? If not try re-installing the driver and point to the installation folder your driver is located in.
I'm not sure the solution for this will work if you haven't gotten past basic communications. I would consider just using the RS-232 port or the GPIB port to talk with it. You should be able to find the programming manual for commands.
05-01-2018 11:22 AM
The device installs great and works with the Power Meter App that came with it. It is visible in the Device manager. But, Measurement & Automation doesn't see it unless I create the NI-VISA USB Driver... Once I create a NI-VISA USB driver it disappears from the USB controllers list in Device Manager and the Power Meter App no longer works.
When you say "re-install and point to the installation folder your driver is located in" do you mean the NI-VISA driver?
05-04-2018 11:35 AM
Reinstalling the driver won't help since it appears to be working correctly. Just in case there was an issue I would remove the device in device manager and unplug it. Then re-install the driver and plug it back in.
What version of the interface software did you install? The one that I used before was ver. 3.0.2. I was going to include it in this post but it was over the limit for posting. If you need it let me know and I can email it to you.
That software will install the USB driver and it will also provide a folder that will give you plenty of LabVIEW examples you can try. Have you tried those? It should also give you an application where you can test simple communication to the instrument outside of LabVIEW to make sure it works.