Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI DAQ + HW 97 TTL-485

Hello everybody,
I'm working with a Witmotion inclinometer, which has proprietary software, which receives the data and displays it.
However, I need to transport this data to my application, developed in Visual Studio Code.
Witmotion brought me a code for Arduino Mega along with an HW-97 Serial converter to obtain information via serial communication.

Which I haven't tested yet.
However, as my application already works with DAQ, I would like to keep using it.
I know there is VISA that allows communication with Arduino.

But will it allow me some way to obtain information from the Arduino serial ?

Or has anyone already worked with this HW-97 directly in the DAQ, for my application it would be ideal.
I thank everyone who can contribute in some way.
0 Kudos
Message 1 of 14
(2,152 Views)

You could directly read it using a USB-485 adapter as well.

 

What NI DAQ do you use?

 

Please share the link to the Witmotion inclinometer

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 14
(2,126 Views)
Hello,
Thanks for answering.
My model is this: witmotion-sensor.com/products/witmotion-wtvb01-485-triaxial-displacement-speed-amplitude-frequency-vibration-sensor-ip67-waterproof-and-dustproof-for-motor-pump -vibration-monitoring
I have the DAQ 6008, 6009 and 6001 available.
0 Kudos
Message 3 of 14
(2,124 Views)

So, the sensor has an RS485 interface and MODBUS protocol.

https://witmotion-sensor.com/products/witmotion-wtvb01-485-triaxial-displacement-speed-amplitude-fre...

 

Unfortunately, the USB-600x series low-cost DAQs you've are not useful for the RS485 interfacing.

 

Next, you can get an off-the-shelf USB-485 adapter like the one shown in the image, do you have such a converter?

santo_13_0-1700846548994.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 14
(2,115 Views)
I don't have this converter at the moment.
But I can get it,

but with this converter I would enter the information through the computer's serial port, via USB.
not pass through DAQ, right?

Perhaps through LabView it will be the closest to DAQ that I can get using this way.
Thank you for your support.

 

0 Kudos
Message 5 of 14
(2,101 Views)

Yes, you will get it through the serial port and LabVIEW can read/write data through the serial port.

 

The straightforward route is through the serial port. Checkout this material - https://labviewwiki.org/wiki/VIWeek_2020/Proper_way_to_communicate_over_serial

 

Using a NI-DAQ to communicate over RS485 is the most complex and round about way to get it working.

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 14
(2,072 Views)
Thanks for all the help,

Could you please provide a more efficient DAQ model so that I can study communicating directly via 485?

Grateful.

Regards.
0 Kudos
Message 7 of 14
(1,955 Views)

RS485 is a protocol, a DAQ is used for signals and not to implement protocols.

 

In any case, USB-485 is an option from NI (note, you need to use NI-Serial or NI-VISA libraries and not NI-DAQmx)

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 8 of 14
(1,934 Views)
Thanks.

But I really need to stick with the DAQ USB 6008.
Using the Arduino Mega can I communicate serially with the DAQ 6008 USB and transmit this data?

And obtaining them through Labview, if possible, seems like an interesting solution for now.

Would connecting the tx and rx pins of the Arduino to an analog input on the DAQ give me this possibility?

Grateful.
0 Kudos
Message 9 of 14
(1,930 Views)

If your goal is to capture data from Witmotion inclinometer, then all that you need is a USB-TTL485 converter, it could be those cheap Chinese ones as well and you don't need an NI DAQ or Arduino.

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 10 of 14
(1,925 Views)