‎04-07-2015 11:03 PM
Hello,
I have a incilinometer sensor with USB port. After I have installed its driver in windows, LabVIEW recognizes it with COM port and I can communicate with it through LaVIEW VISA.
Now, I want to use this sensor on an RT PC target, but I have encountered a problem. After connecting the sensor to the USB port of the RT PC target, the MAX software in host shows the sensor as a USB RAW device. How can I read the sensor data? Is there any way to change the USB RAW to COM port as in windows?
The inclinometer sensor model is RION DMI420.
Thanks a lot
Solved! Go to Solution.
‎04-08-2015 05:55 AM - edited ‎04-08-2015 06:04 AM
There are a number of unclear details. What RT controller are you talking about? If it is not one of the newer Linux RT based ones you are going to get troubles unless you use one of the high end ones which can run Windows embedded.
Even with Linux RT it is not automatically going to work. For one the device needs to use a chip that is supported by one of the USB drivers in the Linux RT system. Have you checked out this, and this, and this, and this?
‎04-08-2015 07:04 AM
Thanks a lot Rolfk.
I am using a desktop PC as LabVIEW real time target. I think the incilinometer sensor has a serial to USB converter embedded in it. I want to read sensor data in desktop PC target like in windows using VISA. Unfortunately the MAX software in host PC shows the sensor as a USB RAW device. What should I do to change that to a COM port?
‎04-08-2015 07:08 AM - edited ‎04-08-2015 07:08 AM
When you say PC desktop as RT target I assume you talk about the Pharlap ETS software? In that case there is almost no chance to get any USB device working without operating on USB Raw level.
‎04-09-2015 02:25 AM
So there is no way to read this sensor on PharLab as a COM port via VISA.
Thanks.
‎04-09-2015 03:17 AM
Well, it is theoretically not impossible. As long as you know the low level protocol you could implement that on USB RAW level (unless it requires Isochronous datatransfers but that is not common for most devices). However I doubt that it is worth the effort. This would be going to be a pretty complicated and time consuming exercise and require you to dive into low level USB device driver communication.