How to communicate with USB devices?
restedumonde
I would like to communicate via Igor with a spectrometer and a powermeter (from Newport) that have USB connections.
The devices appear in the device manager in the USB bus controller section.
I asked the manufacturer and they cannot be programmed with the VISA protocol.
The former versions of these devices enabled a serial communication with a RS232 port.
So my question is: Is there an XOP like VDT or VDT2 which permits the communication with a USB device?
Thanks
Restedumonde
Yours too?
This would mean you can write an XOP which bridges from Igor to the newport active X control.
For writing an XOP it is necessary to be fluent in C or C++.
October 24, 2014 at 05:30 am - Permalink
The VISA XOP is the XOP that permits communication with a USB device. But the device must support the USBTMC protocol.
If it does not, as is the case with the Newport spectrometer, then you need an XOP written to use the driver provided by the manufacturer. Perhaps you can cajole Newport to write it.
October 24, 2014 at 06:15 am - Permalink
Thanks for your answers.
By the way, the instruments I want to communicate with are:
- the MS260i spectrometer,
- the 1918-R powermeter.
I asked Newport and they were kind enough to send me C++ files (see attached files).
I am a newbie in writing XOPs, so I have some questions:
- Are theses files sufficient to write an XOP?
- How do I write the XOP from these files?
Thanks,
Restedumonde.
October 30, 2014 at 08:33 am - Permalink
You will need the Igor XOP Toolkit.
October 30, 2014 at 10:01 am - Permalink