Not sure what type (Variant) to wire in Datasocket read to a waveform.

Hello

I have an accelerometer attached to a housing NI USB-6008 and I try to send the readings taken with it to the server datasocket, (see attached files).  I'm not sure what information and variables are necessary to be wired data read vi (Variant) type so that it displays the information on a waveform graph.

The accelerometer is just by the way an analog voltage.

Any help appreciated.

Hi Ultramar,

How Datasocket got out before the dynamic data Type was created, it doesn't have full support for this type of data. There is an easy solution that you can apply, which converts the DDT into a table 1 d of waveforms. Screw seal (in the zip file) will show you how to proceed.

You will also need to add an element named 'test' for Datasocket Server Manager, I've included a settings file, you can import into the DS Server Manager.

Finally, you will need to run the DS server and you will get the communication.

I wish to indicate that the 6008 is not the best map to read the values of acccelerometer, but the above steps will allow you to send the data. You will need to change the physical hardware DAQ channel in the publisher.vi DS because I modified the DAQ assistance to work with my setup of the computer.

Concerning
JamesC
NIUK and Ireland

It only takes a second to rate an answer

Tags: NI Software

Similar Questions

Maybe you are looking for