03-31-2010 07:36 AM
Hi
I've an accelerometer attached to a NI USB-6008 and I'm trying to send the readings taken with it over datasocket server, (see attached files). I'm unsure what information and variables are needed to be wired in to the type (variant) of the data socket read vi in order for it to display the information on a waveform chart.
The accelerometer is just passing out an analogue voltage.
Any help appreciated.
Solved! Go to Solution.
04-09-2010 04:13 AM
Hi Ultramar,
As Datasocket was released before the Dynamic Data Type was created, it does not have full support for this data type. There is an easy fix you can apply, which converts the DDT to a 1D array of waveforms. The attached VIs (in the zip file) will show you how to do this.
You also need to add an item called "test" to the Datasocket server manager, I have included a settings file you can import from the DS Server Manager.
Finally you need to run the DS Server and you will get communication.
I would state that the 6008 is not the best card to read acccelerometer values, but the steps above will allow you to send the data. You will need to change the physical channel of the DAQ device in the DS publisher.vi as I modified the DAQ assistan to work with my computer setup.
Regards
JamesC
NIUK and Ireland
It only takes a second to rate an answer 🙂
04-15-2010 03:25 AM
Thanks James is what I needed to know.
Is a uni project so stuck with the 6008 for the time being.
Cheers again.