11-16-2019 07:56 PM
This means that if the vcp device configuration file is used, visa can be used for signal acquisition in labview, right?
Because this is our first contact with these things, many things are not very understand, we will then learn more things, if necessary, I hope I can continue to consult you, wish you a happy life, thank you.
11-16-2019 07:58 PM
Because this is our first contact with these, we will learn something according to your suggestion. I hope if necessary, we can continue to consult you and wish you a happy life.
11-17-2019 06:33 AM
Thank you.
11-17-2019 07:02 AM
Our temperature sensor module is MLX90614 and the USB to TTL module is CH340G. We can read the temperature value on the serial software provided by the merchant. How can we read and process these values on labview? What exactly should we do?
11-17-2019 05:57 PM
Have you read the device manual to see if it tells you how to communicate with it? What commands to send? What the response would look like?
11-17-2019 08:59 PM
The instruction in the manual is to operate the signal on the software donated by the merchant. Can it also be used on labview?
11-18-2019 02:57 AM - edited 11-18-2019 03:14 AM
Doesn’t look like. The CH340G looks like a cheap chinese FTDI look alike that is typically used to convert an asynchronous serial port uart signal into an USB signal. It’s not directly obvious how this device could be used to interface to the SMBus interface on your sensor. So it’s not clear what commands you need to send to it to access the registers in your sensor. Without these commands being properly documented in the manual your chance to talk with a Klingon are better than getting this to work. 😀
One (pretty cumbersome) solution would be to attach a USB sniffer on the connection and analyze the data trafffic on fhe line. There are expensive hardware based ones and also some that you can install on your PC as software application only. The really good ones also cost quite some money. You still need to dive deep into the USB specification to understand what you see in these analyzers and which parts are relevant to use from VISA and which are part of the VCP protocol and are automatically taken care of by the VISA driver.
Another option would be to use a better documented protocol converter such as the NI-USB 8451. Stll this is not plug and play. You will need to sit down and dive into the 8451 documentation to learn how to use it and also read the datasheet for your sensor many times to understand which SMBus register addresses to tickle just in the right way and order to get it to give you the data you want.
11-18-2019 06:51 AM
@任南北 wrote:
The instruction in the manual is to operate the signal on the software donated by the merchant. Can it also be used on labview?
Ask them if they have an advanced manual, or a communications manual, that details the communication messaging protocol.