LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed Graph - Multi Plot Cursor Problem

If I plot both Analog Waveform and Digital Waveform in a single Mixed Graph, and when I choose watch all plots in cursor legend, LabVIEW crashes with an error message.....

 

I have also attached  the Print screen image of that Error

 

 

0 Kudos
Message 1 of 7
(3,308 Views)
Rajaa,
 
I have a few questions for you:
 
1. What version of Windows/LabVIEW are you using?
2. Does this only happen in the one VI/Application or can you make it happen in multiple VI's?
3. What are you doing in your code? (a generic question, I know) Are you making any driver calls? Are you calling any DLL's?
4. Does it crash when you have highlight execution on?
5. When you restart LabVIEW, do you get a message popup asking if you want to investigate an internal error?
 
There may have been an error log that can help us. If you follow the instructions in this article:
 
 
Additionally, could you post your VI so that I could try reproducing the issue on my end?
Regards,

Jared Boothe
Staff Hardware Engineer
National Instruments
0 Kudos
Message 2 of 7
(3,288 Views)

Jared Boothe,

 

         Thank You for your reply

 

         I am using LabVIEW 8.2.1. This problem occurs both in run mode and debug mode of a VI(while choosing multi plot cursor to watch all plots).

 

         I need to display both analog and digital waveform in a single graph and allow the user to analyse the graph data using multi plot cursors.

 

         It also crashes when highlight execution is on.

 

         But when I restart the LabVIEW,  I don't get any popup message asking if you want to investigate an internal error.

 

         I have attached the VI, that produces an error.

 

Regards,

 

Raja

Project Engineer

Soliton Technologies

0 Kudos
Message 3 of 7
(3,254 Views)

Raja,

 

Thank you for posting your VI.  It looks like this was indeed a bug in both LabVIEW 8.2.1 and 8.5.1.  This has since been fixed in LabVIEW 8.6.  It was originally filed under CAR ID 100334.  Unfortunately, there is not currently any workaround for this bug aside from using 8.6.

Regards,

Jared Boothe
Staff Hardware Engineer
National Instruments
0 Kudos
Message 4 of 7
(3,241 Views)

Jared Boothe,

 

           I found a solution to overcome that error.

 

           Build all the array data at first and then generate digtal waveform in single instance.

           ie., With number of numerical array data, build a 2D array of numerical data and make a transpose and then generate a waveform.

           It generates number of digital waveform equal to that of the column size of 2D Array.

 

           Do not build generated digital waveforms. This creates an error while using multi plot cursor--> watch--> All plots.

 

           I have attached the modified, error free Vi with this message for your reference.

            

 

Regards,

 

Raja

Project Engineer

Soliton Technologies

www.solitontech.com 

0 Kudos
Message 5 of 7
(3,221 Views)

Raja,

 

This will get the cursor to appear and the VI to not crash, however, the data is not correct.  The graphical representation looks good, but, the data in the Cursor Legend is not correct.  Also, if you look at the 'x' marker on the cursor on the digital waveform, it never changes with the data.  So, while the error does not appear, you cannot even really use the cursor as it is intended to be used for the digital aspect of the graph.

Regards,

Jared Boothe
Staff Hardware Engineer
National Instruments
0 Kudos
Message 6 of 7
(3,203 Views)

Jared,

 

        Thank you for your reply.

        Somehow I managed that problem programatically

 

 

Regards,

 

Raja 

0 Kudos
Message 7 of 7
(3,192 Views)