LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Feedback

Hello, 

 

I am a technician and I am a beginner in using LabView. I have trouble in understanding what I am missing in my program. I want to grab/record data from a Fluke 1523 Reference Thermometer on a real-time basis. I went through some references but can't seem to get it right. The uploaded image is what I have so far, hopefully anyone can help.

 

Thank you 

0 Kudos
Message 1 of 5
(234 Views)

Unfortunately, we cannot really debug images, especially since we can't even tell the display style for your string constants (normal? \-codes?). Showing the display style avoids confusion (right-click...visible items...display style)

 

there are two main parts of your code:

 

  1. getting data
  2. recording to file

What parts are the problem?

 

(You don't need two indicators for the chart data, you can just show the digital display of the chart, eliminating the "temp F" indicator. Your sampling rate should be blue. How often should it be changed during a run? How often does the file name change? How quickly does the instrument typically react?)

0 Kudos
Message 2 of 5
(215 Views)

Is your file gets overwritten every iteration?

If that's the problem, try to build the string using a shift register, and write the string to file outside the loop.

 

George Zou
0 Kudos
Message 3 of 5
(195 Views)

I think Zou is right, you overwrite the file each iteration. Open the file before the loop, use the file reference to append to the file in the loop and close it after.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 5
(140 Views)

Your crystal ball seems to be better than mine, because from the sparse information...

 

Quote: "I want to grab/record data ... but can't seem to get it right"

 

You all seem to assume that "grab" already works, which would be the fist hurdle. 😄

 

But yes, the "record" part requires to keep the file open (or set the file position to the end before each write). Also the word "real-time" is probably meant colloquially.

0 Kudos
Message 5 of 5
(129 Views)