Problem of digital slides

Hello

One day, I have problem on a digital slide. I use this slide in a loading window.

The slide seems fine form 0 to 100, but when returning to 0 I see a dark line at the right position, but the blade is fully complete:

I use this code:

static int CVICALLBACK Banner_TH (void *functionData)
{
    int i =0;

    do
    {
        if (i>=100)
        {
            i = 0;
        }
        else
        {
            i=i+1;
        }
        SetCtrlVal (panel_Handle,LOAD_PAN_WAIT ,i );
        ProcessDrawEvents ();

        Delay(0.1);
    }
    while(!_stopThread);

    HidePanel( panel_Handle ); 

    return 0;
}

and this one call:

SetCtrlVal (panel_Handle,LOAD_PAN_WAIT ,0 ); 

    //Start Banner in thread
    _stopThread = 0;

    CmtScheduleThreadPoolFunction (DEFAULT_THREAD_POOL_HANDLE,
                                   Banner_TH, NULL,&_threadID );

If someone has an idea?

Thank you

I can't think about a problem when updating a control in a thread that Dow clean the Panel where control.

You could PostDeferredCall in the thread of a function that updates the control by passing the value function callbackData: delayed recall is executed in the main thread, which is the one that normally manages the user interface, unless you have loaded the Panel in the separate thread (which do not).

Tags: NI Software

Similar Questions

  • Problems with a digital slide switch.

    Hi all

    First off thank you in advance for your help.  Here's a description of my problem.

    I try to use a digital slide switch to adjust my z-scale on a graph of intensity.  I use several images to create a high dynamic range (HDR) image and having a slide for my z-scale to adjust it on the fly is much easier to use then manually punching in numbers.  My problem is that I'm covering about 7 or 8 orders of magnitude from min to max in my z scale.  So I need, in order to see all the data in the HDR, the slide image to cover the range of the min max value of the image.

    When I put the mapping scale logarithmic slide, so I can more separation in the values and see and scale through the easier lower end, scaling is automatically truncated to onle 3 orders of magnitude.  This does not work for me, is there a way to fix this?

    Example:

    When I put the scale to be the minimum and the maximum of z on the graph of the intensity scale in the slide.  I have values of z scale 2.47E + 7 to the max and the min 0.  The maximum value on the scale of the slide = 2.47E + 7 and the min value = 2.47E + 4.  I need the minimum value is 0.

    Thank you once again,
    ~ Daniel DeWitte

    Daniel,

    Log (0) =?  Exercise left for student.

    Try to set the property Z Scale.Minimum a small positive value such as 0.1 or 0.001.

    I created a slider and a digital control.  The minimum slider is set to zero. The CNC is an integer ranging from 0 to 20. The maximum cursor is 10 ^ (numeric). The cursor is wired for the graphic intensity ZScale.Maximum property node.

    Works very well.

    Of course, I would put the changes in a structure of the event instead of writing to the nodes property on each iteration of the loop.

    Lynn

  • Handle mouse up on digital slider control - even when the mouse leaves the control.

    I have a stumper here:

    I have a slider control digital I want to reset to 0 when the user released the mouse button when you drag the control - sort of a physical joystick response where the stick back toward the Center by releasing.

    I am able to be a part work by managing the mouse event and setting the value of the control to 0. But the mouse never an event only occurs if the user drags the slider control and leaves the cursor of border control - and release the mouse when the pointer is out of control. In this case, the value of the slider is preserved and the mouse an event doesn't happen ever regarding the digital slider.

    Any help is appreciated.

    Al

    Try using the pane-> mouse event to the top instead.

  • keyboard problems - some digits.letter do not work

    keyboard problems - some digits.letter do not work,

    Hi chrisUC,

    ·         What happens when you try to access these numbers and letters?

    ·         You get the error message?

    ·         What is the brand and model of the keyboard?

    ·         Using a laptop or desktop?

    Follow the steps in the article.

    Troubleshoot wired keyboards that do not or only the erroneous characters category

    http://support.Microsoft.com/kb/258826

    Troubleshoot the incidents of the response to the mouse or wireless keyboard

    http://support.Microsoft.com/kb/838398

  • Digital slides: fill options

    In LabVIEW digital slide has the property ' Options to fill "that can be set to

    • Complete at least
    • Fill to the Maximum
    • ...

    I have not been able to find this kind of property for a slide CVI, which always behaves "Minimum fill" mode.

    I managed to get a similar to 'Fill up' behavior by changing the colors of the frame and filling, but this could only be a partial solution...

    Is there a way to change the fill mode?

    The correct attribute to SetCtrlAttribute is ATTR_FILL_OPTION, with possible values VAL_NO_FILL, VAL_TOP_FILL, VAL_BOTTOM_FILL, VAL_RIGHT_FILL and VAL_LEFT_FILL.

  • Problem with digital I/o read and write in CVI

    I have a PXI with PXI 6225 Renault installed box. For some uses, I wired 4 lines of digital port 0

    for its 4 top lines so that the output digital on bottom lines can be read as a digital input on the top lines.

    In the CVI program I have set up two input and output of tasks as follows:

    Enter task:

    DAQmxCreateDIChan (digitalInputTask, "PXI1Slot5/port0 / line4:7","InputLines", DAQmx_Val_ChanForAllLines ");

    DAQmxCfgSampClkTiming (digitalInputTask, ' AI/SampleClock ", 4000, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 2000" ");

    Output task:

    DAQmxCreateDOChan (digitalOutputTask, "PXI1Slot5/port0 / line0:3","OutputLines", DAQmx_Val_ChanForAllLines ");

    DAQmxCfgSampClkTiming(digitalOutputTask,"ai/SampleClock", 4000, DAQmx_Val_Rising,DAQmx_Val_ContSamps, 2000));

    DAQmxCfgOutputBuffer (digitalOutputTask, 2000);

    I also started a task of analog input to ensure that the analog "IA/SampleClock" sample clock is running, and I check

    as I interpret the correct analog data of my analog lines.

    Here's the problem:

    I write 2000 identical samples of zero for the 4 lines (port0/$line0... (3) with the following command:

    DAQmxWriteDigitalU32 (digitalOutputTask, 2000, 1, 10, DAQmx_Val_GroupByChannel, sampleArray, & writing, NULL);

    After a while, I try to read the 4 lines (port0/4... (7) using the:

    DAQmxReadDigitalU32 (digitalInputTask, 2000, 10, DAQmx_Val_GroupByChannel, scanArray, 2000, & read_num, NULL);

    but the values returned in scanArray are nil!

    If I replace the digitalInputTask by digitalOutputTask in the above function call, I get the good samples rewritten

    (do not know how the 4 lines below that are configured in output mode can be read back! could it be just read buffer?)

    I don't know that the hardware configuration is correct, because when I try to emulate this feature in Labview, it works.

    (I use an output data acquisition assistant to write down the 4 lines of port 0, using a digital wave of entry, then)

    top reading 4 lines with the help of one Assistant DAQ to enter a digital waveform VI.

    In another test, I have 4 lines below in CVI, put on stop my CVI program, start a simple Labview VI to read from

    upper 4 lines and I can see the values I just write in CVI).

    Any idea what could be causing DAQmxReadDigitalU32 to read only zeros in CVI?

    I compared my settings in CVI with parameters DAQ assistant in Labview and tried to make them identical, but nothing helped.

    Thank you

    Try to use these examples to see if you can read and write in CVI

  • Digital Sender Flow 8500 fn1: problem scanning Digital Sender Flow 8500 fn1

    Digital Sender Flow 8500 fn1

    Firware in Version 3.5.1

    Review 2305090_000455

    Firware date 20150609

    FutureSmart level 3

    We have a new unit of fn1 8500 which was in place and applied flawless for a little more than a month. The device is on the network and configured for functions of scanning network (for the email, to the network folder).

    This morning all the scans are now show up looking like barcodes (see attached examples). The device worked well yesterday. There are no configuration changes, no modifications, no movement of the device. We tried analyses to aid the ADF and flat on the scanner with the same result.

    I also tried backup to FutureSmart level down to 2 without changing the result.

    For everything else, it seems fine. We can access it through the network, we have access to the web administration, etc.. We have done extensive research on the Internet and haven't found anything to match it.

    Someone at - it ideas? Or should turn us to a warranty replacement?

    If its warranty you need to contact HP technical support immediately. It seems that your scanner Control Board is a failure, there is also a chance, this could be the real analysis.

    I am certified on this model, but never got a call from service itself, so I couldn't tell you if or not I can get parts to fix it or just overall.

    If my post is solved your problem and click the accepted as button solution under him.

    In order to thank a technician for a post click the thumbs up button under the post. You can even click on the two buttons.

  • Problems of digital output

    Hello everyone,

    I tried to encode a subroutine which produces a TTL trigger signal. When I first got to test vi, which is smaller then the one that I need to insert in, everything worked fine. After that I inserted this subroutine in an original program, I received the following message:

    "200429 error occurred write DAQmx (Bool digital 1Line 1 point) .vi:3.

    Possible reasons:

    Vital statistics: Value passed to the control In task/channels is a string vacuum (or IO control).

    The value must reference a valid task or valid channels. »

    I tried to understand the reason why I get this message, but apparently with no luck.

    The way how the program should work as follows, I created a structure of matter inside while loop to be able to collect data manually or automatically.

    For > case, I placed a switch that should turn on to trigger with option 'writing on a file', which record details of charge/engine unit.

    For > case I wanted to create a threshold, which lights up >, otherwise do nothing.

    I have a feeling that there is a logical error and I am not completely following how the stream should be organised in the presence of several structures.

    I hope someone with a good eye on this kind of problems can give a helping hand.

    Thanks in advance

    Oleks

    You disable the task on the first iteration of the do-while loop. Place the clear task DAQmx outside the while loop. Have a look at the examples supplied with LabVIEW.

  • Close up lens for copied to digital slides

    I would use a Canon 500 d or 250 d close up lens with my 18-55 II or EFS EFS 55-250 II on a Rebel T3 to copy slides to digital.  Has anyone tried one of these combinations with success?

    I was paying too much attention to your question abou the 250 d and 500 d I missed the original topic - you want to scan slides.

    (a) a close-up filter is not appropriate.  Only a true '1:1 ' objective macro scale can do (for example the Macro USM lens EF-S 60mm f/2.8)

    but...

    (b) do not buy a goal for work of scanning... use a film scanner... a real film scanner.

    You could also...

    (c) consider all this sends to a service of analysis rather than yourself.  They are likely to have the best equipment and more experience.

  • Error Message - Windows Media Player cannot play this DVD because there is a problem with digital copy protection

    I received the following message when trying to play a DVD:Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD drive decoder and video card protection. Try to install a driver available for your video card. I'm confused that nothing has been changed, added, or updated my system up-to-date. I am running Windows 7 Premium home 64-bit edition. DVD plays fine on my laptop with the same operating system.

    CORRECTION OF THE PROBLEM.

    I can confirm that it is a matter of the DVD CSS protection. MediaPlayer, being unable to decrypt the DVD protection.

    Googled around for "DVD43". The installation program will install a driver that will successfully decrypt DVD protection and will allow you to PLAY the DVD MOVIE ONCE AGAIN!

    Well, that's an alternative. All what I can say is that Microsoft Media Player is broken!
  • Problem with lightbox: slide show does not open when you click on the photos

    Nice day!

    I added several pages to my website with viewers.

    In a few pages, the slide show was under the footer... and in others, when I click on the thumbnail, the slide show does not open...

    Where could be the problem?

    Thanks for your help!

    Opens the slide show does not, is very odd.

    What do you mean by "beneath" ? The content of the album will always focus in the middle horizontal and vertical of the browser (not on the exact spot where you have put it on the page of Muse). Who is?

    Please publish your website online to test. Just press "Publish" and let the Muse to assign a temporary address for her. share this link with us.

  • problems of digital editions

    After experiencing the problems many and various error messages, I have a few recommendations. NUMBER ONE. before you try to authorize the latest digital editions on a windows 7, visit the Adobe Web site and create an Adobe account! THEN allow the computer to this account ID. If you allow the computer WITHOUT the Adobe account, they say actually you can ' t connect from there to a portable device. " In my recent experience I could not even properly use Digital Editions by itself on the computer. Now if you are reading this because you allowed without an account EXISTING and have to fix problems using help information notes from Adobe is doing. FIRST create an Adobe account on their site. THEN

    uninstall Digital Editions and use the regedit command to delete the data information of programs under HKEY_CURRENT_USER, Software, Adobe. Not only digital editions, but the so-called Adept should be deleted. After I did that, I reinstalled the digital editions and was able to authorize using my existing Adobe ID and password. I then downloaded a new book from the library and it worked. I think the problem may be to try of origin allow without an existing Adobe ID and password. If you do this, it seems impossible to go back and reauthorize with ID, unless you erase everything.

    This fix probably works on other versions of windows as well.

    moved download, installation, commissioning to Adobe Digital Editions

  • Problem opening Digital Editions

    I installed the Adobe Digital Editions software. In the middle of installation it prompted me to download and install 35 Pluzz.fr for Windows XP. I did this and also installed 3 updates for the Pluzz.fr. This allowed me to install Digital Editions. But when I tried to open the program, I got this error message that says "Adobe Digital Editions has encountered a problem and needs to close." This allowed me to send an error report to Microsoft. What should I do next?

    Windows Update has sent some overnight and installing seemed them to fix the problem. Thanks for your concern.

  • Problem reading the slides

    Hello.

    I'm having a problem when I play a slide (either by using the SPACEBAR or F3). When I press the space bar, the Red progress line becomes very agitated and jumps. The problem occurs in each slide in that one particular file.

    The file has been recording with:
    Create another type of film - Virgin movie
    callout text boxes are Transparent or Cosmos font Arial.
    audio is recorded directly in the callout text boxes (CD quality)
    the first slide uses a legend of animating text using the font Bodoni Poster, size 48
    almost every slide has a Transparent using fonts Bodoni Poster, size 24
    Cadence is 30
    and the images are either simple copy and glue paint or .jpgs.

    I have saved a number of lessons and have never encountered this. Most of the lessons I've recorded previously were new movie Record - full screen and not create another type of film - Virgin film.

    There seems to be no performance issues when the video is played, just during playback of the slide - it's time a pain.

    I am using Captivate version 1.

    Any help or idea would be highly appreciated.

    Thank you
    Anita

    I discovered the source of the problem!

    My legend text boxes are Transparent. If I use another type, the slide is fluid but it hiccups to Transparent.

  • Problems of digital input PCI-6143

    I hope it's good advice. I asked in software digital I/o and LV advice because I didn't know if it was etc. MAX, material. No one has all the answers. Before you fight on the repeated posting please reallize that my messages were for 5 days and the only questions answers to which I responded later.

    Card PCI-6143 bed not any signal PFI and yet he successfully uses the PFI signal to trigger the meter on board. All of the lines indicate a high signal although there is none. What does that mean? This indicates a Board fried or are there other possible answers. I had suspected MAX but I plugged my PCI-6211 and it works fine. This test through MAX test panels.

    Help, please.

    Hi Walter,

    I posted a response to your thread in the forum DIO.

    Brad

Maybe you are looking for

  • Do I need anti virus on my new macbook air

    I'm a newbie when it comes to Macbooks, although I had an iPhone and an iPad for years. I bought my Macbook Air last week, and before that I've never used Windows. I'm in love and of course always get the hang of it all, but does have the anti-virus

  • Help - can't get the firmware to install WRT54GL ver 1.1

    Hi everyone, I spent and openwrt 2.4 and now you want to put the linksys back on. I followed all the instructions and just can't get it to happen - what am I doing wrong 1. the unit is in safe mode - by pressing reset after power cycling the unit wai

  • the spldr.sys file is missing!

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Get a message at startup which spldr.sys failed to load.  Have looked in System32, but it cannot see here - could it have been deleted and if so

  • To install my card XD my camera to get the pictures on my pc, it has stopped working

    I used to install my photo card XD in the slot on my computer laptop to transfer photos, recently it stopped working for me telling me that I have to get the version of microsoft .net framework 2.0, when I try to download it it says so it cannot be i

  • Server does not support the SSL connection

    What is an SSL connection and how do we correct this problem?