10-16-2008 10:53 AM
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.
Solved! Go to Solution.
10-17-2008 08:57 AM
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,
10-20-2008 03:33 AM
10-20-2008 03:35 AM
10-20-2008 03:46 AM
10-20-2008 05:56 AM
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!
10-21-2008 11:10 AM
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,
10-22-2008 05:51 AM - edited 10-22-2008 05:57 AM
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:
10-23-2008 04:21 AM
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,
10-23-2008 07:04 AM