04-06-2015 09:39 AM
I am new to Labview. I am using a torque meter, TQ-8800 that output data via RS-232 (audio jack). The other end of this cable is connected to my PC via USB port. When I run my setup I do not see any data on the Waveform Chart. I am using the Bulk.vi example. Does anyone have an example using this device with Labview? Any help would be appreciated. Thank you.
04-06-2015 09:55 AM
04-06-2015 10:51 AM
Thank you for responding. I was just trying to describe one end of the cable and referencing audio jack seemed to describe it the best. The big mistake you refer to was made by searching the Labview help. When I searched for USB the solution is to use the bulk.vi. When I searched for RS-232, referenced simple serial.vi but this vi will not recognize the TQ-8800. When I searched for a driver to use with the TQ-8800 torque meter nothing was returned. So where/what is the correct driver for the TQ-8800 torque converter that Labview needs? Thank you.
04-06-2015 11:21 AM
That is a special cable for the instrument.
As far as the communications, I'm guessing the instrument constantly sends out the measurements. Read through the manual, specifically pages 9-10. They talk about the format. I think you will need to make your own driver for reading these measurements.
04-06-2015 11:40 AM
04-06-2015 11:52 AM
@Dennis_Knutson wrote:
And you would need a low level windows driver from the vendor to make the USB connection appear as a serial port. This is not the same thing as a LabVIEW instrument driver.
From what I could gather from the manual, there is a special cable that goes from the audiojack to DB9. The OP would then need to be using a serial USB adapter. Assuming that is true, the OP just needs to figure out how to do a simple read from the serial port and then parse the data.
04-06-2015 12:15 PM
04-06-2015 12:42 PM
Using NI Max Measurement and Automation Explorer my device shows up in the Devices and Interfaces but not in a com port. It shows up as a USB Raw Resouce, just like the NI USB-6000 "SimuDAQ" device does. On the Bulk.vi Front Panel I can select the VISA Resource and if I keep selecting the Buld In button I see plot lines being displayed on the Waveform Chart. I have attached my block diagram.
04-06-2015 12:45 PM
@gprall001 wrote:
Using NI Max Measurement and Automation Explorer my device shows up in the Devices and Interfaces but not in a com port. It shows up as a USB Raw Resouce
That is your problem. The USB Serial adapter should be showing up as a COM port. Make sure you install the drivers for that USB serial adapter.
04-06-2015 12:48 PM