01-08-2016 05:00 AM
I'm very new to LabView and need to get a program up and running soon for a project. I was given some code that was used to log data from a usb device. I have it working for my device with one thermocouple. But would it be possible, from looking at the image, to use multiple thermocouples with this code? If anyone needs it i can upload the actual vi file too.Thanks very much for any help at all!
01-08-2016 06:35 AM
All you need to do on the DAQ side is to add more channels to the task. Your analysis/saving of the data will need a little work since you are only indexing out the first waveform.
01-08-2016 07:09 AM
01-13-2016 08:42 AM - edited 01-13-2016 08:53 AM
Thanks for the replies guys, I'm still struggling to get this up and running tho. [Edit, Request removed] The main issue I can't get around is including a time stamp with the readings. I'm sure if i knew LabView better it could be easy but with the time constraints I'm on its proving to be too difficult. Thanks again.
01-13-2016 08:47 AM - edited 01-13-2016 08:48 AM
No-one here is going to do your work for you, we will help guide you in the right direction though.
Just add additional channels to your 'Signal' which specifies the ai0 channel, I think you can use commas to specify multiple channels or use a colon to specify a range of channels. Then all you need to do is replace the Index Array (which takes only the first channel from the array) with a for loop (for each channel) with auto-indexing that converts the waveform to a string which you can then add to your build array with the timestamp.
For the timestamp, you can use 'get date/time in seconds' and then a format into string with the appropriate format string (look in the help) to format it in the right format you require.
This stuff is pretty basic so I suggest you have a look at some LabVIEW tutorials/training - there's lots available for free.
01-13-2016 08:52 AM
Hey, thanks very much, i might edit my last post there so, don't want to break any of the forum rules, sorry about that.
But that seems useful, I'll try it out. Sorry again