From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-20-2008 02:46 PM
03-27-2008 01:48 PM
03-28-2008 08:57 AM
03-28-2008 09:32 AM
03-28-2008 02:27 PM
After trying to set up a digitalwaveform graph to use irregular timing I came across the following error:
code...
Dim wave As New DigitalWaveform(1700, 😎 Dim TimeStamp(1700) As DateTime wave.Timing = WaveformTiming.CreateWithIrregularInterval(TimeStamp)NotSupportedException - The digital waveform does not support irregular timing.
Any idea what may be causing this?
Chris
03-31-2008 10:47 AM
03-31-2008 03:30 PM
03-31-2008 05:45 PM
Jonathan,
I also have discovered that the Digitalwaveform Graph does not support irregular timing. So I have decided on another appoach. The data we are acquiring is captured using various transducers feed into a PLC. From there the data is read into a computer using an OPC Server (I know, network varaibles would be a more modern solution, but that's another story). The data is used to continuosly update a human interface and is stored to various text files when the data has changed (Status Changed). The text files coorespond to the piece of equipment the data originated from and is formatted as follows (comma delimited):
26-Mar-2008,15:00:02,2048
26-Mar-2008,15:00:04,0
26-Mar-2008,15:00:28,8
26-Mar-2008,15:37:54,2048
26-Mar-2008,15:37:55,0
I need to display the data at 1 sec intervals on the digital graph, so I decided to fill in the gaps with unchanged data and plot it with a regular interval. This worked quite nicely.
However, I would also like to have the plot update with live data as it is written to the file so the user can see what is happening in real time. This is the part I am having trouble with now. How do I set this up? Can it be done? Any ideas?
Thanks,
Chris
04-01-2008 10:46 AM
04-01-2008 11:59 AM
David,
My problem is not determining when the file is being written to, I already know when the file is written to and with what data. My problem is Appending the data to the Digitalwaveform Graph (plot).
Chris