LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Waveform Attributes, LabVIEW 8.5 Freezes

Solved!
Go to solution

I have 6 LVDS cards, 16-channels per card.  i'd like the user to select a subset of the 96 channels available for display.  The attached code causes my pc to freeze.  Not always, but sometimes when I switch between channel selections.  Select either Chevron1(24-channels),  Chevron2(24-channels),  Chevron3(24-channels) High-Power(3-channels) or enter your own channels as string 1 to 96.  

 

This problem may be connected with the known digital waveform attributes bug.  My code is hopefully self explanatory.

See post http://forums.ni.com/ni/board/message?board.id=170&thread.id=349313

for details of the frig used in the attached code.

Download All
0 Kudos
Message 1 of 11
(4,387 Views)

Hi bmann2000,

 

Could you possibly send me the "Channel String to Integer.vi" so I can attempt to replicate the issue? When LabVIEW Freezes, does the whole PC freeze or just LabVIEW? Do you get any *.cpp errors on reboot and does LabVIEW offer to recover your files after restart? 

 

I shall keep looking at this,

 

Thanks,

Andrew McLennan
Applications Engineer
National Instruments
0 Kudos
Message 2 of 11
(4,367 Views)
sorry, I should have attached 4 VIs.
Download All
0 Kudos
Message 3 of 11
(4,347 Views)
these two, plus last two VIs should give you the full set.
0 Kudos
Message 4 of 11
(4,345 Views)
it is just LabVIEW that crashes, the VI freezes and if you try to switch to the diagram you get (not responding) appear in brackets on the title of the VI window.  If you then try to close the window, you get the End Process dialog box, you select End Now, and LabVIEW drops away from view, this often takes a minute or so, as the PC is almost locked.  If the VI was not saved, you will sometimes get the recovery option when you next start LabVIEW.
0 Kudos
Message 5 of 11
(4,343 Views)

Hi bmann2000,

 

This was reported to R&D (#130294 CAR ID) for further investigation. I am currently looking at a workaround.

 

Thanks for the feedback!

Andrew McLennan
Applications Engineer
National Instruments
0 Kudos
Message 6 of 11
(4,334 Views)

Hi bmann2000,

 

I think I have a workaround for you. 

 

Firstly, open a blank VI and place a digital signal graph on the front panel. Save this VI but in labview 8.2. Reopen the VI which is hanging and delete the digital waveform  graph indicator. Open the 8.2. file that you created and  copy this indicator into the VI that was hanging. Replace the local variable and reference. You should now be able to run the VI without any problems. 

 

Admittedly, the front panel no longer looks the same, but it should now run. 

 

I have attached the 8.5 version that I edited for you to review. Please let me know how you get on.

 

Thanks,

Andrew McLennan
Applications Engineer
National Instruments
0 Kudos
Message 7 of 11
(4,318 Views)

Hi Andrew,

 

Thanks for the quick replies.  Using the Digital Signal Graph from 8.2 does solve the freeze problem, but it take us back to the original problem.  96 channels of digital data which the end user must interpret in context.  This may not be a show-stopper for me, as this is an intermediate stage of data processing, but it would be nice to see a fix/patch to allow the channel attributes to be re-named and processed by the Digital Signal Graph without LabVIEW falling over.

 

Current Result:

 

Desired result:

 

Message Edited by bmann2000 on 10-22-2008 11:57 AM
0 Kudos
Message 8 of 11
(4,300 Views)
Solution
Accepted by topic author bmann2000

Hi bmann2000,

 

I don't think we'll be able to get the 8.6 control to work as you wish because of the CAR. However, I do have a suggestion that I've attached to this post. I used a String array to create indicators based on your original logic. It isn't as neat or tidy as your desired result but I think it could be a solution. Attached is a screenshot. The VI is saved in 8.5. despite the filename to the contrary.

 

Let me know what you think,

 

 

Andrew McLennan
Applications Engineer
National Instruments
Download All
0 Kudos
Message 9 of 11
(4,262 Views)
many thanks, create array workaround does the job.
0 Kudos
Message 10 of 11
(4,252 Views)