Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

FiilTo base, LineToBase, PointStyle doesnt work properly

Hello,
please, could You give a hint or answer....
Im using classical CheckBox for controlling following code:

void CCallThemView::OnBnClickedCheck15()
{
    if(m_RunEcgCtrl.GetCheck()==1)
    {
        m_ECGgraph.Plots.Item("Plot-1").FillToBase = TRUE;          
        m_PMpulseGraph.Plots.Item("Plot-1").FillToBase = TRUE;
        m_RpulseGraph.Plots.Item("Plot-1").FillToBase = TRUE;
        m_ECGgraph.Plots.Item("Plot-1").FillColor = RGB(0, 0, 128);         
        m_PMpulseGraph.Plots.Item("Plot-1").FillColor = RGB(0, 0, 128);
        m_RpulseGraph.Plots.Item("Plot-1").FillColor = RGB(0, 0, 128);
    }
    else
    {
        m_ECGgraph.Plots.Item("Plot-1").FillToBase = FALSE;          
        m_PMpulseGraph.Plots.Item("Plot-1").FillToBase = FALSE;
        m_RpulseGraph.Plots.Item("Plot-1").FillToBase = FALSE;

    }
}

My problem is that the program is sometime frozen. It issue from this function. I'm sure.  How can I secure and hold the program to work properly? Where is the problem?
I'll be glad for any help...
Thank you.
Emta
0 Kudos
Message 1 of 5
(3,737 Views)
Hi Emta,

There is a known issue with some of the older versions of the .ocx when using the FillToBase property.
I've attached a hot fix that has taken care of the problem in the past. Give this a try and let us know if you are still having problems.

Thanks Emta, have a good one!

Dan Weiland - Applications Engineer - National Instruments

Dan Weiland
0 Kudos
Message 2 of 5
(3,718 Views)
Hello,
Im so sorry. It doesn work.

Error message cwui:
Error loading control.  A newer version needed. The default settings for the control will be used.

I cant kill this message window. I cant continue with this version.

Im using Measurement Studio version 7.1.0.306 with MSDE 7.1.3088
MS. net framework 1.1.4322

Thanks for advice.
Emta
0 Kudos
Message 3 of 5
(3,706 Views)
Hi Emta,

    This error usually pops up when moving an application from one computer to another, but the two computers have different versions of Measurement Studio installed. Basically the original version of the control and the version currently installed on the computer do not match.

Has this been the case in the past? Or is the only update to the controls you've installed the hotfix that was attached to the last forum post?
Also is this an error that's coming up during deployment, or are we still in the development stage?

Thanks Emta

Dan Weiland - Applications Engineer - National Instruments
Dan Weiland
0 Kudos
Message 4 of 5
(3,692 Views)
Hi Emta,

    Try downloading the following Measurement Studio updater and running that. It should take care of the problem.

http://digital.ni.com/softlib.nsf/websearch/2AAC97491D073A6C86256EEF005374CE?opendocument&node=132060_US

Thanks Emta, have a good one!

Dan Weiland - Applications Engineer - National Instruments


Dan Weiland
0 Kudos
Message 5 of 5
(3,684 Views)