キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/5
334件の閲覧回数

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 件の賞賛
メッセージ2/5
315件の閲覧回数

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 件の賞賛
メッセージ3/5
295件の閲覧回数

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 件の賞賛
メッセージ4/5
240件の閲覧回数

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 件の賞賛
メッセージ5/5
229件の閲覧回数