Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

[Urgent] CWGraph Crash During Runtime

Hi,
 
I am writting an application (with vb6) to control an instrument and display the data set to the NI CWGraph ... After I deployed the program and run it, it crash (after a while) randomly which the graph is plotting - the error given is oleaut32.dll error . Below is the configuration I have:
 
Laptop running the app: WinXP Pro (IBM), 1GB RAM
Data Set Plot: 5000 (total 2 Graphs)
Command to use: CWGraph1.PlotXY dataset (plot every 2 second)
 
 
I did the following thing try to narrow down the problem ...
1. If I disable the line "CWGraph1.PlotXY dataset", my program is running fine.
2. Tried to extend the interval time to 5, 10, 30 second.. the error still occur.
 
ANyone can help? Thank you.
 
 
0 Kudos
Message 1 of 4
(6,868 Views)
Hey hhfei,
 
Can you post an image of the error?  This could be caused by a number of issues.  One being that you don't have a current verions of the oleaut32.dll.  More information about the error would be very helpful.
 
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(6,858 Views)
Hi Sam R.

 
Attached is the error screen shot..
0 Kudos
Message 3 of 4
(6,844 Views)

Hey hhfei,

Ok so a couple of thoughts come to mind.  Either you can send me the code and I can try and reproduce this issue and see what could be causing it.  Or you could reinstall Measurement Studio and see if that fixes it.  Or else you can update the oleaut32.dll. 

Generally when troubleshooting these kinds of errors you can look in the Event Viewer for Windows and see what is going on in this event.  This is in Control Panel/Administrative Tools/Event Viewer and then click on applications.  I'm assuming testvb.exe is the name of the project?  It is the executable that is throwing the error.

Let me know what you would like to do and how I can help.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(6,831 Views)