From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

major error with event structure

Solved!
Go to solution

Im running LABVIEW 13.0 PRO

 

I dont know when this bug strarted happening, but now when I add a case to an event structure. Labview freezes. I have to close labview with task manager.

It doesnt matter what code im working with, even a brand new VI, with nothing but an event structure.

I have tried this on my Desktop PC, My Laptop, and my DAQ CPU.

 

The error occurs on my Desktop and my laptop. But it does not occur on my DAQ CPU.

 

Whenever I click on add event case, usualy you get a popup to configure and add cases, but with the error the popup never comes up and labview locks up.

0 Kudos
Message 1 of 30
(5,147 Views)

Can you please share your code. please down grade your code to LV2011 and share your code.

 

Thanks

0 Kudos
Message 2 of 30
(5,092 Views)
Solution
Accepted by topic author teslaaaa

Theres no code to share, the problem ocured while adding events to an event structure. It occured with any event structure, in any code, all of the time.

I talked to a labview apllication engineer and he suggested deleting the labview.ini file located in labview install directory. I did this and the problem was solved.

Still not sure what caused this to happen.

Message 3 of 30
(5,085 Views)

I'm not seeing this.  Everything works fine for me.  What add-ons and/or tool kits do you have installed on both machines that have the problem but not on the DAQ CPU?

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 4 of 30
(5,079 Views)

All three were installed with same labview version: 13.0f2 (32bit), and all were updated. I am not sure how the labview.ini file got corrupted, but once it was deleted all problems were solved. The labview engineer could not explain the issue and could not find documented history of this issue for anyone else.

0 Kudos
Message 5 of 30
(5,067 Views)

Your reply about deleting the labview.ini file showed up while I was replying.  At least you got it solved.  I'll note this incase I ever have a problem that just all of a sudden starts happening.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 6 of 30
(5,060 Views)

I wonder if that INI file is still in the recycling bin. It sure would be interesting to see what's in it. 😉

 

I think in support should always suggest to make a backup copy to forensic analysis. How else are the going to identify the bug and fix it??

Message 7 of 30
(5,040 Views)

Do check the recycle bin and upload the file if possible.

 

(If I recall, the config reader will stop at the first bad line and return a default for the expected datatype so a bad match in UDCInstallID="xxxx" might do something really funny)


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 30
(5,023 Views)

Here you go.

 

[LabVIEW]
PaletteHidddenControlCategories_LocalHost="Select a Control...;"
PaletteHidddenControlCategories_LocalHost_firstLaunch="Select a Control...;"
PaletteHidddenFunctionlCategories_LocalHost="Vision and Motion;Favorites;"
PaletteHidddenFunctionlCategories_LocalHost_firstLaunch="Vision and Motion;Addons;Favorites;"
IsFirstLaunch=False
RecentFiles.projectPathList="C:\Users\cnorton\Desktop\XY Plot 4.0.0 Source Code - Copy\XY Project.lvproj;C:\Users\cnorton\Desktop\XY Plot 3.0.0 Source Code\XY Project.lvproj;C:\Users\cnorton\Desktop\Labview backup 12-6-13\XY Graph\Project\XY Graph.lvproj;C:\Users\cnorton\Desktop\XY Graph rev3\XY Project.lvproj;C:\Users\cnorton\Desktop\Labview backup 12-6-13\XY Graph rev3\XY Project.lvproj;C:\Users\cnorton\Desktop\2012_LV Core 2\LV2M7_Event Based Design Patterns\Exercise\Print Console.lvproj;C:\Users\cnorton\Documents\LabVIEW Data\Untitled Project 1\Untitled Project 1.lvproj;C:\Users\cnorton\Desktop\Labview backup 10-25-13\Heater test\Heater project.lvproj;C:\Users\cnorton\Desktop\Project rev3\XY Graph.lvproj;\\uskcveng1\HQLaboratory\Norton\Labview programs\XY Graph\Project rev3\XY Graph.lvproj"
GSW_Pinned_Files=""
GSW_filter=0
GSW_Pinned_Templates=""
GSW_Pinned_Templates_names=""
NI_GSWPosition="525,220,1395,821"
QuickDropPosition="2469,458,3108,888"
PropPageBounds="2631;381;3130;842"
ProjectExplorer.ClassicPosition=284,102,1008,877
RecentFiles.pathList="C:\Users\cnorton\Desktop\XY Plot 4.0.0 Source Code - Copy\main.vi;C:\Users\cnorton\Desktop\XY Plot 3.0.0 Source Code\main.vi;C:\Users\cnorton\Desktop\XY Plot 3.0.0 Source Code\Resources\Sub Vi's\Excel Get Data Specified Field.vi;C:\Users\cnorton\Desktop\XY Plot 3.0.0 Source Code\Resources\Sub Vi's\Gen Report.vi;C:\Users\cnorton\Desktop\XY Graph rev3\main.vi;C:\Users\cnorton\Desktop\XY Graph rev3\Resources\Type Def's\Clear Graph.ctl;C:\Users\cnorton\Desktop\2012_LV Core 2\LV2M6_Event Driven Programming\Solution\New Event Handler.vi;C:\Users\cnorton\Desktop\2012_LV Core 2\LV2M6_Event Driven Programming\Solution\Acquire Data.vi;C:\Users\cnorton\Desktop\2012_LV Core 2\LV2M6_Event Driven Programming\Solution\Analyze & Present Data.vi;C:\Users\cnorton\Desktop\2012_LV Core 2\LV2M4_Queues\Exercise\Points Difference.vi"
ShowWelcomeOnLaunch=False
menuSetup="default"
saveFloaterLocations=True
find.viListFlags=4
LastErrorListSize=0,0,379,486
SaveChanges_ApplyToAll=True
ScaledToFitVisible=False
ScaledToFitLocation="140,886,1140,2182"
ScaledToFitWindowState="Standard"
NISearchForceExpand=2
colorHistoryItemA=00FFFA00
WatchWindowPos=282;161;965;1712;263;664;1415;0;0;0;673;454;1091
WatchWindowDoNotAskOnClose=True
NewProj.RecentLocationPaths="C:\USER SOFTWARE\NATIONAL_INSTRUMENTS\LabVIEW 2013\ProjectTemplates\Source\Core\Single Shot Measurement;C:\USER SOFTWARE\NATIONAL_INSTRUMENTS\LabVIEW 2013\ProjectTemplates\Source\Core\Blank Project"
NewProj.RecentTitles="Finite Measurement;Blank Project"
AB_SSE_NoPrompt=True
colorHistoryItemB=00C8BB00
colorHistoryItemC=00808040
IconEditor.FirstLaunch=False
IconEditor.TextFont="Small Fonts"
IconEditor.TextAlignment=00000001
IconEditor.TextSize=00000009
IconEditor.Save3rdPartyTemplates=True
IconEditor.3rdPartyTemplatesFolderName="3rd party"
IconEditor.TextTab.Color1stBodyLine=00000000
IconEditor.TextTab.Color2ndBodyLine=00000000
IconEditor.TextTab.Color3tdBodyLine=00000000
IconEditor.TextTab.Color4thBodyLine=00000000
IconEditor.TextTab.TextFont="Small Fonts"
IconEditor.TextTab.TextAlignment=00000001
IconEditor.TextTab.TextSize=0000000A
IconEditor.TextTab.Options=00000001
IconEditor.FillColor=00FF0000
IconEditor.EdgeColor=00000000
IconEditor.Tool=00000009
IconEditor.ShowLayerTab=True
IconEditor.ShowTerminals=False
IconEditor.SaveLayersWithVI=False
IconEditor.MostRecentTab=00000000
colorHistoryItemD=002A85FF
colorHistoryItemE=00E2E2E2
colorHistoryItemF=0071AAFF
colorHistoryItemG=00FFFF20
colorHistoryItemH=00FFFF00
colorHistoryItemI=00000000
DontShowProjectRemoveDialogNonFile=True

NIERShowNonFatalDialogOnExit=true
NIERNonFatalAutoSend=false
NIERSendDialogClose=false
LLBMgr_RecentPath="C:\Users\cnorton\Desktop\2\Simple Test Station - Design 4.llb"
LLBMgr_ActivePlugins=""
NewDlgRecentMainTemplates.pathList="C:\USER SOFTWARE\NATIONAL_INSTRUMENTS\LabVIEW 2013\templates\Frameworks\DesignPatterns\ProducerConsumerEvents.vit;C:\USER SOFTWARE\NATIONAL_INSTRUMENTS\LabVIEW 2013\templates\Frameworks\DesignPatterns\UserInterfaceEventPattern.vit;C:\USER SOFTWARE\NATIONAL_INSTRUMENTS\LabVIEW 2013\templates\Frameworks\DesignPatterns\StandardStateMachine.vit"
NewDlgSmall=False
NewDlgCollapsed="3F7CF7A8-5E4D-4EDC-AA25-FA4A326988EF"
NewDlgLastSelected="77E350A8-F9AA-43FF-85E2-454279EBB9A7/Frameworks/DesignPatterns/ProducerConsumerEvents.vit"
NewDlgRecentTemplates.pathList=""
NewDlgBounds="800;503"
NoAdvice070=",FlatSequence"
colorHistoryItemJ=0000FF2B
colorHistoryItemK=00FF0049
EditEventsDlgSize=327,-1045,913,-265
NewProjectSpecPagePath="C:\Users\cnorton\Documents\LabVIEW Data\Untitled Project 1"
NIERRelaunchOnCrash=true

Message 9 of 30
(5,010 Views)

EditEventsDlgSize=327,-1045,913,-265

seems odd  "Left Top Right Bottom" puts the dialog above screen


"Should be" isn't "Is" -Jay
Message 10 of 30
(4,996 Views)