Jump to content

Bjarne Joergensen

Members
  • Posts

    130
  • Joined

  • Last visited

Posts posted by Bjarne Joergensen

  1. Hi Bjarne

    For case 2 , the comment and uncomment function can be usefull if you when made test ,and temporaly unactive one or few states, without remove those states of string list.

    Regards Eric

    Hi Eric

    I can see your point, but it could leed to misunderstandings to use the word 'comment' because it meen something else in the JKI statemachine. A comment/explanation for the state, not a rem-out.

    I think it would be nice to have a rem-out of states for test purpose.:thumbup1:

    My sugestion is.

    When I want to make a comment on a state the tool place '//' at the end of the state and set the curser after those two.

    When I want to rem-out a state the tool place a # in front of the state.

    best regards

    Bjarne

  2. Hi Eric

    It's a wery nice tool you have made and it would be wery usefull to methumbup1.gif

    I got a few comment to some of the features.

    Case 1:

    If the list of JKI states is longer than window can show and you select the buttom separator via QuickSelect, the window will scroll down to that selector and highlight it.

    But if you select the top separator, the window don't scroll up so I can see the chosen/highlighted selector.

    Case 2:

    I don't understand how to use the comment states(s) function. When I use it it make a # in the start of the selected state, but that will make the whole state a comment!

    Case 3:

    If you have selected the last state in the States list and then press the move down button, then the state disappearblink.gif .

    Regards Bjarne

  3. I've never had any problem with Labview releasing a serial port. I spend a lot of time switching between LV and Hyperterminal while developing serial instrument drivers and as long as I close the connections it works great.

    Get a copy of Portmon from Microsoft and use it to capture serial port events. It will tell you WAY more about serial port communicaton that you want to know. But it will tell you if the port is being used by another program and if it's getting closed correctly.

    http://technet.micro...s/bb896644.aspx

    Hi Eric

    Thank youthumbup1.gif

    I haven't got the problem either when I switch between LV and hyperterminal, but it is when I call another .exe via .not from LV that use the same COM-port at as LV just had closed.

    I vill try to monitor the COM-port with Portmon.

    regards Bjarne

  4. Hi

    I got a sequencer programmet in LV that call a VI that use COM1 to communicate to a divice with LVs serial functions.

    My question is: When I use the function "close" has LV totaly released the COM port?

    I ask because the sequencer call another VI that call a .net app that use the same COM port and the first time I call that VI I got an error!

    Is it normal behaviour?

    best regards Bjarne

  5. Changed Name and location

    C:\Program Files\National Instruments\LabVIEW 2009\vi.lib\Palette API\ResMgr\Save Resource.vi

    -Scott

    Thank you.

    I found them, but I got this error:

    This VI cannot access the referenced item because of library access scope. Items in private scope can be accessed only from the following locations:

    1) from inside the owning library or LabVIEW class

    2) from inside a library contained by the owning library.

    Why is that?

    Regards Bjarne

  6. I like to do something Similar thing. It will be a good Idea. Can I have your Exampel ?

    I trying to get OOP into my head. But I'm frusty.gif

    If someone can get my head to understand this I be a happy man.worshippy.gif

    I have a thing I like to draw. An class with interface/protocols. But I don't know how to start.

    I have Some protocols : MRP, FLP,Comp, SubL, xpcom, other

    Interface : Serial, Ethernet

    Thanx

    Hi Clio75

    Unfortunately I haven't started to use oop yet. I have the same problems as you and lag of time.

    The only thing I have is what I already have posted.

    regards Bjarne

    PS. Why is your "name" Clio75? I thought Reanult Clio only was i version 3 (see my avatar)?biggrin.gif

  7. Hi all.

    I have been playing around wiht the function "File delete" and suddenly allmost all my desktop icon disappearedoops.giffrusty.gif .

    (allways remenber to press the right button!)

    As far as I can see, LabVIEW don't put the deleted files in the Recycle bin. Is there anyway to get them back, pleasewub.gif

    regards Bjarne

  8. I'm able to reproduce it in 8.6 if that's any help. It seems that the activex component data is seen as a change by labview.

    Sorry, I'd forgot to tell the version I have seen this problem. The attaced VIs is in LV8.2.1 and as you Michael, I have also seen it in LV8.6.

    But bag to the problem.

    Is it a bug?

    Shall I report it to NI?

    Regards Bjarne

  9. I've found a bug that I don't have time to check right now but will be a priority... Some conversions taking place in a frame structure react weirdly as shown on this video.

    <object width="446" height="190"> <param name="movie" value="http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/jingswfplayer.swf"></param>'>http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/jingswfplayer.swf"></param> <param name="quality" value="high"></param> <param name="bgcolor" value="#FFFFFF"></param> <param name="flashVars" value="thumb=http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/FirstFrame.jpg&containerwidth=446&containerheight=190&loaderstyle=jing&content=http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/Bug_insideMultipleFrameStructure.swf"></param> <param name="allowFullScreen" value="true"></param> <param name="scale" value="showall"></param> <param name="allowScriptAccess" value="always"></param> <param name="base" value="http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/"></param>'>http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/"></param> <embed src="http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="446" height="190" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/FirstFrame.jpg&containerwidth=446&containerheight=190&loaderstyle=jing&content=http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/Bug_insideMultipleFrameStructure.swf" allowFullScreen="true" base="http://content.screencast.com/users/nrc75/folders/Jing/media/6efdc068-eb0f-47bc-a28a-49317a026f2e/" scale="showall"></embed> </object>

    Hi François

    Is it possible to get the plugin for LV8.2?yes.gif

    I use this version and JKI RCF is supported from LV8.2.

    thank in advance

    Bjarne

  10. Hi

    I got a problem using a webbrowser in a activeX container.

    As you can see in the attaced VIs, the one with the problem says that there have been changes to the VI when you load it. I you try to save and close it and thereafter open it again, the same story go's on. If you hit "Explain Changes" it tells that there are Cosmetic changes.

    This is not happening to the other VI.

    The differens is that the"good" one is saved without loading a webside.

    It is annoying when you are debugging the VI and if you come to save the VI with a URL in the container, you got the problem.

    WebTest.vi

    WebTest problem.vi

    post-7489-124886590871_thumb.png

    Is this normal or is it a bug.

    If so, is there a workaround for it?

    regards Bjarne

  11. Hi Bjarne

    I just ran the two demo's on my machine running LV 8.6.1 and the difference between the Traditional and the LVOOP implementations is that the LVOOP solution takes 100 msec longer to test 148 boards, each board having 13 tests. So 0.7 msec per board overhead using LVOOP, not too bad

    I tested under 8.2.1 and I get 350 msec to do the 148 tests, so a bit longer, I suspect LVOOP has been optimized a bit since then.

    Note that these tests were performed on my crusty but trusty 5 year old Dell Inspiron 1150 2.4GHz Celeron laptop.

    For me, the benefits of implementing LVOOP would greatly outweigh the performance hit, especially when I wanted to implement new tests and new boards. The code is simpler and self documenting, easier to farm out within a team of developers and easier to debug.

    Hi SciWare

    Thank you.

    It seems to me that it takes longer than 350ms on my PC (HP-NW8440), but if it is faster with LV8.6, the future looks bright for LVoop by me.

    According to my step into oop, I would like to start with a instrument driver for a DMM (agilent 34901A), but to do it right I have considered to make a instrument class that cover all my instruments (then the DMM would be a subClass). I was thinking of something like this:

    Class: Instruments

    SubClasses: DMMs

    SubClass: AG34901A

    SubClass: NI4070

    etc.

    SubClasses: Counters

    SubClass: Agilentxxx

    SubClass: Nixxx

    etc.

    etc.

    Is this the right way

    Does anyone got a oop instrumentdriver they would share (for learning)?

    regards Bjarne

  12. Hi all

    I am starting to look at OOP in LV (8.2.1) and been looking through the examples.

    I wondering why the oop solution in the example "Board testing" is much slower than the traditional solution?

    In my company we would chose the traditional solution regarding to speed!

    regards Bjarne

  13. Folks, there are problems with the latest version - it's giving me errors at the office that it didn't give me at home. Stay tuned...

    Hi jcarmody

    It works fine for me, thank you.

    There is a little thing about the vertical scroll. If you scroll down and then resize the window then you can't see the top cases!

    Another one. when I close the VI where I use the CaseSelector, hte CaseSelector window don't close! Is that the right behavior?

    Regards Bjarne

    post-7489-124869558628_thumb.png

    • Like 1
×
×
  • Create New...

Important Information

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