Jump to content

Albert Geven

Members
  • Posts

    47
  • Joined

  • Last visited

Posts posted by Albert Geven

  1. Hi

    This is happening because of objects. There has been a discussion on the NI-site and Steven mentioned not to use typedefs in objects.

    I hesitated to do this but when thinking along I accepted that typedefs are not necessary in objects. In fact the object itself is the typedefinition.

    I now only use typedefs when interfacing to an object but not in the object definition itself and no problems anymore.

    I beleive I had this problem in five different situations and getting it fixed took a lot of editing.

    I don't say it is a bug and indeed should be solved but for now I can live with it because indeed a typedef is not necessary in an object.

    • Like 1
  2. Hi Ben

    You sure advertise the classics again and not a lot has changed in 200 years except for LabVIEW ....

    But I sure agree that fear is a bad guide to meet other people and I hope we will see that bad people cannot be recognised by color or nation.

    So let all sports be sport, and not concentrate on money or war.

    Irene, thanks for pointing me to this link from info-labview, and keep the chinese spirit strong.

    QUOTE (neB @ Apr 11 2008, 01:40 PM)

    I beleive it was Pilate who once asked "What is truth?". Makes you wonder how far we have come in 2000 years.

    Irene,

    I BELEIVE that sub-conciously (can a society have a sub-concious, without it being a conspiracy?) the west is threatened by China because;

    1) There are a lot more people in China than anywhere else and there is no other group in the world that could beat China, finacially, or miltarily.

    2) China has a unique history background and culture and therefore is different. "Differences" often scare those that don't appreciate the difference.

    3) The Chinese society is not yet addicted to the "stuff" that place un-neccessary demands on western life styles. e.g. When did cars become clothing?

    So although all of the hype against China is toughted as "good and morale" I BELEIVE the attacks are based on fear.

    Is anyone other than me familar with DR. Seuss's "The Star Belly Sneaches" ?

    Ben

  3. QUOTE(rolfk @ Dec 24 2007, 04:46 AM)

    A well Heinlein :thumbup: . Certainly an interesting author. Although I wouldn't share every of his visions and he seemed to have some militant ideas at time, he also had a very impressive way to describe environments and social interaction that were strange and bewildering, while at the same time still somehow believable. My first contact with him was by stumbling more by accident over "Stranger in a Strange Land" and it took me quite some time and writing an essay over this book for school to see the finer points of this book. And it changed the way I looked at many things remarkebly.

    Rolf Kalbermatter

    Thanks Rolf by reminding me on this book, I really liked it and I hope peace will really come some day.

  4. A simple way to get into problems we don't completely understand.

    open the project

    open the Main Vi

    Open also the display vi " Sensors fglb with graph error.vi"

    arrange the windows so that the "Sensors fglb with graph error.vi" is visible and the Main vi is in the left top corner and the error cluster is visible

    now run the main vi

    you may switch in the sensor display between raw data and temperatures and in any way I see in temperatures an error half of the time

    when delivering no data to the graph and don't tell that this is a feature

    So we decided this was due to the data yes or no available.

    But when switching to show all data I still see the error appear.

    Especially when the frontpanel of the sensor display is covered with a window (some window)

    This last one bothers me most.

  5. Hi

    my last modifications, now you should learn a bit of LabVIEW without express vi's

    I changed the boolean for simulation to a frontpanel control, you did not need the simulation I needed it because I have no daq card in or on my system.

    I also restored the daq assistent.

    If you study the converted vi (from a daq assistent) you already learn better labview.

    I found out that excel understands a file with tab separation if you name it .txt

    The only problem left is that you have to right click on the file in the file exploder and open with excel.

    By the way, If your program grows you build modular code with a subvi, just as in other real programming languages.

    The way to keep them together is called a folder and a way to transport more than 3 vi's is usually a zipfile.

    good luck in playing in test and measurement world

  6. You already had more than one vi and if you edit the readDAQ vi you can change it just as you want.This was incorporated in your program by the daq wizard, I only opend up this vi and got rid of the dynamic datat type.That all of your data is imported in excel in the first column is a mistake by excel. (copyrighted by MS)In previous versions they allowed this and handled it well.You can remove the "'," string on the array to spreadsheet function (and in the header line) and you will get a tab character instead.maybe that is accepted by the microsofware.The feature is now that you can run this program also when excel is not installed on the system.Soory for forgetting how to use your DAQ DEVICE.I have a boolean simulate added in the code.change that one into false and it is addessing your daq device

  7. Hi Matej

    You have to move the table and the excel reporting outside the while loop.

    In fact that is all what you ask.

    A problem is your wiring technique. Pleas wire a bit cleaner and use "cleanup wire" more often.

    The dynamic data is for a program like this more of a handicap than a solution.

    you are reading 3 times 200 samples at 1kHz

    These are transformed in 3 elements in a table for each loop.

    If I look at the timeout of the Daq assistant it seems to repeat each 10 seconds (or more)

    In the table you seem to remeber all the 200 elements of each temperature measurement.

    Is this what you want or do you need the rms data in the table?

  8. Hi Bernd

    Can you attach the vi?

    I would like to play with it.

    concatenating arrays of different dimensions is the only possibility

    one option is to add an extra build array function to the lower dimension (eventually transpose the resulting array if the concatenate is in the wrong direction)

    and then you can concatenate.

    The question is, why do you want this?

  9. QUOTE(James_SGP @ Apr 24 2007, 07:51 PM)

    I am having a problem with moving the stages from the home position.

    I perform a 'Find Home Signal' operation, and all the axis home ok.

    When I then try and perform an Asolute Move, I get a Hardware Limit

    Error and the stage stops moving. It seems to be random, as sometimes

    everything is fine; after I home everything again I get the problem.

    I`m pulling my hair out with this, what am i doing wrong...?

    James

    (Singapore)

    Did you test your hardware limit switches. Aren't they not reversed. Starting to move could trigger them, but I'm not sure why homing works.

    Except with floating inputs?

  10. look at the mechanical action of a boolean (right click)

    maybe you do not need the latch but the switch action so you can use local vars to reset that one.

    The latch action will reset when read by the program

    QUOTE(Steve Weidman @ Mar 6 2007, 03:33 PM)

    I'm still very new to LabView and need some help.

    I would like to capture the output of a button and latch it until I reset it. Is there any kind of a latch function that can capture and hold boolean values until I reset it?

    Thanks,

    -Steve

  11. Hi Jim

    Good work, the only real problem with the example finder is the alphabetic sorting within a directory.

    But we can use it by generating names that sort correctly.

    The problem with the daq examples is that the simple examples end up somewhere in the middle between the high level examples.

    What you need is a good directory structure and an indication if the example is easy,medium or only for programmers that search for trhe last bit.

  12. Hi all,

    I was wondering if any of you (I'm talking more to europeans for they are more likely to come than oversea people) will attend to the NI test summit in Debrecen (Hungary) in mid febuary

    As a LV developper I'd be delighted to meet co-worker to discuss technical point, share a lumch with a couple of beer, etc...

    Anybody interested ?

    I visited NI-Hungary last summer and the people were very friendly and the Hungarian beer is very good.

    I really would like to go back but, sorry, not this time.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.