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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove 'buffer' from Fluke 2640, used to measure temperature.

Hi guys, i have a big, but 'simple' problem here. I am using a Fluke 2640 to acquire temperature. The problem is following:
The start of modules are slow, because it, I initialize the modules before I really initialize the data acquisition. So, when a really initialize acquisition, my Vi read all the values include, the values before i really start acquisition, how this data were in a buffer, and I dont read the real value in that time.

 

Sorry my wrongs in english.

Icaro Kossmann
LabVIEW 8.6 Newbie.
Brazil
0 Kudos
Message 1 of 9
(2,632 Views)

Post your code or a link to the drivers used.

0 Kudos
Message 2 of 9
(2,627 Views)

Follow the drivers. I cant upload the VI because it is property of my boss.

Icaro Kossmann
LabVIEW 8.6 Newbie.
Brazil
Download All
0 Kudos
Message 3 of 9
(2,623 Views)

Guess your boss should be posting to this thread, too.

 

Can't tell you why the car is sluggish if we can't see the car.

 

Maybe you can upload a dumbed down version?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 9
(2,618 Views)

Follow the VIs hehe.

Icaro Kossmann
LabVIEW 8.6 Newbie.
Brazil
0 Kudos
Message 5 of 9
(2,600 Views)

@Kossmann wrote:

Follow the VIs hehe.


Wow and this program actually works?  How can you maintain this?  I can't make heads or tails of it.  Partly because I only speak English.

 

I guess what if you took 2 readings, then did a compare.  If the values are exactly the same one would think that the readings have been updated, and the data is from the previous reading.

 

What about flushing the buffer between reads.  I don't have the DLL that the drivers call but there is a chance that there is an unexposed method for clearing the buffer.

0 Kudos
Message 6 of 9
(2,583 Views)

The code is rife with places where I could see potential race conditions - this may be one of them.  I can't even begin to follow this thing around.  😞

 

I hate to say it, but this is what happens when someone decides to "wing it" and write a bunch of LabVIEW code without really understanding how LabVIEW works.  Eventually you wrap yourself up in spaghetti and can't find a way out.  😞

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 9
(2,575 Views)

@billko wrote:

I hate to say it, but this is what happens when someone decides to "wing it" and write a bunch of LabVIEW code without really understanding how LabVIEW works.  Eventually you wrap yourself up in spaghetti and can't find a way out.  😞


But the NI rep said it was so easy and anyone can do it.  They opened an example and it did 90% of what I wanted.

 

In any case here are some free training links I give out to those that want to learn more.

 

3 Hour Introduction http://www.ni.com/white-paper/5243/en/

6 Hour Introduction http://www.ni.com/white-paper/5241/en/

LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/

Self Paced training for students http://www.ni.com/academic/students/learn/

Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml

LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links

0 Kudos
Message 8 of 9
(2,571 Views)

I understand what you said, but this VI is not made by me, because it, i need to your help to understand a fix the problem, hehehe.

Sorry.

Icaro Kossmann
LabVIEW 8.6 Newbie.
Brazil
0 Kudos
Message 9 of 9
(2,563 Views)