LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data acquisition

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.

0 Kudos
Message 11 of 18
(1,019 Views)

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.

0 Kudos
Message 12 of 18
(1,017 Views)

Thank you.

0 Kudos
Message 13 of 18
(976 Views)

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?

0 Kudos
Message 14 of 18
(977 Views)

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?

0 Kudos
Message 15 of 18
(955 Views)

The instruction in the manual is to operate the signal on the software donated by the merchant. Can it also be used on labview?

0 Kudos
Message 16 of 18
(947 Views)

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.

Rolf Kalbermatter
My Blog
0 Kudos
Message 17 of 18
(938 Views)

@任南北 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.

0 Kudos
Message 18 of 18
(923 Views)