10-30-2007 06:57 AM
10-30-2007 09:38 PM
Thanks for that. I turned it into a 1D array and displayed it on the chart. It works real-time now but for some reason every second element is plotted as 0. Eg; 100,0,101,0,102,0,103,0,... So the peaks of the waveform is what im interested in. I'll give it another go tonight and see how it goes.
I want to display the data for up to 1 hour or so. I know this = a hell of a lot of data. The .CSV is inputting 33 samples/sec. I will also need to look into logging this data as well.
Thanks.
10-31-2007 06:00 AM - edited 10-31-2007 06:00 AM
Message Edited by simonious on 10-31-2007 06:00 AM
10-31-2007 08:32 AM
11-01-2007 04:33 AM - edited 11-01-2007 04:33 AM
Message Edited by simonious on 11-01-2007 04:35 AM
11-01-2007 08:57 AM
11-01-2007 09:26 AM - edited 11-01-2007 09:26 AM
Message Edited by andre.buurman@carya on 11-01-2007 04:26 PM
The False case runs straight through.
Message Edited by andre.buurman@carya on 11-01-2007 04:27 PM
11-01-2007 07:16 PM
Dennis,
The reason why the indicator is only showing a single value is because the VISA byte count is set to 4. Therefore the VISA reads in one value at a time (eg. "105,"). If I increase the byte count to say 1000, the VISA will read 1000 bytes first and THEN place them on the chart. This doesnt really work well and isnt real-time. The instrument is sending out multiple values separated by a comma (33 values/sec).
Andre,
Thanks for that, i'll see what i can do. Whats the name of those functions by the way? It'l help me find them quicker.
Thanks guys.
Simon.
11-01-2007 07:26 PM
11-01-2007 09:28 PM