12-23-2016 11:21 AM
I'm trying to record data of a graph of temperature versus time. I have set up my VI just like in the attached photo. and used waveform chart but that only gave me a certain period of time so I switched to waveform graph, however I can't get the x-axis (which is time) to read the same time of the computer and date for a period of about an hour to an hour and a half. Any suggestions on how to fix this problem would be appreciated
Solved! Go to Solution.
12-23-2016 11:52 AM
Please attach an actual VI. When youi use Express VI's like the DAQ Assistant, and the Dynamic Datatype wire, so much stuff is hidden behind the scenes, a screenshot of what otherwise looks like pretty basic code tells us nothing.
12-23-2016 12:52 PM
Also, why do you have a To Dynamic Data Type Express VI in there? You are going from a blue DDT wire that is then being coerced (red dot) to an array of waveforms that is then being turned back into a DDT wire with that Express VI. We can't see what actual conversion is going on in there, but that may be the reason you are losing timing information.
12-23-2016 01:08 PM - edited 12-23-2016 01:11 PM
change your x-axis to display format to absolute time and set your x-axis offset and multiplier. Offset is time started collecting data and multiplier is the sample rate in seconds. So for example 0.1 sec is every 100 milliseconds.
12-23-2016 01:11 PM
I'm not sure what do you mean by actual VI, I have attached a picture of the whole front panel of the VI file. As for the wiring, I don't have lots of knowledge on how to build the block diagram so that's what I came up with.
12-23-2016 01:13 PM
I have already did that and set the offset to 0 and multiplier to 1 but still the same issue
12-23-2016 01:20 PM - edited 12-23-2016 01:23 PM
If your sample rate is 1 second that is the correct multiplier. On the timing palette use get system time and convert to a dbl. Use the time stamp from the sampling device if it is correct time. Or create a time stamp at start of sampling.
12-23-2016 01:35 PM
fotowat@uwindsor.ca wrote:
I'm not sure what do you mean by actual VI, I have attached a picture of the whole front panel of the VI file. As for the wiring, I don't have lots of knowledge on how to build the block diagram so that's what I came up with.
Ummm.... The file that LabVIEW actually saves with the extension .vi ..........
12-23-2016 01:51 PM
@RavensFan wrote:
fotowat@uwindsor.ca wrote:
I'm not sure what do you mean by actual VI, I have attached a picture of the whole front panel of the VI file. As for the wiring, I don't have lots of knowledge on how to build the block diagram so that's what I came up with.
Ummm.... The file that LabVIEW actually saves with the extension .vi ..........
Just like this isn't xml code.
12-23-2016 02:04 PM
Is this the file you're looking for?