Jump to content

Ton Plomp

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Ton Plomp

  1. Why do you have to?

    Are you addicted to LabVIEW and solitare?

    Sounds like homework.

    The examples shipped with LabVIEW have some input for this (look for dynamic mouse). The first thing to do is create your rules and some code to store the different modes the game can be in.

    Ton

  2. Hello everyone. The simple measurement. (Single measurement AC Voltage). Why the DMM takes so much computer resources? 52% of the CPU.

    And when run DMM Soft Front Panel CPU is not more than 2%.

    I use the example from NI examples folder. What is wrong?

    Add a wait of 100 ms to the while loop.

    Be glad you have a dual core, on a single core this would take 100%

    Ton

  3. If you are going to make your own copy VI, the following should be the fastest:

    1. Read original file size
    2. Create target file
    3. Set target file size to original file size
    4. Read chunks in multiples of Sectors (1024?)
    5. write these chunks to the target file

    (this is only neccesary if you want a queue).

    As far as I'm concerned there is no copy.vi, there is only a copy primitive (or am I absolutly mistaken)

    Ton

  4. Hi all,

    i am beginner in labview. Can anyone help me byy giving a labview project for my assignment as a part of the course i am doing...

    Hi Prince,

    I find this a very good approach, for such a task, looking up some help for a direction, good idea thumbup1.gif .

    What course are you in and at what level (please describe the level, since I'm from the netherlands I'll propably have a hard time understanding non-dutch school systems).

    What direction are you studying?

    -computer sciences

    -physics

    -chemistry

    -.....

    It might be usefull to post the assignment text you got from your profressor so we help you decide what kind of task you need. Do you have some hardware and sensors you must or may use?

    Perhaps you can help with some open source labview projects!

    Ton

  5. but this address is a local .

    maybe i must change "mypc" to current ip address like 82.210.125.150??

    Yes you should, or you need some valid internet DNS address.

    However when I try to go to 82.210.125.150 I get nothing, if you are connected through a switch you should use port-forwarding to get the incoming port 80 on your computer.

    Contact you sysadmin, or if you are the sysadmin read your switch documentation. Be aware that you should not open unnessecary ports.

    Ton

  6. I'm extracting the DFT from a signal I am acquiring from one of the HS Digitizers (USB). The niScope auto-setup does ok, but I could really do with more resolution on my DFT.

    I've tried to increase the number of min samples, however it seems to just increase the sampling rate so the actual time sampled stays the same. I can't find a way to set the max sampling rate, only the minimum.

    The current flow is

    Auto Setup -> Change Property (Min Samples) -> Measure Waveform

    What magic order do I need to set this?

    What type do you use? and is there some online documentation?

    Ton

  7. Love those humongous graphics... tongue.gif

    PlotArea functions just resize the plot area (the black part) not the whole graph (the outside grey part).

    Strange, it works for me (LV 2009 and with a graph):

    <object id="scPlayer" width="741" height="503"> <param name="movie" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/jingswfplayer.swf"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/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/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/FirstFrame.jpg&containerwidth=741&containerheight=503&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/2010-05-20_2145.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/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/"></param> <embed src="http://content.screencast.com/users/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="741" height="503" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/FirstFrame.jpg&containerwidth=741&containerheight=503&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/2010-05-20_2145.swf" allowFullScreen="true" base="http://content.screencast.com/users/TonPlomp/folders/Jing/media/9ae3148f-d7a9-4255-91d8-ee0e1c48dfac/" scale="showall"></embed> </object>

    Ton

  8. When I add a quote to the mix after the images, then I get a hypertext reference where I wanted my images and now my images are added at the bottom of the post.

    The hypertext is the bug.

    The image being appended is a feature of the forum software. Any attached image that is not used in the post is automagically shown.

    Ton

  9. asbo - you are right there are two ActiveX automation calls.

    update:

    So it turns out ( so far :) ) that problem was with couple of data indicators on the front panel. As soon as I removed them problem went away. There wasn't anything special about those indicators, they were around some dials on the tabbed panel. Not sure how/why that would influence strange window behavior, but it did....

    What style were those indicators? 3D (modern) and were they overlaying other indicators/controls/GUI elements?

    I think the latter is most likely the cause of your slowdown.

    Ton

  10. Just make sure you only do one event per Event Registration Refnum when bundling the Event Registration Refnums into a cluster. I originally tried to group "sets" of events this way and revealed a bug. But, the way Ton has displayed will work since he just has 1 event (in this case, user event) per Event Registration Refnum.

    Could you provide more info on this bug?

    What are the exact limitations?

    ton

  11. I think the problem is that the source is not a file, it appears to be a script.

    Right - it's not an image,

    I don't think this is a problem with hot-linking so much as LAVA's software trying (stupidly) to authorize image URLs only by extension -

    It's defenitley an image, because a simple HTTP GET returns a datastream that can be saved to disc and read by LabVIEW PNG routines. It's probably bad form by NI not to include an extension at all.

    Ton

×
×
  • Create New...

Important Information

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